Syslog: added viewer

This commit is contained in:
bergware
2019-02-10 09:39:07 +01:00
parent 73468ed93f
commit 437600373d
+5
View File
@@ -71,6 +71,11 @@ function resize() {
}
function showLog(log) {
$.post('/webGui/include/Syslog.php',{log:log},function(data){
$('span.label input[type=checkbox]').prop('checked',true);
$('span.label').each(function(){
var type = $(this).attr('class').replace('label','').replace(/-/g,'');
$(this).removeClass().addClass(type+' label');
});
$('pre.up').html(data);
<?if ($display['resize']):?>
resize();