mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added text to let users know refresh is disabled
This commit is contained in:
@@ -363,6 +363,18 @@ if ($no_refresh !== TRUE && $config['page_refresh'] != 0) {
|
|||||||
});
|
});
|
||||||
</script>');
|
</script>');
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
echo('<script type="text/javascript">
|
||||||
|
$(document).ready(function() {
|
||||||
|
$("#countdown_timer").html("Refresh disabled");
|
||||||
|
$("#countdown_timer_status").html("<i class=\"fa fa-pause fa-fw\"></i>");
|
||||||
|
$("#countdown_timer_status").click("", function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user