server/views/error.twig

27 lines
654 B
Twig
Raw Permalink Normal View History

2020-07-18 10:43:13 +00:00
{% extends "./base.twig" %}
{% block title %}{{ title }}{% endblock %}
{% block head %}
2020-08-30 12:51:05 +00:00
<link rel="stylesheet" href="/static/styles/error.css" />
2020-07-18 10:43:13 +00:00
{% endblock %}
{% block content %}
<div class="error-container">
<div class="error">
<div class="error-icons">
{{ emoji }}
</div>
<hr>
<h1 class="error-title">{{ title }}</h1>
<h4 class="error-sub-title">{{ subTitle }}</h4>
<hr>
{% if details|length > 0 %}
<p>Pour les experts voici les détails :</p>
<div class="expert">
<pre>
{{ details }}
</pre>
</div>
{% endif %}
</div>
</div>
{% endblock %}