From 44060f03dfd6fb9f1925496f06992984ef41062b Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sun, 27 Nov 2011 23:03:06 +0100 Subject: update bootstrap to the last version. Clean some css --- budget/templates/forms.html | 2 +- budget/templates/home.html | 2 +- budget/templates/layout.html | 10 ++++++---- budget/templates/list_bills.html | 3 +-- 4 files changed, 9 insertions(+), 8 deletions(-) (limited to 'budget/templates') diff --git a/budget/templates/forms.html b/budget/templates/forms.html index 9e5ecd6..08b8970 100644 --- a/budget/templates/forms.html +++ b/budget/templates/forms.html @@ -90,7 +90,7 @@ {% macro add_member(form) %} {{ form.hidden_tag() }} - {{ form.name(style="width: 141px;") }} + {{ form.name(class="menu-input") }} {% endmacro %} diff --git a/budget/templates/home.html b/budget/templates/home.html index 414e730..013cde7 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -17,7 +17,7 @@ {% endblock %} {% block container %} -
+
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 @@ }); - + {% macro translations() %}
  • fr
  • en
  • {% endmacro %}
    +

    {% if g.project %}
      @@ -76,18 +77,19 @@ {{ translations() }}
    {% endif %} +
    {% block header %}{% endblock %} {% block container %} -
    +
    {% block sidebar %}{% endblock %} -
    +
    {% block content %} {% endblock %}
    {% for message in get_flashed_messages() %} -

    {{ message }}

    +

    {{ message }}

    {% endfor %} {% endblock %} {% block footer %} diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index e62a3bc..8751e31 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -14,7 +14,7 @@ auto_hide_default_text('#name'); $(window).resize(function() { - $("#sidebar").height( window.innerHeight-40 ); + $("#sidebar").height( window.innerHeight-50 ); $("#table_overflow").height( $("#sidebar").height()-120 ); }); @@ -83,7 +83,6 @@ {% block sidebar %}