mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
ef353d643c
This allows to isolate some behavior in the context of the web application so the API and the web application can behave in different ways.
41 lines
1.3 KiB
HTML
41 lines
1.3 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>
|
|
</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 %}
|