summaryrefslogtreecommitdiff
path: root/resources/views/errors/404.twig
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-11-13 17:47:19 +0100
committermsquare <msquare@notrademark.de>2018-12-02 12:53:31 +0100
commit2588bbf7bc5374830662af7c01df688c42d30dc6 (patch)
tree900283a7100189fc683cbbc68224d10ae1796a38 /resources/views/errors/404.twig
parentc33940f64a1e5b59afd700010247382f5b7b2df3 (diff)
Templating: Improved error templates
Diffstat (limited to 'resources/views/errors/404.twig')
-rw-r--r--resources/views/errors/404.twig18
1 files changed, 18 insertions, 0 deletions
diff --git a/resources/views/errors/404.twig b/resources/views/errors/404.twig
new file mode 100644
index 00000000..6eb9104e
--- /dev/null
+++ b/resources/views/errors/404.twig
@@ -0,0 +1,18 @@
+{% extends "errors/default.twig" %}
+
+{% block title %}{{ __("Page not found") }}{% endblock %}
+
+{% block content_container %}
+ <div class="row">
+ <div class="col-sm-6 col-sm-offset-3 error-big">
+ <h2>
+ 4<span class="pulse">:</span>{{ status|slice(1, 2) }}
+ <small>{{ __("No sleep found") }}</small>
+ </h2>
+
+ {% block content_text %}
+ {{ content }}
+ {% endblock %}
+ </div>
+ </div>
+{% endblock %}