aboutsummaryrefslogtreecommitdiff
path: root/budget/templates
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-11-27 23:03:06 +0100
committerAlexis Metaireau <alexis@notmyidea.org>2011-11-27 23:11:09 +0100
commit44060f03dfd6fb9f1925496f06992984ef41062b (patch)
treeb9d5539f48bbccce5109a09eb3434034fbf188b8 /budget/templates
parentbb146b09d7087a470d09dde7ff6122303f63a3d9 (diff)
downloadihatemoney-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')
-rw-r--r--budget/templates/forms.html2
-rw-r--r--budget/templates/home.html2
-rw-r--r--budget/templates/layout.html10
-rw-r--r--budget/templates/list_bills.html3
4 files changed, 9 insertions, 8 deletions
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") }}
<button class="btn">{{ _("Add") }}</button>
{% 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 %}
-<div class="container-fluid" style="margin-top: 20px; height: 100%;">
+<div class="container-fluid">
<div class="content home">
<div class="row">
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 %}
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 %}
<div id="sidebar" class="sidebar">
- <h2>{{ _("Balance") }}</h2>
<form action="{{ url_for(".add_member") }}" method="post">
{{ forms.add_member(member_form) }}