From fe39258630e55d4a3e1297a01a1c8fd39bad3a4e Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Sat, 4 Feb 2017 00:29:10 +0100 Subject: [PATCH] Adapt list bills view to bootstrap 4 - modal classes and hierarchy changed since BS2 - striped tables are now handled by css3 pseudo-class rather than classes - fix placement/alignment for the button and comment above the table --- budget/static/css/main.css | 5 +++++ budget/templates/list_bills.html | 22 +++++++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/budget/static/css/main.css b/budget/static/css/main.css index 8d73e70..eded897 100644 --- a/budget/static/css/main.css +++ b/budget/static/css/main.css @@ -121,6 +121,11 @@ footer{ float: right; } +#new-bill, .identifier { + margin-top: 16px; + margin-bottom: 16px; +} + .password-reminder{ float: right; margin-right: 20px; diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index 69a1692..1eb5356 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -87,22 +87,26 @@
{{ _("The project identifier is") }} {{ g.project.id }}, {{ _("remember it!") }}
{{ _("Add a new bill") }} -