Make GUI real-time updating a little more relaxed

This commit is contained in:
bergware
2016-08-27 22:17:50 +02:00
parent 5aac984bf2
commit ce576b4c73
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ Temperature unit:
Page update frequency:
: <select name="refresh" size="1" onchange="presetPassive(this.selectedIndex)">
<?=mk_option($display['refresh'], "0", "Disabled")?>
<?=mk_option($display['refresh'], $display['refresh']<0?"-1000":"1000", "Real-time")?>
<?=mk_option($display['refresh'], $display['refresh']<0?"-3000":"3000", "Real-time")?>
<?=mk_option($display['refresh'], $display['refresh']<0?"-10000":"10000", "Regular")?>
<?=mk_option($display['refresh'], $display['refresh']<0?"-60000":"60000", "Slow")?>
</select><span id="passive"<?=$display['refresh']==0?" style='display:none'":""?>>&nbsp;<input type="checkbox" name="#passive"<?=$display['refresh']<0?' checked':''?> onchange="presetRefresh(this.form)">disable page updates while parity operation is running.</span>
+1 -1
View File
@@ -22,7 +22,7 @@ critical="90"
hot="45"
max="55"
theme="white"
refresh="1000"
refresh="3000"
[parity]
mode="0"
hour="0 0"
@@ -205,7 +205,7 @@ $(function() {
if ($.cookie('help')=='help') {$('.inline_help').show(); $('#nav-item.HelpButton').addClass('active');}
$('#'+tab).attr('checked', true);
<?if ($update):?>
if (update>1) timers.countDown = setTimeout(countDown,1000);
if (update>3) timers.countDown = setTimeout(countDown,1000);
<?endif;?>
updateTime();
$.jGrowl.defaults.closer = false;