Skip to content

Commit

Permalink
Merge pull request #1048 from kirush0280/patch-6
Browse files Browse the repository at this point in the history
Update SThermostats.html
  • Loading branch information
sergejey authored Aug 8, 2022
2 parents 0d46bc5 + b1a31ad commit a4b407c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/classes/views/SThermostats.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
callMethod("%.object_title%.tempUp");
$.get("<#ROOTHTML#>ajax/devices.html?op=clicked&object="+encodeURIComponent("%.object_title%"));
return false;'>+</a>
<div class="device-details">%.object_description%
<span style="display:%.batteryOperated|"none;inline"%;
%.batteryWarning|"0=color:green;1=color:red;2=color:lightsalmon"%;"><i class="glyphicon glyphicon-flash"></i>%.batteryLevel%%</span>
</div>
</div>
<div class="device-details"><#LANG_DEVICES_THERMOSTAT_CURRENT_TEMP#>: %.value% [<a href="#" onclick="var url=('<#ROOTHTML#>pChart/?p[]=%.object_title%'+'.value&p[]=%.object_title%'+'.relay_status&op=log&subop=24h&minimal=1');parent.$.fancybox.open({ src: url, type: 'iframe',iframe:{preload:false} });return false;"><#LANG_HISTORY#></a>]</div>
<div class="device-details"><#LANG_DEVICES_THERMOSTAT_MODE#>:
Expand Down

0 comments on commit a4b407c

Please sign in to comment.