From 8d602926f15f34cce578e50dbaa5877f47a5318d Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 18 Nov 2014 05:18:46 +0100 Subject: templates/layout: add navbar for breadcrubs and login/logout links --- static/css/custom.css | 10 ++++++++++ templates/index.html | 2 -- templates/layout.html | 55 +++++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 55 insertions(+), 12 deletions(-) create mode 100644 static/css/custom.css diff --git a/static/css/custom.css b/static/css/custom.css new file mode 100644 index 0000000..2f86aee --- /dev/null +++ b/static/css/custom.css @@ -0,0 +1,10 @@ +.nav > .breadcrumb { + padding: 0 15px; + margin: 0; + background: none; +} + +.nav > .breadcrumb > li { + padding: 15px 0; +} + diff --git a/templates/index.html b/templates/index.html index c92a3a9..dddf664 100644 --- a/templates/index.html +++ b/templates/index.html @@ -33,6 +33,4 @@ - -Logout {% endblock %} diff --git a/templates/layout.html b/templates/layout.html index 7325543..80b69a3 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -12,23 +12,58 @@ + +
+ - {% for categorie, message in get_flashed_messages(with_categories=true) %} -- cgit v1.2.3-1-g7c22