elixir/templates/error.html
2025-02-14 12:50:29 +01:00

32 lines
907 B
HTML

{% extends "layout.html" %}
{% block title %}
Elixir error - Bootlin
{% endblock %}
{% block main %}
<div class="lxrerror">
<h2>{{ error_title }}</h2>
<div id="error-details">
{{ error_details|default('') }}
</div>
<span>You might want to:</span>
<ul>
{% if referer is not none -%}
<li><a class="link" href="{{ referer }}">Go back</a></li>
{%- endif %}
<li><a class="link" href="{{ home_page_url }}">Go to home page</a></li>
{% if bug_report_url is not none -%}
<li><a class="link" href="{{ bug_report_url }}">Report a bug</a></li>
{%- endif %}
</ul>
{% if report_error_details is not none -%}
<details>
<summary id="report-error-details-header">Error details for a bug report</summary>
<pre>{{ report_error_details }}</pre>
</details>
{% endif -%}
</div>
{% endblock %}