Merge pull request #5392 from nextcloud/maintenance-mode-style

Use the guest.css for the maintenance page as well
This commit is contained in:
Lukas Reschke 2017-06-14 14:11:28 +02:00 committed by GitHub
commit a7abac5897
2 changed files with 1 additions and 10 deletions

View File

@ -1,10 +0,0 @@
<ul>
<li class='update'>
<?php p($l->t('This Nextcloud instance is currently in single user mode.')) ?><br><br>
<?php p($l->t('This means only administrators can use the instance.')) ?><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>
<a class="button" <?php print_unescaped(OC_User::getLogoutAttribute()); ?>><?php p($l->t('Log out')); ?></a>
</li>
</ul>

View File

@ -280,6 +280,7 @@ class OC {
// render error page // render error page
$template = new OC_Template('', 'update.user', 'guest'); $template = new OC_Template('', 'update.user', 'guest');
OC_Util::addScript('maintenance-check'); OC_Util::addScript('maintenance-check');
OC_Util::addStyle('core', 'guest');
$template->printPage(); $template->printPage();
die(); die();
} }