diff options
| author | A.Avenel <avenel.alexandre@gmail.com> | 2011-11-02 14:36:16 +0100 |
|---|---|---|
| committer | A.Avenel <avenel.alexandre@gmail.com> | 2011-11-02 14:36:16 +0100 |
| commit | 66bd6268fad3b9e50dab568a12dee9ef0eece24d (patch) | |
| tree | 0e3ca6ef8d99b8aefea3d548764cf3ff5a10361b /budget/templates/layout.html | |
| parent | 94ab8fbcc35969f7b659bd1e7810074cd7f51fb4 (diff) | |
| parent | 0fe49c13d5512a2a172c47f3497c0442d909a040 (diff) | |
| download | ihatemoney-mirror-66bd6268fad3b9e50dab568a12dee9ef0eece24d.zip ihatemoney-mirror-66bd6268fad3b9e50dab568a12dee9ef0eece24d.tar.gz ihatemoney-mirror-66bd6268fad3b9e50dab568a12dee9ef0eece24d.tar.bz2 | |
Merge remote branches 'upstream/master' and 'origin/master'
Diffstat (limited to 'budget/templates/layout.html')
| -rw-r--r-- | budget/templates/layout.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/budget/templates/layout.html b/budget/templates/layout.html index c8f8df8..6ac0a3a 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -9,6 +9,8 @@ {% block head %}{% endblock %} <script type="text/javascript" charset="utf-8"> $(document).ready(function(){ + var left = window.innerWidth/2-$('.flash').width()/2; + $(".flash").css({ "left": left+"px", "top":"45px" }); setTimeout(function(){ $(".flash").fadeOut("slow", function () { $(".flash").remove(); @@ -80,13 +82,13 @@ <div class="container-fluid" style="height: 100%; padding-left: 10px;"> {% block sidebar %}{% endblock %} <div class="content" style="margin-left: 250px;"> - {% for message in get_flashed_messages() %} - <div class="flash alert-message info"><p>{{ message }}</p></div> - {% endfor %} {% block content %} {% endblock %} </div> </div> + {% for message in get_flashed_messages() %} + <div class="flash alert-message info" style="position:absolute;"><p>{{ message }}</p></div> + {% endfor %} {% endblock %} {% block footer %} <div id="footer"> |
