From ef8e96157f60ba0813cab72a90a6e8e92b44b6f0 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Wed, 21 Feb 2018 09:30:05 +0000 Subject: Rearrange views and templates --- templates/base.html | 18 ------------------ templates/index.html | 9 --------- templates/main/base.html | 18 ++++++++++++++++++ templates/main/index.html | 9 +++++++++ templates/main/navigation.html | 19 +++++++++++++++++++ templates/main/ws_test.html | 24 ++++++++++++++++++++++++ templates/navigation.html | 19 ------------------- templates/staff.html | 9 --------- templates/staff/staff.html | 9 +++++++++ templates/ws_test.html | 24 ------------------------ 10 files changed, 79 insertions(+), 79 deletions(-) delete mode 100644 templates/base.html delete mode 100644 templates/index.html create mode 100644 templates/main/base.html create mode 100644 templates/main/index.html create mode 100644 templates/main/navigation.html create mode 100644 templates/main/ws_test.html delete mode 100644 templates/navigation.html delete mode 100644 templates/staff.html create mode 100644 templates/staff/staff.html delete mode 100644 templates/ws_test.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 5dd0c02c..00000000 --- a/templates/base.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - {% block head %} - Python | {% block title %}{% endblock %} - - - - - - - {% endblock %} - - -{% include "navigation.html" %} -{% block content %}{% endblock %} - - diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 418347d2..00000000 --- a/templates/index.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "base.html" %} -{% block title %}Home{% endblock %} -{% block content %} -
-

- Coming soon :tm: -

-
-{% endblock %} \ No newline at end of file diff --git a/templates/main/base.html b/templates/main/base.html new file mode 100644 index 00000000..5dd0c02c --- /dev/null +++ b/templates/main/base.html @@ -0,0 +1,18 @@ + + + + {% block head %} + Python | {% block title %}{% endblock %} + + + + + + + {% endblock %} + + +{% include "navigation.html" %} +{% block content %}{% endblock %} + + diff --git a/templates/main/index.html b/templates/main/index.html new file mode 100644 index 00000000..418347d2 --- /dev/null +++ b/templates/main/index.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{% block title %}Home{% endblock %} +{% block content %} +
+

+ Coming soon :tm: +

+
+{% endblock %} \ No newline at end of file diff --git a/templates/main/navigation.html b/templates/main/navigation.html new file mode 100644 index 00000000..cbd6a36a --- /dev/null +++ b/templates/main/navigation.html @@ -0,0 +1,19 @@ +
+ +
\ No newline at end of file diff --git a/templates/main/ws_test.html b/templates/main/ws_test.html new file mode 100644 index 00000000..6ef1bb68 --- /dev/null +++ b/templates/main/ws_test.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} +{% block title %}WS Test{% endblock %} +{% block content %} +
+

Open your JS console to test

+ + +
+{% endblock %} diff --git a/templates/navigation.html b/templates/navigation.html deleted file mode 100644 index cbd6a36a..00000000 --- a/templates/navigation.html +++ /dev/null @@ -1,19 +0,0 @@ -
- -
\ No newline at end of file diff --git a/templates/staff.html b/templates/staff.html deleted file mode 100644 index 3017f65c..00000000 --- a/templates/staff.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "base.html" %} -{% block title %}Home{% endblock %} -{% block content %} -
-

- This will be for staff only. Login required. -

-
-{% endblock %} \ No newline at end of file diff --git a/templates/staff/staff.html b/templates/staff/staff.html new file mode 100644 index 00000000..3017f65c --- /dev/null +++ b/templates/staff/staff.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{% block title %}Home{% endblock %} +{% block content %} +
+

+ This will be for staff only. Login required. +

+
+{% endblock %} \ No newline at end of file diff --git a/templates/ws_test.html b/templates/ws_test.html deleted file mode 100644 index 6ef1bb68..00000000 --- a/templates/ws_test.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "base.html" %} -{% block title %}WS Test{% endblock %} -{% block content %} -
-

Open your JS console to test

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