diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-21 21:16:32 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-21 21:16:32 +0200 |
| commit | ab44f253cd526be681bb4474562ce3a27f26699e (patch) | |
| tree | f2742ea23db28ad227e3e793e4c132427c445e79 /budget | |
| parent | 35ea308a2692365001dc88212999df9a041bdaf7 (diff) | |
| download | ihatemoney-mirror-ab44f253cd526be681bb4474562ce3a27f26699e.zip ihatemoney-mirror-ab44f253cd526be681bb4474562ce3a27f26699e.tar.gz ihatemoney-mirror-ab44f253cd526be681bb4474562ce3a27f26699e.tar.bz2 | |
style the send invitations page
Diffstat (limited to 'budget')
| -rw-r--r-- | budget/static/main.css | 5 | ||||
| -rw-r--r-- | budget/templates/forms.html | 9 | ||||
| -rw-r--r-- | budget/templates/send_invites.html | 14 |
3 files changed, 24 insertions, 4 deletions
diff --git a/budget/static/main.css b/budget/static/main.css index 8445aa5..279054b 100644 --- a/budget/static/main.css +++ b/budget/static/main.css @@ -73,6 +73,11 @@ div.topbar ul.secondary-nav { padding-right: 75px; } margin-right: 100px; } +.invites textarea{ + width: 800px; + height: 100px; +} + .footer{ position: absolute; bottom: 0px; diff --git a/budget/templates/forms.html b/budget/templates/forms.html index 690f59d..8ac458f 100644 --- a/budget/templates/forms.html +++ b/budget/templates/forms.html @@ -74,3 +74,12 @@ <button class="btn">Add a new user</button> {% 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 %} diff --git a/budget/templates/send_invites.html b/budget/templates/send_invites.html index fa46c81..bf018e2 100644 --- a/budget/templates/send_invites.html +++ b/budget/templates/send_invites.html @@ -1,4 +1,12 @@ {% 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 %} <h2>Invite people to join this project</h2> <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> {% include "display_errors.html" %} -<form method="post" accept-charset="utf-8"> - {{ form.hidden_tag() }} - <p>{{ form.emails.label }}<br /> {{ form.emails }}</p> - <p>{{ form.submit }} <a href="{{ url_for("list_bills") }}">No, thanks</a></p> +<form class="invites" method="post" accept-charset="utf-8"> + {{ forms.invites(form) }} </form> {% endblock %} |
