From a899e585ab6f7149ec541e9381b7e76fe9c69e73 Mon Sep 17 00:00:00 2001 From: Sunpy Date: Fri, 29 Mar 2019 11:00:04 +0100 Subject: [PATCH] Dash --- .gitignore | 1 + templates/layout/bootstrap.html | 10 ++-------- templates/layout/dash.html | 15 +++++++++++++++ templates/layout/includes/boot-body.html | 3 +++ templates/layout/includes/boot-head.html | 4 ++++ 5 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 templates/layout/dash.html create mode 100644 templates/layout/includes/boot-body.html create mode 100644 templates/layout/includes/boot-head.html diff --git a/.gitignore b/.gitignore index 898607e..ae76bde 100644 --- a/.gitignore +++ b/.gitignore @@ -96,3 +96,4 @@ ENV/ # Ignore self config config.json +.vscode/ diff --git a/templates/layout/bootstrap.html b/templates/layout/bootstrap.html index 93c1322..2cc0837 100644 --- a/templates/layout/bootstrap.html +++ b/templates/layout/bootstrap.html @@ -1,11 +1,7 @@ - - - - - +{% include 'includes/boot-head.html' %} {% if title %} Husstanden - {{ title }} {% else %} @@ -14,8 +10,6 @@ {% block content %}{% endblock %} - - - +{% include 'includes/boot-body.html' %} \ No newline at end of file diff --git a/templates/layout/dash.html b/templates/layout/dash.html new file mode 100644 index 0000000..2cc0837 --- /dev/null +++ b/templates/layout/dash.html @@ -0,0 +1,15 @@ + + + +{% include 'includes/boot-head.html' %} +{% if title %} + Husstanden - {{ title }} +{% else %} + Husstanden +{% endif %} + + +{% block content %}{% endblock %} +{% include 'includes/boot-body.html' %} + + \ No newline at end of file diff --git a/templates/layout/includes/boot-body.html b/templates/layout/includes/boot-body.html new file mode 100644 index 0000000..b9dc8f3 --- /dev/null +++ b/templates/layout/includes/boot-body.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/templates/layout/includes/boot-head.html b/templates/layout/includes/boot-head.html new file mode 100644 index 0000000..067de9e --- /dev/null +++ b/templates/layout/includes/boot-head.html @@ -0,0 +1,4 @@ + + + +