Miscellaneous updates

This commit is contained in:
bergware
2020-02-10 13:01:24 +01:00
parent b93653a5fb
commit 647a5cabe3

View File

@@ -87,23 +87,23 @@ function showLog(log) {
timers.syslog = setTimeout(function(){$('div.spinner.fixed').show('slow');},150);
$.post('/webGui/include/Syslog.php',{log:log},function(data){
clearTimeout(timers.syslog);
$('div.spinner.fixed').hide('slow');
$('pre.up').html(data);
<?if ($display['resize']):?>
resize();
<?endif;?>
$('div.spinner.fixed').hide('slow');
});
}
$(function() {
timers.syslog = setTimeout(function(){$('div.spinner.fixed').show('slow');},150);
$.post('/webGui/include/Syslog.php',{log:'<?=$log?>'},function(data){
clearTimeout(timers.syslog);
$('div.spinner.fixed').hide('slow');
$('pre.up').html(data);
<?if ($display['resize']):?>
resize();
$(window).bind('resize',function(){resize();});
<?endif;?>
$('div.spinner.fixed').hide('slow');
});
});
$('.tabs').append("<span class='status'><?=$select?><span class='lite label'><label>Text<input type='checkbox' class='ctrl' onclick='highlight(!this.checked,\"N\")' checked></label></span><span class='error label'><label>Error<input type='checkbox' onclick='highlight(this.checked,\"E\")' checked></label></span><span class='warn label'><label>Warning<input type='checkbox' onclick='highlight(this.checked,\"W\")' checked></label></span><span class='system label'><label>System<input type='checkbox' onclick='highlight(this.checked,\"S\")' checked></label></span><span class='array label'><label>Array<input type='checkbox' onclick='highlight(this.checked,\"A\")' checked></label></span><span class='login label'><label>Login<input type='checkbox' onclick='highlight(this.checked,\"L\")' checked></label></span><span class='lite label'><input type='checkbox' class='ctrl' onclick='toggle(this.checked)' checked></span></span>");