Skip to content
Permalink
Browse files

Update devices_old.html

  • Loading branch information...
directman66 committed Jun 14, 2019
1 parent 9c6c1ef commit 834bb88dbf13fe39c01aeabd5cab79cd991c2ae9
Showing with 12 additions and 13 deletions.
  1. +12 −13 templates/zigbee2mqtt/devices_old.html
@@ -19,20 +19,19 @@
-->


<div class="col-md-3">
<select class="form-control" name="viewtype" onChange="document.frmList_mqtt.submit();">





<option value="[#ID#]">Устройства
<option value="[#ID#]">Группы
<div class="col-md-3">
<select class="form-control" name="vid_id" onChange="document.frmList_mqtt.submit();">
<option value="0"[#if VID="0"#] selected[#endif#]>Фильтр по типу устройств (<#LANG_ALL#>)
<option value="1"[#if VID="1"#] selected[#endif#]>Устройства
<option value="2"[#if VID="2"#] selected[#endif#]>Группы

</select>
</div>



<div class="col-md-3">
<select class="form-control" name="type_id" onChange="document.frmList_mqtt.submit();">

@@ -161,20 +160,20 @@
[#if CHANGEABLE="1"#]
<br>
<left><small>
<a href="?view_mode=device_on&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>" title="<#LANG_EDIT#>"> ON </a>
<a href="?view_mode=device_off&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>" title="<#LANG_EDIT#>"> OFF </a>
<a href="?view_mode=device_on&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>&vid_id=<#VID#>" title="<#LANG_EDIT#>"> ON </a>
<a href="?view_mode=device_off&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>&vid_id=<#VID#>" title="<#LANG_EDIT#>"> OFF </a>

</small></left>
[#endif#]

[#if CHANGEABLE="2"#]
<br>
<left><small>
<a href="?view_mode=device_on&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>" title="<#LANG_EDIT#>"> ON </a>
<a href="?view_mode=device_off&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>" title="<#LANG_EDIT#>"> OFF </a>
<a href="?view_mode=device_on&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>&vid_id=<#VID#>" title="<#LANG_EDIT#>"> ON </a>
<a href="?view_mode=device_off&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>&vid_id=<#VID#>" title="<#LANG_EDIT#>"> OFF </a>
|
<a href="?view_mode=device_on_right&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>" title="<#LANG_EDIT#>"> ON </a>
<a href="?view_mode=device_off_right&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>" title="<#LANG_EDIT#>"> OFF </a>
<a href="?view_mode=device_on_right&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>&vid_id=<#VID#>" title="<#LANG_EDIT#>"> ON </a>
<a href="?view_mode=device_off_right&id=[#DEVID#]&tab=&location=<#LOCATION_ID#>&type_id=<#ZIGBEE2MQTTDEV#>&vendor_id=<#VENDOR#>&vid_id=<#VID#>" title="<#LANG_EDIT#>"> OFF </a>

</small></left>
[#endif#]

0 comments on commit 834bb88

Please sign in to comment.
You can’t perform that action at this time.