Make the application modular to have a "main" and "backend" part.
This commit is contained in:
parent
884f721002
commit
e5b0e1fcfd
28 changed files with 112 additions and 7 deletions
8
app/views/main/error/error.volt
Normal file
8
app/views/main/error/error.volt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
<span class="text-center">
|
||||
<h1>An Error Occurred!</h1>
|
||||
|
||||
<p>The server freaked out while computing the bits. Try again later.</p>
|
||||
|
||||
<p>If the problem persist, contact <a href="mailto:henrik.hautakoski@gmail.com">this guy</a></p>
|
||||
</span>
|
||||
11
app/views/main/error/show404.volt
Normal file
11
app/views/main/error/show404.volt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
{% set google_url = "http://google.com?q=" ~ url | escape %}
|
||||
|
||||
<span class="text-center">
|
||||
<h1>404 Not Found</h1>
|
||||
<p>
|
||||
This page does not exist! You can search for it on
|
||||
<a target="_blank" href="{{ google_url }}">google</a>
|
||||
if you want.
|
||||
</p>
|
||||
</span>
|
||||
Reference in a new issue