-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Improve 404 page design, fix #11370 #11566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weeman1337
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
skjnldsv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment
core/templates/404.php
Outdated
| <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 class="update"> | ||
| <h2><?php p($l->t('File not found')); ?></h2> | ||
| <div class="notfound-icon">🤔</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately you cannot assume the system have a Unicode emoji font installed :/
We need svg for that.
On a side note I feel like we're losing our pro looking vibe and are migrating towards a funky product. I'm not really sure about this. 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should use a smiley with a suit instead? ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, @enoch85 good that you're here! :)
Since you're in between, you saw nextcloud as a community project but also use it fot a professional use (you still do online provider, right?) How do you see the line between pro/funky?
I'm curious!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we need something more predictable in there instead of a random or no emoji.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the emoji was also mostly a joke. 😉 I will see if one of the nice illustrations @Espina2 did which fits. 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skjnldsv I'm always around, you just don't see me engaging that often :)
you still do online provider, right?
I do the VMs, and have a few clients on my servers, but I mostly do support for different enterprises and have seen Nextcloud being used in maaany different systems/enviroments.
How do you see the line between pro/funky?
I'm not 100% sure what you mean, do you mean design wise or something else?
I think you guys do a great job with the design either way. Using smileys isn't that "pro-ish" though. But as @jancborchardt said:
Using the emoji was also mostly a joke.
:)
Maybe a regular 404 with some nice design is more pro-ish?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was talking about the design part :)
core/css/guest.css
Outdated
|
|
||
| /* 404 page */ | ||
|
|
||
| .notfound-icon { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't it be .icon-notfound? That's the standard approach to naming icon classes in NC
bcbc600 to
d3a8799
Compare
Fixed for the "professionals" ;)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
d3a8799 to
f393cc0
Compare
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Thanks @jancborchardt! |







Fix #11370, please review @nextcloud/designers @addaitrs
When #11557 is merged this will look even better (proper spacing and button padding).
Before:


After: