From 50b9dd66b712ef344f7c19bd75ddc26c8266c932 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Fri, 19 Oct 2018 16:31:38 +0200
Subject: [PATCH] Adjust design of maintenance mode page

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
---
 core/css/guest.css             |  4 ++++
 core/templates/update.user.php | 14 ++++++--------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/core/css/guest.css b/core/css/guest.css
index ac12f171627..5bc918db1e2 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -607,6 +607,10 @@ form #selectDbType label.ui-state-active {
 	width: initial;
 }
 
+.body-login-container p:not(:last-child) {
+    margin-bottom: 12px;
+}
+
 .warning.updateAnyways {
 	text-align: center;
 }
diff --git a/core/templates/update.user.php b/core/templates/update.user.php
index bc6936188ea..661d7d45a30 100644
--- a/core/templates/update.user.php
+++ b/core/templates/update.user.php
@@ -1,8 +1,6 @@
-<ul>
-	<li class='update'>
-		<?php p($l->t('This %s instance is currently in maintenance mode, which may take a while.', array($theme->getName()))) ?><br><br>
-		<?php p($l->t('This page will refresh itself when the %s instance is available again.', array($theme->getName()))) ?><br><br>
-		<?php p($l->t('Contact your system administrator if this message persists or appeared unexpectedly.')) ?><br><br>
-		<?php p($l->t('Thank you for your patience.')); ?><br><br>
-	</li>
-</ul>
+<div class="body-login-container">
+	<div class="icon-big icon-error-white"></div>
+	<h2><?php p($l->t('Maintenance mode', array($theme->getName()))) ?></h2>
+	<p><?php p($l->t('This %s instance is currently in maintenance mode, which may take a while.', array($theme->getName()))) ?> <?php p($l->t('This page will refresh itself when the instance is available again.')) ?></p>
+	<p><?php p($l->t('Contact your system administrator if this message persists or appeared unexpectedly.')) ?></p>
+</div>
-- 
GitLab