Permalink
Browse files

Merge pull request #228 from tarasfrompir/master

Update SYeelightSmartBulb.html
  • Loading branch information...
T-REX-XP committed Aug 1, 2018
2 parents 02c9f71 + 2f76dd1 commit a5f19c66e3a888cd519d61dc3098b43cbbf6cb3e
@@ -9,7 +9,7 @@
</div>
<input type="text" id="color%.object_id%" class="colorpicker" value="%.colorSaved%" onChange='callMethod("%.object_title%.changecolor","color="+encodeURIComponent(this.value));'/>
<input type="range" onChange='ajaxSetGlobal("%.object_title%.changetemp", value);' value=%.changetemp% min="0" max="100" step="5" style="width:100%; height: 15px; display: inline-block;" ></input>
<input type="range" onChange='ajaxSetGlobal("%.object_title%.changetemp", value);' value=%.changetemp% min="5" max="100" step="5" style="width:100%; height: 15px; display: inline-block;" ></input>
<script>
@@ -77,16 +77,19 @@
[#if SERVICES!=""#] [#SERVICES#] [#else#] &nbsp; [#endif#]
</td>
<td style="vertical-align:middle" width="1%" nowrap>
<div style="width:200px">
<div class="btn-group">
[#if DEVICE_ONLINE_ID==""#]
<div style="width:200px" class="btn-group" role="group">
<button id="btnGroupDrop1" type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<#LANG_ACTION#>
</button>
<div class="dropdown-menu" aria-labelledby="btnGroupDrop1">
[#if DEVICE_ONLINE_ID==""#]
<a href="?view_mode=add_to_pinghost&id=[#ID#]" onClick="return confirm('Are you sure? Please confirm.')" class="btn btn-success"
title="Добавить к устройствам ОнЛайн">
<i class="glyphicon glyphicon-plus"></i>[#DEVICE_ONLINE_ID#]
</a>
[#endif#]
[#if LINKED_OBJECT==""#]
[#if LINKED_OBJECT==""#]
<a href="?view_mode=add_to_SSDPdevices&id=[#ID#]" onClick="return confirm('Are you sure? Please confirm.')" class="btn btn-success"
title="Добавить к простым устройствам">
<i class="glyphicon glyphicon-plus"></i>
@@ -99,7 +102,7 @@
title="Delete">
<i class="glyphicon glyphicon-remove"></i>
</a>
</div>
</div>
</div>
</td>
</tr>

0 comments on commit a5f19c6

Please sign in to comment.