diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-11-27 23:03:06 +0100 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-11-27 23:11:09 +0100 |
| commit | 44060f03dfd6fb9f1925496f06992984ef41062b (patch) | |
| tree | b9d5539f48bbccce5109a09eb3434034fbf188b8 /budget/templates/layout.html | |
| parent | bb146b09d7087a470d09dde7ff6122303f63a3d9 (diff) | |
| download | ihatemoney-mirror-44060f03dfd6fb9f1925496f06992984ef41062b.zip ihatemoney-mirror-44060f03dfd6fb9f1925496f06992984ef41062b.tar.gz ihatemoney-mirror-44060f03dfd6fb9f1925496f06992984ef41062b.tar.bz2 | |
update bootstrap to the last version. Clean some css
Diffstat (limited to 'budget/templates/layout.html')
| -rw-r--r-- | budget/templates/layout.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/budget/templates/layout.html b/budget/templates/layout.html index 07d33d4..bd02435 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -42,12 +42,13 @@ }); </script> </head> -<body style="margin-top: 50px;"> +<body> {% macro translations() %} <li {% if g.lang == "fr" %}class="active"{% endif %}><a href="{{ url_for(".change_lang", lang="fr") }}">fr</a></li> <li {% if g.lang == "en" %}class="active"{% endif %}><a href="{{ url_for(".change_lang", lang="en") }}">en</a></li> {% endmacro %} <div class="topbar"> + <div class="fill"><div class="container-fluid"> <h3><a class="logo" href="{{ url_for(".home") }}">#! money?</a></h3> {% if g.project %} <ul> @@ -76,18 +77,19 @@ {{ translations() }} </ul> {% endif %} + </div></div> </div> {% block header %}{% endblock %} {% block container %} -<div class="container-fluid" style="height: 100%; padding-left: 10px;"> +<div class="container-fluid"> {% block sidebar %}{% endblock %} - <div class="content" style="margin-left: 250px;"> + <div class="content"> {% block content %} {% endblock %} </div> </div> {% for message in get_flashed_messages() %} - <div class="flash alert-message success" style="position:absolute;"><p>{{ message }}</p></div> + <div class="flash alert-message success"><p>{{ message }}</p></div> {% endfor %} {% endblock %} {% block footer %} |
