diff -r a9c458c7782a -r aea7e764c033 pytask/templates/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pytask/templates/index.html Fri Jan 29 19:27:26 2010 +0530 @@ -0,0 +1,22 @@ +{% extends 'base.html' %} +{% block content %} + {% if is_guest %} + Welcome Guest
+ Register + Login

+ Recent Tasks:
+ {% for task in task_list %} + {{ task.title }}
+ {% endfor %} + {% else %} + Welcome {{ user.username }}
+ logout
+
+ Tasks
+ Users
+ My Profile
+ {% endif %} + {% if can_create_task %} + Create a task
+ {% endif %} +{% endblock %}