From e946f3ae415dafba4898183de21caf93c9fbc93d Mon Sep 17 00:00:00 2001 From: Sunpy Date: Fri, 29 Mar 2019 15:14:45 +0100 Subject: [PATCH] Nav struct (unfinished) --- templates/home.html | 2 +- templates/layout/dash.html | 59 ++++++++++++++ templates/layout/includes/nav.html | 107 ++++++++++++++++++++++++++ templates/layout/includes/navref.html | 32 ++++++++ 4 files changed, 199 insertions(+), 1 deletion(-) create mode 100644 templates/layout/includes/nav.html create mode 100644 templates/layout/includes/navref.html diff --git a/templates/home.html b/templates/home.html index 9d5c54e..55932a7 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,6 +1,6 @@ {% set title = "Home" %} -{% extends "layout/bootstrap.html" %} +{% extends "layout/dash.html" %} {% block content %}

Template usage

diff --git a/templates/layout/dash.html b/templates/layout/dash.html index 48653a8..389200f 100644 --- a/templates/layout/dash.html +++ b/templates/layout/dash.html @@ -9,7 +9,66 @@ {% endif %} + +{% include 'layout/includes/nav.html' %} + +
+ + + +
+
{% block content %}{% endblock %} {% include 'layout/includes/boot-body.html' %} +
+ + + \ No newline at end of file diff --git a/templates/layout/includes/nav.html b/templates/layout/includes/nav.html new file mode 100644 index 0000000..c173448 --- /dev/null +++ b/templates/layout/includes/nav.html @@ -0,0 +1,107 @@ + +
+
+ +
+ +
\ No newline at end of file diff --git a/templates/layout/includes/navref.html b/templates/layout/includes/navref.html new file mode 100644 index 0000000..ff2d41f --- /dev/null +++ b/templates/layout/includes/navref.html @@ -0,0 +1,32 @@ +
+ + +
+ +
+ +
+
+ +
+
+ + +
+
+ +
\ No newline at end of file