mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
style the send invitations page
This commit is contained in:
parent
35ea308a26
commit
ab44f253cd
3 changed files with 24 additions and 4 deletions
|
@ -73,6 +73,11 @@ div.topbar ul.secondary-nav { padding-right: 75px; }
|
||||||
margin-right: 100px;
|
margin-right: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.invites textarea{
|
||||||
|
width: 800px;
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
.footer{
|
.footer{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
|
|
|
@ -74,3 +74,12 @@
|
||||||
<button class="btn">Add a new user</button>
|
<button class="btn">Add a new user</button>
|
||||||
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
{% macro invites(form) %}
|
||||||
|
{{ form.hidden_tag() }}
|
||||||
|
{{ input(form.emails) }}
|
||||||
|
<div class="actions">
|
||||||
|
<button class="btn">Send the invitations</button>
|
||||||
|
<a href="{{ url_for("list_bills") }}">No, thanks</a>
|
||||||
|
</div>
|
||||||
|
{% endmacro %}
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
|
|
||||||
|
{% block sidebar %}
|
||||||
|
<ol>
|
||||||
|
<li>Create the project</li>
|
||||||
|
<li><strong>Invite people</strong></li>
|
||||||
|
<li><a href="{{ url_for("list_bills") }}">Use it!</a></li>
|
||||||
|
</ol>
|
||||||
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>Invite people to join this project</h2>
|
<h2>Invite people to join this project</h2>
|
||||||
<p>Specify a (coma separated) list of email adresses you want to notify about the
|
<p>Specify a (coma separated) list of email adresses you want to notify about the
|
||||||
|
@ -6,9 +14,7 @@ creation of this budget management project and we will send them an email for yo
|
||||||
<p>If you prefer, you can <a href="{{ url_for("list_bills") }}">skip this step</a> and notify them yourself</p>
|
<p>If you prefer, you can <a href="{{ url_for("list_bills") }}">skip this step</a> and notify them yourself</p>
|
||||||
|
|
||||||
{% include "display_errors.html" %}
|
{% include "display_errors.html" %}
|
||||||
<form method="post" accept-charset="utf-8">
|
<form class="invites" method="post" accept-charset="utf-8">
|
||||||
{{ form.hidden_tag() }}
|
{{ forms.invites(form) }}
|
||||||
<p>{{ form.emails.label }}<br /> {{ form.emails }}</p>
|
|
||||||
<p>{{ form.submit }} <a href="{{ url_for("list_bills") }}">No, thanks</a></p>
|
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue