From ab44f253cd526be681bb4474562ce3a27f26699e Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sun, 21 Aug 2011 21:16:32 +0200 Subject: [PATCH] style the send invitations page --- budget/static/main.css | 5 +++++ budget/templates/forms.html | 9 +++++++++ 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 @@ {% endmacro %} + +{% macro invites(form) %} + {{ form.hidden_tag() }} + {{ input(form.emails) }} +
+ + No, thanks +
+{% 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 %} +
    +
  1. Create the project
  2. +
  3. Invite people
  4. +
  5. Use it!
  6. +
+{% endblock %} {% block content %}

Invite people to join this project

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

If you prefer, you can skip this step and notify them yourself

{% include "display_errors.html" %} -
- {{ form.hidden_tag() }} -

{{ form.emails.label }}
{{ form.emails }}

-

{{ form.submit }} No, thanks

+ + {{ forms.invites(form) }}
{% endblock %}