diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-12-03 13:13:46 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-12-03 14:55:47 +0100 |
commit | 19b7ebfaa822b12f6da25ad2ba10398b3ef25ec6 (patch) | |
tree | ab602e242c52e0936eb8f958acfc343bd14f540e /client/src/app/+page-not-found/page-not-found.component.html | |
parent | 5bfc33b6f1caa50c607bd7334b4a72003c2bd1a6 (diff) | |
download | PeerTube-19b7ebfaa822b12f6da25ad2ba10398b3ef25ec6.tar.gz PeerTube-19b7ebfaa822b12f6da25ad2ba10398b3ef25ec6.tar.zst PeerTube-19b7ebfaa822b12f6da25ad2ba10398b3ef25ec6.zip |
refactor 404 page
Diffstat (limited to 'client/src/app/+page-not-found/page-not-found.component.html')
-rw-r--r-- | client/src/app/+page-not-found/page-not-found.component.html | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/client/src/app/+page-not-found/page-not-found.component.html b/client/src/app/+page-not-found/page-not-found.component.html index 37e382b2c..aa57b07e8 100644 --- a/client/src/app/+page-not-found/page-not-found.component.html +++ b/client/src/app/+page-not-found/page-not-found.component.html | |||
@@ -1,7 +1,32 @@ | |||
1 | <div class="root"> | 1 | <div class="root"> |
2 | <img src="/client/assets/images/mascot/defeated.svg" alt="404 mascot"> | 2 | <div *ngIf="status === 404" class="box"> |
3 | <strong>{{ status }}.</strong> | ||
4 | <span class="ml-1 text-muted" i18n>That's an error.</span> | ||
3 | 5 | ||
4 | <div class="text" i18n> | 6 | <div class="text mt-4" i18n> |
5 | Sorry, we couldn't find the page you were looking for. | 7 | We couldn't find any ressource tied to the URL {{ pathname }} you were looking for. |
8 | </div> | ||
9 | |||
10 | <div class="text-muted mt-4"> | ||
11 | <span i18n="Possible reasons preceding a list of reasons a `Not Found` error page may occur">Possible reasons:</span> | ||
12 | |||
13 | <ul> | ||
14 | <li i18n>The page may have been moved or deleted</li> | ||
15 | <li i18n>You may have used an outdated or broken link</li> | ||
16 | <li i18n>You may have typed the address or URL incorrectly</li> | ||
17 | </ul> | ||
18 | </div> | ||
19 | </div> | ||
20 | |||
21 | <div *ngIf="status === 418" class="box"> | ||
22 | <strong>{{ status }}.</strong> | ||
23 | <span class="ml-1 text-muted">I'm a teapot.</span> | ||
24 | |||
25 | <div class="text mt-4" i18n="Description of a tea flavour, keeping the 'requested entity body' as a technical expression referring to a web request"> | ||
26 | The requested entity body blends sweet bits with a mellow earthiness. | ||
27 | </div> | ||
28 | <div class="text-muted" i18n="This is about Sepia's tea">Sepia seems to like it.</div> | ||
6 | </div> | 29 | </div> |
30 | |||
31 | <img src='/client/assets/images/mascot/{{ getMascotName() }}.svg' alt='{{ status }} mascot'> | ||
7 | </div> | 32 | </div> |