From 87d2dea9c8d97bc9373dd16e921606635ef6795b Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Mon, 30 Jan 2017 23:23:03 +0100 Subject: Factor navbar between list_bills and settle_bill --- budget/templates/layout.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'budget/templates/layout.html') diff --git a/budget/templates/layout.html b/budget/templates/layout.html index 543bcb3..ccf958f 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -42,8 +42,8 @@ {% if g.project %} {% endif %} -- cgit v1.1 From 37da1db38ac17209f6ab6832a0bf5052ae81475b Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Wed, 1 Feb 2017 19:14:49 +0100 Subject: Update bootstrap dependency to bootstrap 4 --- budget/templates/layout.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'budget/templates/layout.html') diff --git a/budget/templates/layout.html b/budget/templates/layout.html index ccf958f..7b44638 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -5,8 +5,9 @@ {{ _("Account manager") }}{% block title %}{% endblock %} - + + {% block head %}{% endblock %} -- cgit v1.1 From a3cbede680f9623c7ab4071df9abf143dec64065 Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Wed, 1 Feb 2017 20:22:25 +0100 Subject: Refactor layout based on bootstrap 4 grid --- budget/templates/layout.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'budget/templates/layout.html') diff --git a/budget/templates/layout.html b/budget/templates/layout.html index 7b44638..e9adb30 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -73,25 +73,26 @@ -{% block header %}{% endblock %} -{% block body %} + +
+{% block body %} {% block sidebar %}{% endblock %} -
+
{% block content %}{% endblock %} -
+
{% endblock %} {% for message in get_flashed_messages() %} -

{{ message }}

+
{{ message }}
{% endfor %} {% block footer %} - + {% endblock %} -- cgit v1.1 From c6c5f8657e3935da98c537fe75ab2eefe8751b6c Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Thu, 2 Feb 2017 11:48:40 +0100 Subject: Adapt navigation bar to bootstrap 4 Also fixed some weird alignment issues. I think this will need more work later (revamp the navbar layout to avoid that sensation of thing which are floating at random places in the navbar). --- budget/templates/layout.html | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) (limited to 'budget/templates/layout.html') diff --git a/budget/templates/layout.html b/budget/templates/layout.html index e9adb30..50f3019 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -14,7 +14,7 @@ - {% block head %}{% endblock %}