Merge pull request #18826 from nextcloud/backport/18819/stable18

[stable18] Limit the size of the container on guest pages
This commit is contained in:
Roeland Jago Douma 2020-01-12 08:55:44 +01:00 committed by GitHub
commit 787aa98b8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -99,7 +99,8 @@ body {
}
.wrapper {
max-width: 100%;
width: 100%;
max-width: 700px;
margin-top: 10vh;
}

View file

@ -14,7 +14,7 @@
<?php if ($_['tooBig']) { ?>
<div class="warning updateAnyways">
<?php p($l->t('I know that if I continue doing the update via web UI has the risk, that the request runs into a timeout and could cause data loss, but I have a backup and know how to restore my instance in case of a failure.' )); ?>
<p><?php p($l->t('I know that if I continue doing the update via web UI has the risk, that the request runs into a timeout and could cause data loss, but I have a backup and know how to restore my instance in case of a failure.' )); ?></p>
<a href="?IKnowThatThisIsABigInstanceAndTheUpdateRequestCouldRunIntoATimeoutAndHowToRestoreABackup=IAmSuperSureToDoThis" class="button updateAnywaysButton"><?php p($l->t('Upgrade via web on my own risk' )); ?></a>
</div>
<?php } ?>