mirror of
https://github.com/unraid/webgui.git
synced 2026-04-21 09:19:35 -05:00
Syslog: added viewer
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user