diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2017-02-15 20:42:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-15 20:42:48 +0100 |
| commit | 3dd7c67ecf5e2c5d21ec387bbd82e0fa3b90ad5b (patch) | |
| tree | f15a0a568faf6ea5e0c14abcef274f0c658c4b3f /budget/templates/home.html | |
| parent | bb5ad597f5b1f20e741be0b8ac1f54c1538df4a3 (diff) | |
| parent | 57596b5f46555b2163c849c83f97ac5d779d9b25 (diff) | |
| download | ihatemoney-mirror-3dd7c67ecf5e2c5d21ec387bbd82e0fa3b90ad5b.zip ihatemoney-mirror-3dd7c67ecf5e2c5d21ec387bbd82e0fa3b90ad5b.tar.gz ihatemoney-mirror-3dd7c67ecf5e2c5d21ec387bbd82e0fa3b90ad5b.tar.bz2 | |
Merge pull request #172 from JocelynDelalande/jd-bootstrap-4
WIP: Upgrade to bootstrap 4
Diffstat (limited to 'budget/templates/home.html')
| -rw-r--r-- | budget/templates/home.html | 30 |
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 %} |
