From d41dab6051248463494befb9ef5398c915095429 Mon Sep 17 00:00:00 2001 From: praticamentetilde Date: Fri, 10 Aug 2018 13:26:45 +0200 Subject: [PATCH] Updated index and error pages --- counter/templates/403.html | 8 ++++++++ counter/templates/404.html | 8 ++++++++ counter/templates/500.html | 8 ++++++++ counter/templates/index.html | 5 +++-- 4 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 counter/templates/403.html create mode 100644 counter/templates/404.html create mode 100644 counter/templates/500.html diff --git a/counter/templates/403.html b/counter/templates/403.html new file mode 100644 index 0000000..edd620c --- /dev/null +++ b/counter/templates/403.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block title %}Not authorized{% endblock %} + +{% block content %} +

Not authorized

+

You are not authorized to perform this action. Please return to the home.

+{% endblock %} diff --git a/counter/templates/404.html b/counter/templates/404.html new file mode 100644 index 0000000..635af94 --- /dev/null +++ b/counter/templates/404.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block title %}Page not found{% endblock %} + +{% block content %} +

Page not found

+

This page has not been found. Please return to the home.

+{% endblock %} diff --git a/counter/templates/500.html b/counter/templates/500.html new file mode 100644 index 0000000..78eca7d --- /dev/null +++ b/counter/templates/500.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block title %}Internal server error{% endblock %} + +{% block content %} +

Internal server error

+

The server failed to process the request. Please return to the home.

+{% endblock %} diff --git a/counter/templates/index.html b/counter/templates/index.html index d0f2b6a..e6dbb5e 100644 --- a/counter/templates/index.html +++ b/counter/templates/index.html @@ -1,6 +1,7 @@ {% extends 'base.html' %} -{% block title %}index{% endblock %} +{% block title %}Home{% endblock %} {% block content %} -Viva luciano malusa! +

Arrow counter

+

A simple online arrow counter

{% endblock %}