From 1853e2e62f98ba2ff5e093a3f7eea4c4551acf27 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 24 Apr 2019 15:57:54 +0200 Subject: [PATCH] Top nav (TODO: flags) --- templates/layout/dash.html | 16 ++++---- .../includes/{nav.html => side_nav.html} | 1 - templates/layout/includes/top_nav.html | 41 +++++++++++++++++++ 3 files changed, 49 insertions(+), 9 deletions(-) rename templates/layout/includes/{nav.html => side_nav.html} (99%) create mode 100644 templates/layout/includes/top_nav.html diff --git a/templates/layout/dash.html b/templates/layout/dash.html index 8372a4b..302e565 100644 --- a/templates/layout/dash.html +++ b/templates/layout/dash.html @@ -9,15 +9,15 @@ {% endif %} - -
-
-{% include 'layout/includes/nav.html' %} -
-
+
+
+
+{% include 'layout/includes/side_nav.html' %} +
+
+{% include 'layout/includes/top_nav.html' %} {% block content %}{% endblock %} +
{% include 'layout/includes/boot-body.html' %} diff --git a/templates/layout/includes/nav.html b/templates/layout/includes/side_nav.html similarity index 99% rename from templates/layout/includes/nav.html rename to templates/layout/includes/side_nav.html index fe899ca..d835225 100644 --- a/templates/layout/includes/nav.html +++ b/templates/layout/includes/side_nav.html @@ -9,7 +9,6 @@ flex-direction: column; max-width: 100%; - width: 280px; height: 100%; } diff --git a/templates/layout/includes/top_nav.html b/templates/layout/includes/top_nav.html new file mode 100644 index 0000000..daf0278 --- /dev/null +++ b/templates/layout/includes/top_nav.html @@ -0,0 +1,41 @@ + + + \ No newline at end of file