From 934702f61f1cbdbf001ebb598c22c75efa247645 Mon Sep 17 00:00:00 2001 From: Markus Krogh Date: Fri, 2 Jun 2017 13:19:30 +0200 Subject: Django 1.11 compatible and cleaned up --- src/templates/404.html | 7 +++++++ src/templates/500.html | 7 +++++++ src/templates/base.html | 28 ++++++++++++++++++++++++++++ src/templates/login.html | 8 ++++++++ 4 files changed, 50 insertions(+) create mode 100644 src/templates/404.html create mode 100644 src/templates/500.html create mode 100644 src/templates/base.html create mode 100644 src/templates/login.html (limited to 'src/templates') diff --git a/src/templates/404.html b/src/templates/404.html new file mode 100644 index 0000000..d74f8ca --- /dev/null +++ b/src/templates/404.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block content %} +

+404 -- page not found +

+{% endblock %} diff --git a/src/templates/500.html b/src/templates/500.html new file mode 100644 index 0000000..57bed1c --- /dev/null +++ b/src/templates/500.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block content %} +

+500 -- server error +

+{% endblock %} diff --git a/src/templates/base.html b/src/templates/base.html new file mode 100644 index 0000000..840024d --- /dev/null +++ b/src/templates/base.html @@ -0,0 +1,28 @@ +{% load static %} + + + + + + {% block title %}{% endblock %} + {% block js %} + {% endblock %} + + +
+
+ + + + +
+
+
+ {% block content %}{% endblock %} +
+ +
+ + diff --git a/src/templates/login.html b/src/templates/login.html new file mode 100644 index 0000000..99aad5d --- /dev/null +++ b/src/templates/login.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block title %}Log in via your IdP{% endblock %} + +{% block content %} +

+Click here to login via your Identity Provider +

+{% endblock %} -- cgit v1.1