summaryrefslogtreecommitdiffstats
path: root/core/templates/404.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-02 22:47:12 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-10-03 16:12:00 +0200
commitf393cc017d3f9993258af94f2c15b45fc6b4dab4 (patch)
treef195960443af6f735aa681822c71529cef24f21e /core/templates/404.php
parent893d2daeced67bddb2a277f8d126b3b27d78fcb0 (diff)
downloadnextcloud-server-f393cc017d3f9993258af94f2c15b45fc6b4dab4.tar.gz
nextcloud-server-f393cc017d3f9993258af94f2c15b45fc6b4dab4.zip
Improve 404 page design, fix #11370
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/templates/404.php')
-rw-r--r--core/templates/404.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/core/templates/404.php b/core/templates/404.php
index 0f7318e937a..071d57b1b68 100644
--- a/core/templates/404.php
+++ b/core/templates/404.php
@@ -15,11 +15,12 @@ if(!isset($_)) {//standalone page is not supported anymore - redirect to /
<?php if (isset($_['content'])): ?>
<?php print_unescaped($_['content']) ?>
<?php else: ?>
- <ul>
- <li class="error">
- <?php p($l->t('File not found')); ?><br>
- <p class="hint"><?php p($l->t('The specified document has not been found on the server.')); ?></p>
- <p class="hint"><a href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>"><?php p($l->t('You can click here to return to %s.', array($theme->getName()))); ?></a></p>
- </li>
- </ul>
+ <div class="body-login-container update">
+ <div class="icon-big icon-search icon-white"></div>
+ <h2><?php p($l->t('File not found')); ?></h2>
+ <p class="infogroup"><?php p($l->t('The document could not be found on the server. Maybe the share was deleted or has expired?')); ?></p>
+ <p><a class="button primary" href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>">
+ <?php p($l->t('Back to %s', array($theme->getName()))); ?>
+ </a></p>
+ </div>
<?php endif; ?>