Added a custom 403 page, extending the datatracker base.html template.

- Legacy-Id: 18331
This commit is contained in:
Henrik Levkowetz 2020-07-31 12:32:06 +00:00
parent ffc541af20
commit 9c38f1a670

21
ietf/templates/403.html Normal file
View file

@ -0,0 +1,21 @@
{# Copyright The IETF Trust 2007, All Rights Reserved #}
{% extends "base.html" %}
{% load static %}
{% block title %}404 Not Found{% endblock %}
{% block content %}
<img class="ietflogo" src="{% static 'ietf/images/ietflogo.png' %}" alt="IETF" style="width: 10em">
<div class='alert'>
<h2>Restricted Access.</h2>
<p>The page you tried to reach is not generally avaiable.</p>
<p>{{ exception }}</p>
<p>If you think this is a server error, please contact <a href="mailto:{{ bugreport_email }}">{{ bugreport_email }}</a>.</p>
</div>
{% endblock %}