diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-01 16:35:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-01 16:35:48 +0200 |
commit | c4bf7af96f52aaafd13049e74f27b368eec79bf8 (patch) | |
tree | c1126ee4ec55c82645b10ef65f4657aa80930657 /src/Wallabag/CoreBundle/Resources/views/themes/material | |
parent | db5541e7a1e7131d62b4df23fa6eadd0c542b256 (diff) | |
parent | 40e219622a2c416ab36cb39b26a5e1354e4438cc (diff) | |
download | wallabag-c4bf7af96f52aaafd13049e74f27b368eec79bf8.tar.gz wallabag-c4bf7af96f52aaafd13049e74f27b368eec79bf8.tar.zst wallabag-c4bf7af96f52aaafd13049e74f27b368eec79bf8.zip |
Merge pull request #2322 from wallabag/v2-404
Customize errors templates
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Exception/error.html.twig | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Exception/error.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Exception/error.html.twig new file mode 100644 index 00000000..6be78edb --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Exception/error.html.twig | |||
@@ -0,0 +1,30 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | ||
2 | |||
3 | {% block title %}{{ 'error.page_title'|trans }}{% endblock %} | ||
4 | |||
5 | {% block body_class %}login{% endblock %} | ||
6 | |||
7 | {% block menu %}{% endblock %} | ||
8 | {% block messages %}{% endblock %} | ||
9 | |||
10 | {% block content %} | ||
11 | <main class="valign-wrapper"> | ||
12 | <div class="valign row"> | ||
13 | <div class="card sw"> | ||
14 | <div class="center"><img src="{{ asset('bundles/wallabagcore/themes/_global/img/logo-other_themes.png') }}" alt="wallabag logo" /></div> | ||
15 | <div class="card-content"> | ||
16 | <div class="row"> | ||
17 | <h5>{{ status_code }}: {{ status_text }}</h5> | ||
18 | <p>{{ exception.message }}</p> | ||
19 | {# {% for trace in exception.trace %} | ||
20 | <p>{{ trace.class }} - {{ trace.type }} - {{ trace.file }} - {{ trace.line }}</p> | ||
21 | {% endfor %} #} | ||
22 | </div> | ||
23 | </div> | ||
24 | </div> | ||
25 | </div> | ||
26 | </main> | ||
27 | {% endblock %} | ||
28 | |||
29 | {% block footer %} | ||
30 | {% endblock %} | ||