From 8bdfbc6ddc1080c3e0c279ad92c19e47b25fd3bd Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Thu, 29 Jun 2017 14:45:24 -0400 Subject: Add templates and static assets for materialize --- app/dispatch/templates/dispatch/base.html | 81 ++++++++++++++++++++++++++++++ app/dispatch/templates/dispatch/index.html | 9 ++++ app/dispatch/templates/dispatch/login.html | 58 +++++++++++++++++++++ 3 files changed, 148 insertions(+) create mode 100644 app/dispatch/templates/dispatch/base.html create mode 100644 app/dispatch/templates/dispatch/index.html create mode 100644 app/dispatch/templates/dispatch/login.html (limited to 'app/dispatch/templates') diff --git a/app/dispatch/templates/dispatch/base.html b/app/dispatch/templates/dispatch/base.html new file mode 100644 index 0000000..71483d6 --- /dev/null +++ b/app/dispatch/templates/dispatch/base.html @@ -0,0 +1,81 @@ +{% load static %} + + + + + + + + + + + + + + + + + + + + +
+
+ {% block content %} + {% endblock %} +
+
+ + + + + + + + + diff --git a/app/dispatch/templates/dispatch/index.html b/app/dispatch/templates/dispatch/index.html new file mode 100644 index 0000000..35b17ad --- /dev/null +++ b/app/dispatch/templates/dispatch/index.html @@ -0,0 +1,9 @@ +{% extends 'dispatch/base.html' %} + + +{% block content %} +
+ +

FUCKING CONTENT

+ +{% endblock %} diff --git a/app/dispatch/templates/dispatch/login.html b/app/dispatch/templates/dispatch/login.html new file mode 100644 index 0000000..e8e8ede --- /dev/null +++ b/app/dispatch/templates/dispatch/login.html @@ -0,0 +1,58 @@ +{% extends 'dispatch/base.html' %} + + + +{% block content %} + {% if form.errors %} + +

Your username and password didn't match. Please try again.

+{% endif %} + +{% if next %} + {% if user.is_authenticated %} + +

Your account doesn't have access to this page. To proceed, + please login with an account that has access.

+ {% else %} + +

Please login to see this page.

+ {% endif %} +{% endif %} + +
+
+
+ +
+
+
+ +{% endblock %} -- cgit v1.2.3