aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates/home.html')
-rw-r--r--budget/templates/home.html30
1 files changed, 12 insertions, 18 deletions
diff --git a/budget/templates/home.html b/budget/templates/home.html
index b9a2b46..399343a 100644
--- a/budget/templates/home.html
+++ b/budget/templates/home.html
@@ -1,26 +1,21 @@
{% extends "layout.html" %}
-{% block header %}
-<div id="header" class="container-fluid">
- <div class="row-fluid">
- <div class="span5 offset2">
+{% block body %}
+ <header id="header" class="row">
+ <div class="col-5 offset-md-2">
<h2>{{ _("Manage your shared <br>expenses, easily") }}</h2>
- <a href="{{ url_for(".demo") }}" class="tryout btn btn-inverse pull-right">{{ _("Try out the demo") }}</a>
+ <a href="{{ url_for(".demo") }}" class="tryout btn">{{ _("Try out the demo") }}</a>
</div>
- <div class="span4">
+ <div class="col-4">
<p class="additional-content">{{ _("You're sharing a house?") }}<br /> {{ _("Going on holidays with friends?") }}<br /> {{ _("Simply sharing money with others?") }} <br /><strong>{{ _("We can help!") }}</strong></p>
</div>
- </div>
-</div>
-{% endblock %}
+ </header>
-{% block body %}
-<div class="container-fluid">
- <div class="row-fluid home">
- <div class="span4 offset2">
+ <main class="row home">
+ <div class="col-4 offset-md-2">
<form id="authentication-form" class="form-horizontal" action="{{ url_for(".authenticate") }}" method="post">
- <fieldset>
+ <fieldset class="form-group">
<legend>{{ _("Log to an existing project") }}...</legend>
{{ forms.authenticate(auth_form, home=True) }}
</fieldset>
@@ -30,9 +25,9 @@
</div>
</form>
</div>
- <div class="span4">
+ <div class="col-3 offset-md-1">
<form id="creation-form" class="form-horizontal" action="{{ url_for(".create_project") }}" method="post">
- <fieldset>
+ <fieldset class="form-group">
<legend>...{{ _("or create a new one") }}</legend>
{{ forms.create_project(project_form, home=True) }}
</fieldset>
@@ -40,9 +35,8 @@
<button class="btn" type="submit">{{ _("let's get started") }}</button>
</div>
</form>
- </div>
+ </main>
</div>
-</div>
{% endblock %}
{% block js %}