Add basic set of error pages
This commit is contained in:
parent
823284d6ba
commit
d649dc7da3
10 changed files with 115 additions and 41 deletions
5
app/views/error_pages/internal_server_error.html.slim
Normal file
5
app/views/error_pages/internal_server_error.html.slim
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
h1 Es ist ein Fehler aufgetreten
|
||||
|
||||
p Das kann leider vorkommen. Bitte versuche es nocheinmal und falls der Fehler weiter auftritt, hoffe dass er bald repariert wird, sorry
|
||||
|
||||
p == '¯\_(ツ)_/¯'
|
||||
6
app/views/error_pages/not_found.html.slim
Normal file
6
app/views/error_pages/not_found.html.slim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
h1 Error 404
|
||||
|
||||
p Diese Seite existiert nicht (mehr), sorry.
|
||||
|
||||
p
|
||||
img src="data:image/gif;base64,#{Base64.strict_encode64(Rails.application.assets['404.gif'].to_s)}"
|
||||
3
app/views/error_pages/unprocessable_content.html.slim
Normal file
3
app/views/error_pages/unprocessable_content.html.slim
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
h1 Es ist ein Fehler aufgetreten
|
||||
|
||||
p Ich konnte deine Anfrage nicht verstehen.
|
||||
Loading…
Add table
Add a link
Reference in a new issue