From 8dd2091f31305ebf1a33b6203de73c0ca7359c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Sureau?= Date: Fri, 29 Jul 2011 15:44:15 +0200 Subject: Homepage created and project authentication refactored --- budget/templates/home.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 budget/templates/home.html (limited to 'budget/templates/home.html') diff --git a/budget/templates/home.html b/budget/templates/home.html new file mode 100644 index 0000000..5fcdf90 --- /dev/null +++ b/budget/templates/home.html @@ -0,0 +1,28 @@ +{% extends "layout.html" %} + +{% block content %} +

Welcome on the budget manager

+ +
+

Log to an existing project...

+ + {{ auth_form.hidden_tag() }} + +

{{ auth_form.id.label }}
{{ auth_form.id }}

+

{{ auth_form.password.label }}
{{ auth_form.password }}

+

{{ auth_form.submit }}

+
+ +
+

...or create a new project

+ + {{ project_form.hidden_tag() }} + +

{{ project_form.name.label }}
{{ project_form.name }}

+

{{ project_form.id.label }}
{{ project_form.id }}

+

{{ project_form.password.label }}
{{ project_form.password }}

+

{{ project_form.contact_email.label }}
{{ project_form.contact_email }}

+

{{ project_form.submit }}

+
+ +{% endblock %} -- cgit v1.1