mirror of
https://github.com/unraid/webgui.git
synced 2026-05-01 07:19:32 -05:00
Make GUI real-time updating a little more relaxed
This commit is contained in:
@@ -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'":""?>> <input type="checkbox" name="#passive"<?=$display['refresh']<0?' checked':''?> onchange="presetRefresh(this.form)">disable page updates while parity operation is running.</span>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user