{% extends "base/layout.html.j2" %}

{% block main %}
<div class="container container--padding" style="word-wrap:break-word" ;>
    <h1>Error {{ status_code }}.</h1><br>
    {% if status_code == 404 %}
        <h2>Unfortunately the page you are looking for does not exist.</h2>
    {% else %}
        <br><h2>Unfortunately an error occurred when processing your request.</h2><br>
        <p>
        Please let us know about this issue with as much detail as possible at <a href="mailto:CAiMIRA-dev@cern.ch">CAiMIRA-dev@cern.ch</a>,
        reporting status code <b>{{ status_code }}</b>, the error id of "<b>{{ error_id }}</b>" and the time of the request (<b>{{ datetime }}</b>).
    </p>
    {% endif %}
    <br><br><br>
    <div class="text-center"><a href="{{ get_url() }}/" class="btn btn-lg btn-caimira-color" role="button">HOME PAGE</a></div><br><br><br>
</div>

{% endblock main %}