From 10bea4b46b851a93ed7a347bf03b0f687dd5de1e Mon Sep 17 00:00:00 2001 From: mco-system Date: Sat, 27 May 2023 16:31:50 +1100 Subject: [PATCH] feat: status page + maintenance --- maintenance/reboot.py | 1 - maintenance/style/maintenance.css | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/maintenance/reboot.py b/maintenance/reboot.py index 4b0aad2..35dcb74 100755 --- a/maintenance/reboot.py +++ b/maintenance/reboot.py @@ -10,4 +10,3 @@ for container in client.containers.list(): print(" '-> Starting container
") container.start() print("[\o/] Container restarted
") - diff --git a/maintenance/style/maintenance.css b/maintenance/style/maintenance.css index 2dc0afe..78f87fa 100644 --- a/maintenance/style/maintenance.css +++ b/maintenance/style/maintenance.css @@ -1,5 +1,6 @@ .body { - + font-size: 4em; + font-family: Arial, Helvetica, sans-serif; } .page_wrapper { display: flex; @@ -10,6 +11,7 @@ text-align: center; padding-bottom: 5em; background-color: red; + width: 90%; } .center_wrapper { display: flex; @@ -18,6 +20,7 @@ align-items: center; text-align: center; background-color: blue; + } .container_list { display: flex; @@ -33,12 +36,14 @@ justify-content: center; align-items: center; background-color: green; + } .header, .status { font-weight: bold; border-width: 1px; border-style: solid; background-color: violet; + width: 10em; } .table_content { display: flex;