From 0487f5ea1d660480987816a8cbddcb274b34cecf Mon Sep 17 00:00:00 2001 From: andryyy Date: Tue, 17 Sep 2019 20:11:53 +0200 Subject: [PATCH] [Web] Add JVM memory indiator and add minor fixes --- data/web/css/site/debug.css | 4 ++++ data/web/debug.php | 20 +++++++++++++------- data/web/inc/functions.inc.php | 26 ++++++++++++++++++++++---- data/web/lang/lang.de.php | 2 ++ data/web/lang/lang.en.php | 2 ++ 5 files changed, 43 insertions(+), 11 deletions(-) diff --git a/data/web/css/site/debug.css b/data/web/css/site/debug.css index 0eb81bc3..89eaf41a 100644 --- a/data/web/css/site/debug.css +++ b/data/web/css/site/debug.css @@ -40,4 +40,8 @@ table.footable>tbody>tr.footable-empty>td { } tbody { font-size:14px; +} +.container-indicator { + width: 15px; + height: 15px; } \ No newline at end of file diff --git a/data/web/debug.php b/data/web/debug.php index bbeda91c..67417bc2 100644 --- a/data/web/debug.php +++ b/data/web/debug.php @@ -76,11 +76,17 @@ else { -

: ~h

-

:

-

:

-

:

-

:

+
+
+
+

: / + (%)

+
+

: ~h

+

:

+

:

+

:

+

:

@@ -124,9 +130,9 @@ else { $started = '?'; } ?> - (Started on ), + ( ), -     +   mailcow in-memory Logs werden in Redis L

Statische Logs sind weitestgehend Aktivitätsprotokolle, die nicht in den Docker Daemon geschrieben werden, jedoch permanent verfügbar sein müssen (ausgeschlossen API Logs).

'; $lang['debug']['in_memory_logs'] = 'In-memory Logs'; +$lang['debug']['started_on'] = 'Gestartet am'; +$lang['debug']['jvm_memory_solr'] = 'JVM Speicherauslastung'; $lang['debug']['external_logs'] = 'Externe Logs'; $lang['debug']['static_logs'] = 'Statische Logs'; $lang['debug']['solr_status'] = 'Solr Status'; diff --git a/data/web/lang/lang.en.php b/data/web/lang/lang.en.php index 908cbe4f..9ca74568 100644 --- a/data/web/lang/lang.en.php +++ b/data/web/lang/lang.en.php @@ -786,6 +786,8 @@ $lang['danger']['spam_learn_error'] = "Spam learn error: %s"; $lang['success']['qlearn_spam'] = "Message ID %s was learned as spam and deleted"; $lang['debug']['system_containers'] = 'System & Containers'; +$lang['debug']['started_on'] = 'Started on'; +$lang['debug']['jvm_memory_solr'] = 'JVM memory usage'; $lang['debug']['solr_status'] = 'Solr status'; $lang['debug']['solr_dead'] = 'Solr is starting, disabled or died.'; $lang['debug']['logs'] = 'Logs';