diff --git a/data/web/css/build/013-mailcow.css b/data/web/css/build/013-mailcow.css index 24cf47bf..a06d97ed 100644 --- a/data/web/css/build/013-mailcow.css +++ b/data/web/css/build/013-mailcow.css @@ -121,6 +121,21 @@ transform: rotate(359deg); } } +@keyframes blink { + 50% { + color: transparent + } +} +.loader-dot { + animation: 1s blink infinite +} +.loader-dot:nth-child(2) { + animation-delay: 250ms +} +.loader-dot:nth-child(3) { + animation-delay: 500ms +} + pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;} /* Fix modal moving content left */ body.modal-open { diff --git a/data/web/lang/lang.de.json b/data/web/lang/lang.de.json index 3ebd16a0..04b63c69 100644 --- a/data/web/lang/lang.de.json +++ b/data/web/lang/lang.de.json @@ -492,6 +492,8 @@ "debug": { "chart_this_server": "Chart (dieser Server)", "containers_info": "Container-Information", + "container_running": "Läuft", + "container_stopped": "Angehalten", "disk_usage": "Festplattennutzung", "docs": "Dokumente", "external_logs": "Externe Logs", diff --git a/data/web/lang/lang.en.json b/data/web/lang/lang.en.json index 90279b0b..7a5d3baf 100644 --- a/data/web/lang/lang.en.json +++ b/data/web/lang/lang.en.json @@ -492,6 +492,8 @@ "debug": { "chart_this_server": "Chart (this server)", "containers_info": "Container information", + "container_running": "Running", + "container_stopped": "Stopped", "disk_usage": "Disk usage", "docs": "Docs", "external_logs": "External logs", diff --git a/data/web/templates/debug.twig b/data/web/templates/debug.twig index b4601094..672b9b9b 100644 --- a/data/web/templates/debug.twig +++ b/data/web/templates/debug.twig @@ -89,9 +89,22 @@ {{ container }} ({{ container_info.Config.Image }}) ({{ lang.debug.started_on }} {{ container_info.State.StartedAtHR }}) + {% if container_info.State.Running == 1 %} + + {{ lang.debug.container_running }} + . + . + . + + {% elseif container_info.State %} + + {{ lang.debug.container_stopped }} + + + {% endif %} {{ lang.debug.restart_container }} -