2011-07-29 15:44:15 +02:00
{% extends "layout.html" %}
2011-08-21 03:16:54 +02:00
2017-02-01 20:22:25 +01:00
{% block body %}
< header id = "header" class = "row" >
< div class = "col-5 offset-md-2" >
2012-04-05 15:40:09 +02:00
< 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 >
< / div >
2017-02-01 20:22:25 +01:00
< div class = "col-4" >
2012-04-05 15:40:09 +02:00
< 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 >
2017-02-01 20:22:25 +01:00
< / header >
2011-08-21 01:50:35 +02:00
2017-02-01 20:22:25 +01:00
< main class = "row home" >
< div class = "col-4 offset-md-2" >
2012-04-05 15:40:09 +02:00
< form id = "authentication-form" class = "form-horizontal" action = "{{ url_for(" . authenticate " ) } } " method = "post" >
2017-02-01 19:41:55 +01:00
< fieldset class = "form-group" >
2012-04-05 15:40:09 +02:00
< legend > {{ _("Log to an existing project") }}...< / legend >
{{ forms.authenticate(auth_form, home=True) }}
< / fieldset >
< div class = "controls" >
< button class = "btn" type = "submit" > {{ _("log in") }}< / button >
< a class = "password-reminder" href = "{{ url_for(" . remind_password " ) } } " > {{ _("can't remember your password?") }}< / a >
< / div >
2011-08-21 03:16:54 +02:00
< / form >
< / div >
2017-02-01 20:22:25 +01:00
< div class = "col-3 offset-md-1" >
2012-04-05 15:40:09 +02:00
< form id = "creation-form" class = "form-horizontal" action = "{{ url_for(" . create_project " ) } } " method = "post" >
2017-02-01 19:41:55 +01:00
< fieldset class = "form-group" >
2012-04-05 15:40:09 +02:00
< legend > ...{{ _("or create a new one") }}< / legend >
{{ forms.create_project(project_form, home=True) }}
< / fieldset >
< div class = "controls" >
< button class = "btn" type = "submit" > {{ _("let's get started") }}< / button >
< / div >
2011-08-21 03:16:54 +02:00
< / form >
2017-02-01 20:22:25 +01:00
< / main >
2011-08-21 01:50:35 +02:00
< / div >
2012-04-05 15:40:09 +02:00
{% endblock %}
{% block js %}
$('#creation-form #password').tooltip({
title: '{{ _("This access code will be sent to your friends. It is stored as-is by the server, so don\\'t reuse a personal password!") }}',
trigger: 'focus',
placement: 'right'
});
2011-07-29 15:44:15 +02:00
{% endblock %}