From aed886c9ef107abbc41a5014445046e8d40422f7 Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Mon, 19 Aug 2024 00:13:08 +0200 Subject: [PATCH] add reload-button (better ux) --- assets/css/maintenance-frontend.css | 16 ++++++++++++++-- fragments/maintenance/frontend.php | 1 + fragments/maintenance/reload.php | 6 ++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 fragments/maintenance/reload.php diff --git a/assets/css/maintenance-frontend.css b/assets/css/maintenance-frontend.css index e5056b4..2e561b3 100644 --- a/assets/css/maintenance-frontend.css +++ b/assets/css/maintenance-frontend.css @@ -60,7 +60,7 @@ body { border-radius: 30px; border: none; font-size: 1em; - } +} .maintenance-pw-btn { margin: 1em 1em 1em 1em; @@ -70,5 +70,17 @@ body { color: #ffffff; border: none; font-size: 1em; - cursor: default; + cursor: pointer; +} + +.maintenance-btn { + display: inline-block; + text-decoration: none; + margin: 1em 1em 1em 1em; + padding: 1em 1em 1em 1em; + background: #5b98d7; + border-radius: 10px; + color: #ffffff; + border: none; + font-size: 1em; } diff --git a/fragments/maintenance/frontend.php b/fragments/maintenance/frontend.php index 1a34e7f..32caf59 100644 --- a/fragments/maintenance/frontend.php +++ b/fragments/maintenance/frontend.php @@ -17,6 +17,7 @@ // Subfragment announcement.php ausgeben echo $this->subfragment('maintenance/announcement.php'); echo $this->subfragment('maintenance/login.php'); + echo $this->subfragment('maintenance/reload.php'); ?> diff --git a/fragments/maintenance/reload.php b/fragments/maintenance/reload.php new file mode 100644 index 0000000..30ae048 --- /dev/null +++ b/fragments/maintenance/reload.php @@ -0,0 +1,6 @@ + +
+ Reload +