diff --git a/conf/esm.config.json b/conf/esm.config.json index af3fe3d..c4bab8c 100644 --- a/conf/esm.config.json +++ b/conf/esm.config.json @@ -10,7 +10,8 @@ "enable_temperature": true }, "disk": { - "show_tmpfs": false + "show_tmpfs": false, + "show_filesystem": true }, "ping": { "hosts": [ diff --git a/index.php b/index.php index 1aa34af..5e8d5e9 100644 --- a/index.php +++ b/index.php @@ -226,7 +226,9 @@ $update = $Config->checkUpdate();
Filesystem | + get('disk:show_filesystem')): ?> +Filesystem | +Mount | Use | Free | diff --git a/js/esm.js b/js/esm.js index ee7d52c..1016440 100644 --- a/js/esm.js +++ b/js/esm.js @@ -152,7 +152,10 @@ esm.getDisk = function() { var html = ''; html += '|
---|---|---|---|---|---|
'+data[line].filesystem+' | '; + + if (typeof data[line].filesystem != 'undefined') + html += ''+data[line].filesystem+' | '; + html += ''+data[line].mount+' | '; html += ''; html += ' | '+data[line].free+' | '; @@ -216,8 +219,8 @@ esm.getNetwork = function() { html += '|
'+data[line].interface+' | '; html += ''+data[line].ip+' | '; - html += ''+data[line].receive+' | '; - html += ''+data[line].transmit+' | '; + html += ''+data[line].receive+' | '; + html += ''+data[line].transmit+' | '; html += '