mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
63 lines
2.1 KiB
HTML
63 lines
2.1 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">
|
|
<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>
|
|
<script>
|
|
$(document).ready(function(){
|
|
$('form.create #password').qtip({
|
|
content: '{{ _("This access code will be sent to your friends. It is stored as-is by the server, so don\\'t reuse a personal password here!") }}',
|
|
show: {
|
|
event: 'focus'
|
|
},
|
|
hide: {
|
|
event: 'focusout'
|
|
},
|
|
position: {
|
|
my: "bottom center",
|
|
at: "top center",
|
|
adjust: {
|
|
method: 'shift'
|
|
}
|
|
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
{% endblock %}
|