aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/layout.html
diff options
context:
space:
mode:
authorJocelyn Delalande <jocelyn@crapouillou.net>2017-02-01 20:22:25 +0100
committerJocelyn Delalande <jocelyn@crapouillou.net>2017-02-04 00:41:20 +0100
commita3cbede680f9623c7ab4071df9abf143dec64065 (patch)
treef3286c066271492914372f25169656e72dda5244 /budget/templates/layout.html
parent286213026982435e6e87cdbbd5dddcd80e925b91 (diff)
downloadihatemoney-mirror-a3cbede680f9623c7ab4071df9abf143dec64065.zip
ihatemoney-mirror-a3cbede680f9623c7ab4071df9abf143dec64065.tar.gz
ihatemoney-mirror-a3cbede680f9623c7ab4071df9abf143dec64065.tar.bz2
Refactor layout based on bootstrap 4 grid
Diffstat (limited to 'budget/templates/layout.html')
-rw-r--r--budget/templates/layout.html15
1 files changed, 8 insertions, 7 deletions
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 @@
</div>
</div>
-{% block header %}{% endblock %}
-{% block body %}
+</nav>
+
<div class="container-fluid">
+{% block body %}
{% block sidebar %}{% endblock %}
- <div class="content">
+ <main class="content offset-1 col-10">
{% block content %}{% endblock %}
- </div>
+ </main>
</div>
{% endblock %}
{% for message in get_flashed_messages() %}
-<div class="flash alert alert-success"><p>{{ message }}</p></div>
+<div class="flash alert alert-success">{{ message }}</div>
{% endfor %}
{% block footer %}
-<div id="footer">
+<footer>
<p><a href="https://github.com/spiral-project/ihatemoney">{{ _("This is a free software") }}</a>, {{ _("you can contribute and improve it!") }}</p>
-</div>
+</footer>
{% endblock %}
</body>