From 2fdc86136d402b822e6cc693d9bd29615f7fce0d Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sun, 21 Aug 2011 01:50:35 +0200 Subject: [PATCH] minor changes to the homepage --- budget/templates/home.html | 30 +++++++++++++++------------ budget/templates/recent_projects.html | 2 +- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/budget/templates/home.html b/budget/templates/home.html index 21de4f1..c956ee3 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -1,21 +1,25 @@ {% extends "layout.html" %} +{% block sidebar %} +{% include "recent_projects.html" %} +{% endblock %} + {% block content %}

Welcome on the budget manager

-
-
-

Log to an existing project...

- {{ forms.authenticate(auth_form) }} -
- {% include "recent_projects.html" %} -
- -
-
-

...or create a new one

- {{ forms.create_project(project_form) }}
- +
+
+
+

Log to an existing project...

+ {{ forms.authenticate(auth_form) }} +
+
+
+
+

...or create a new one

+ {{ forms.create_project(project_form) }}
+ +
{% endblock %} diff --git a/budget/templates/recent_projects.html b/budget/templates/recent_projects.html index 9769c59..91e1dd6 100644 --- a/budget/templates/recent_projects.html +++ b/budget/templates/recent_projects.html @@ -1,5 +1,5 @@ {% if 'projects' in session %} -

Recently visited projects

+

Your projects