From 1e3940870a27675a6e09f347915c4d9f57e4eeed Mon Sep 17 00:00:00 2001 From: root Date: Thu, 11 Dec 2008 10:36:05 +0100 Subject: add list template --- templates/list_projects.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 templates/list_projects.html diff --git a/templates/list_projects.html b/templates/list_projects.html new file mode 100644 index 0000000..9f922e8 --- /dev/null +++ b/templates/list_projects.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} +{% block title %}Project Listing{% endblock %} +{% block content %} +

public projects (good)

+ + + + + + {% for proj in public_projects %} + + + + + {% endfor %} +
project namedescription
{{ proj.1 }}{{ proj.2 }}
+

 

+

private projects (bad)

+ + + + + + {% for proj in private_projects %} + + + + + {% endfor %} +
project namedescription
{{ proj.1 }}{{ proj.2 }}
+{% endblock %} -- cgit v1.2.3