aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/home.html
blob: 1073a493f6f7c7bef91951f1f209ddc67cebf08e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{% extends "layout.html" %}


{% block sidebar_wrapper %}{% endblock %}

{% block header %}
<div id="header">
    <div class="slide">
        <h1><span>{{ _("Manage your shared <br>expenses, easily") }}</span></h1>
        <a href="{{ url_for(".demo") }}" class="about_link">{{ _("Try out the demo")  }}</a>
    </div>
    <div class="additional-content">
        <p>{{ _("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>
{% endblock %}

{% block container %}
<div class="container-fluid" style="margin-top: 20px">
    <div class="content home">

      <div class="row">
        <div class="span8 columns">
            <form action="{{ url_for(".authenticate") }}" method="post">
                <h3>{{ _("Log to an existing project") }}...</h3>
                {{ forms.authenticate(auth_form, home=True) }}
                <button class="btn">{{ _("log in") }}</button>
                <a class="password-reminder" href="{{ url_for(".remind_password") }}">{{ _("can't remember your password?") }}</a>
            </form>
        </div>
        <div class="span8 columns">
            <form class="create" action="{{ url_for(".create_project") }}" method="post">
                <h3>...{{ _("or create a new one") }}</h3>
                {{ forms.create_project(project_form, home=True) }}
                <button class="btn">{{ _("let's get started") }}</button>
            </form>
        </div>
    </div>
    </div>
</div>
{% endblock %}