added some documentation

This commit is contained in:
Arvid Norberg
2013-09-01 17:34:05 +00:00
parent d04748f1db
commit f3684db153
11 changed files with 229 additions and 21 deletions

View File

@@ -16,7 +16,7 @@ items = []
# todo-items
context = []
priority_count = [0, 0, 0, 0]
priority_count = [0, 0, 0, 0, 0]
def html_sanitize(s):
ret = ''
@@ -119,7 +119,7 @@ out.write('''<html><head>
<table width="100%%" border="1" style="border-collapse: collapse;">''' % \
(priority_count[3], priority_count[2], priority_count[1], priority_count[0]))
prio_colors = [ '#ccc', '#ccf', '#cfc', '#fcc']
prio_colors = [ '#ccc', '#ccf', '#cfc', '#fcc', '#fdd']
index = 0
for i in items: