1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00
ihatemoney_ynh/budget/templates/home.html
Alexis Metaireau f61d1432c7 Translate the application using Flask-babel.
The only translation so far is french, but more can be added. The browser language
is used thanks to the HTTP languages headers.

There are still some problems with the translation of some strings, I don't know
why this is. See #12
2011-10-15 01:19:19 +02:00

42 lines
1.6 KiB
HTML

{% 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 %}