Skip to content
Permalink
Browse files

Update devices.html

  • Loading branch information...
directman66 committed May 21, 2019
1 parent 610d62c commit 79774f0dd78963541db45ca6f3390f0bfde203c8
Showing with 27 additions and 19 deletions.
  1. +27 −19 templates/zigbee2mqtt/devices.html
@@ -66,7 +66,7 @@
<a href="?view_mode=device_off&id=[#DEVID#]&tab=" class="btn btn-default btn-round" title="Выключить">
<span class="glyphicon glyphicon-remove"></span>
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[#endif#]

[#if CHANGEABLE="2"#]
@@ -85,22 +85,21 @@
<a href="?view_mode=device_off_right&id=[#DEVID#]&tab=" class="btn btn-default btn-round" title="Выключить">
<span class="glyphicon glyphicon-remove"></span>
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;
[#endif#]





<a href="?view_mode=view_mqtt&id=[#DEVID#]&tab=edit_parametrs" class="btn btn-default btn-round" title="Data">
<span class="glyphicon glyphicon-list"></span>
</a>


<a class="btn btn-default btn-round" data-toggle="dropdown" href="#">
<span class="caret"></span>
</a>
<ul class="dropdown-menu">


<li><a href="?view_mode=view_mqtt&id=[#DEVID#]&tab=edit_parametrs" title="Edit"><span class="glyphicon glyphicon-list-alt"></span>Данные</a></li>
<li><a href="?view_mode=view_mqtt&id=[#DEVID#]&tab=edit_device" title="Edit"><span class="glyphicon glyphicon-pencil"></span>Редактировать</a></li>
<li><a href="?view_mode=view_mqtt&id=[#DEVID#]&tab=view_det" title="Share"><span class="glyphicon glyphicon-tags"></span>Дополнительно</a></li>
<li class="divider"></li>
@@ -117,17 +116,6 @@ <h3 class="panel-title">[#TITLE#]
[#endif#]


[#if LOST!=""#]
<!-- <div class="pull-right signal-level" style="background: linear-gradient(to right, [#RSSI_COLOR#] [#RSSI_LVL#]%, #999 [#RSSI_LVL#]%);">
<div class="glyphicon glyphicon-signal"></div>
</div>
-->
[#else#]
<!-- <div class="pull-left"> -->
<span class="label label-danger"><#LANG_OFFLINE#></span>
<!-- </div> -->
[#endif#]


</h3>

@@ -164,10 +152,30 @@ <h3 class="panel-title">[#TITLE#]
&nbsp;
[#endif#]</div>
<div class="pull-right">
<div style="color:#999;font-size: 12px;"><#LANG_UPDATED#></div>
<p> [#if FIND!=""#]
<div style="color:#999;font-size: 12px;"><#LANG_UPDATED#>

[#if LOST!=""#]
<!-- <div class="pull-right signal-level" style="background: linear-gradient(to right, [#RSSI_COLOR#] [#RSSI_LVL#]%, #999 [#RSSI_LVL#]%);">
<div class="glyphicon glyphicon-signal"></div>
</div>
-->
[#else#]
<!-- <div class="pull-left"> -->
<span class="label label-danger"><#LANG_OFFLINE#></span>
<!-- </div> -->
[#endif#]
</div>
<p>




[#if FIND!=""#]
[#FIND#]
[#else#]



&nbsp;
[#endif#]</p>
</div>

0 comments on commit 79774f0

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