iv123 lin
/
connected-lights
sample_pir-lights_rgb
Diff: webapp/views/partials/device.html
- Revision:
- 0:7a352727249b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/views/partials/device.html Sun Jun 18 10:14:56 2017 +0000 @@ -0,0 +1,12 @@ +<li data-endpoint="{{name}}"> + <div class="color" data-value="{{rawColor}}" style="background-color: {{color}}"></div> + <div class="right-col"> + <p class="endpoint change-endpoint-name">{{name}}</p> + <p class="timeout">Motion timeout: <a href="#" class="change-timeout">{{timeout}} seconds</a></p> + <div class="status"> + <div class="change-status {{motionClass}}" data-action="0">Motion</div> + <div class="change-status {{onClass}}" data-action="1">On</div> + <div class="change-status {{offClass}}" data-action="2">Off</div> + </div> + </div> +</li> \ No newline at end of file