From e3d4fa4d9098e7186ec218dc8f6b577d453e045b Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Thu, 4 Jul 2019 11:59:52 +0200
Subject: [PATCH] Add modularity to base
---
app/templates/base.html.j2 | 49 +++++++++++++++++++++--------------
app/templates/sidenav.html.j2 | 15 +++++++++++
2 files changed, 44 insertions(+), 20 deletions(-)
create mode 100644 app/templates/sidenav.html.j2
diff --git a/app/templates/base.html.j2 b/app/templates/base.html.j2
index 505c3fc0..2428c68d 100644
--- a/app/templates/base.html.j2
+++ b/app/templates/base.html.j2
@@ -1,23 +1,32 @@
-
-
- {% if title %}
- Opaque – {{ title }}
- {% else %}
- Opaque
- {% endif %}
-
-
-
-
-
-
-
-
- {% block body %}
+
+
+
+
+ {% if title %}
+ Opaque – {{ title }}
+ {% else %}
+ Opaque
+ {% endif %}
+
+
+
+
+
+
+
+
+
+ {% include 'sidenav.html.j2' %}
- {% endblock %}
+ {% block body %}
+ {% endblock %}
-
-
-
+
+
+
+
+
+
diff --git a/app/templates/sidenav.html.j2 b/app/templates/sidenav.html.j2
new file mode 100644
index 00000000..c7a78287
--- /dev/null
+++ b/app/templates/sidenav.html.j2
@@ -0,0 +1,15 @@
+
+menu