aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates/home.html')
-rw-r--r--budget/templates/home.html27
1 files changed, 17 insertions, 10 deletions
diff --git a/budget/templates/home.html b/budget/templates/home.html
index 7d4dc32..7a0cafc 100644
--- a/budget/templates/home.html
+++ b/budget/templates/home.html
@@ -2,16 +2,23 @@
{% block content %}
<h2>Welcome on the budget manager</h2>
-
-<form class="span-12 prepend-2" action="{{ url_for('authenticate') }}" method="post" accept-charset="utf-8">
- <h3>Log to an existing project...</h3>
-
- {{ auth_form.hidden_tag() }}
-
- <p>{{ auth_form.id.label }}<br /> {{ auth_form.id }}</p>
- <p>{{ auth_form.password.label }}<br /> {{ auth_form.password }}</p>
- <p>{{ auth_form.submit }}</p>
-</form>
+<div class="span-12 prepend-2">
+ <form action="{{ url_for('authenticate') }}" method="post" accept-charset="utf-8">
+ <h3>Log to an existing project...</h3>
+
+ {{ auth_form.hidden_tag() }}
+
+ <p>{{ auth_form.id.label }}<br /> {{ auth_form.id }}</p>
+ <p>{{ auth_form.password.label }}<br /> {{ auth_form.password }}</p>
+ <p>{{ auth_form.submit }}</p>
+ </form>
+ <h3>Recently visisted projects</h3>
+ <ul>
+ {% for project in session['projects'] %}
+ <li>{{ project }}</li>
+ {% endfor %}
+ </ul>
+</div>
<form class="span-10 last" action="{{ url_for('create_project') }}" method="post" class="container span-24 add-bill">
<h3>...or create a new one</h3>