summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-25 23:07:46 +0200
committerGitHub <noreply@github.com>2018-10-25 23:07:46 +0200
commit61c38885c734aa7606de895b1e28f51df2cc3440 (patch)
treee6472b1e41dfc5d1b8518b280c165af94ad8e883
parent6ad7f329385f73a731f69d9f00cf5b038f3eac04 (diff)
parent50b9dd66b712ef344f7c19bd75ddc26c8266c932 (diff)
downloadnextcloud-server-61c38885c734aa7606de895b1e28f51df2cc3440.tar.gz
nextcloud-server-61c38885c734aa7606de895b1e28f51df2cc3440.zip
Merge pull request #11940 from nextcloud/maintenance-design
Adjust design of maintenance mode page
-rw-r--r--core/css/guest.css4
-rw-r--r--core/templates/update.user.php14
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>