diff --git a/rootfs/standard/var/www/mynode/settings.py b/rootfs/standard/var/www/mynode/settings.py index 43af3db1..e74b1114 100644 --- a/rootfs/standard/var/www/mynode/settings.py +++ b/rootfs/standard/var/www/mynode/settings.py @@ -121,6 +121,9 @@ def page_settings(): # Get RTL Status rtl_status_log = get_journalctl_log("rtl") + # Get Docker Status + docker_status_log = get_journalctl_log("docker") + # Get Docker Image Build Status docker_image_build_status_log = get_journalctl_log("docker_images") @@ -172,6 +175,9 @@ def page_settings(): "rtl_status_log": rtl_status_log, "rtl_status": get_service_status_basic_text("rtl"), "rtl_status_color": get_service_status_color("rtl"), + "docker_status_log": docker_status_log, + "docker_status": get_service_status_basic_text("docker"), + "docker_status_color": get_service_status_color("docker"), "docker_image_build_status_log": docker_image_build_status_log, "docker_image_build_status": get_docker_image_build_status(), "docker_image_build_status_color": get_docker_image_build_status_color(), diff --git a/rootfs/standard/var/www/mynode/templates/settings.html b/rootfs/standard/var/www/mynode/templates/settings.html index 7d043f82..751f21de 100644 --- a/rootfs/standard/var/www/mynode/templates/settings.html +++ b/rootfs/standard/var/www/mynode/templates/settings.html @@ -209,6 +209,11 @@ $("#rtl_status").show(); }); + $("#show_docker_status").on("click", function() { + $("#show_docker_status").hide(0); + $("#docker_status").show(); + }); + $("#show_docker_image_build_status").on("click", function() { $("#show_docker_image_build_status").hide(0); $("#docker_image_build_status").show(); @@ -606,6 +611,15 @@
+
Docker Status
+
+
+ {{ docker_status }} +
+ + +
+
Docker Image Build Status