Updated index and error pages

This commit is contained in:
Claudio Maggioni 2018-08-10 13:26:45 +02:00
parent 159aa21c06
commit d41dab6051
4 changed files with 27 additions and 2 deletions

View File

@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block title %}Not authorized{% endblock %}
{% block content %}
<h1 class="center">Not authorized</h1>
<p>You are not authorized to perform this action. Please <a href="{% url "index" %}">return to the home</a>.</p>
{% endblock %}

View File

@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block title %}Page not found{% endblock %}
{% block content %}
<h1 class="center">Page not found</h1>
<p>This page has not been found. Please <a href="{% url "index" %}">return to the home</a>.</p>
{% endblock %}

View File

@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block title %}Internal server error{% endblock %}
{% block content %}
<h1 class="center">Internal server error</h1>
<p>The server failed to process the request. Please <a href="{% url "index" %}">return to the home</a>.</p>
{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends 'base.html' %}
{% block title %}index{% endblock %}
{% block title %}Home{% endblock %}
{% block content %}
<marquee>Viva luciano malusa!</marquee>
<h1 class="center">Arrow counter</h1>
<h4 class="center">A simple online arrow counter</h4>
{% endblock %}