-
Notifications
You must be signed in to change notification settings - Fork 0
/
dash.tpl
30 lines (30 loc) · 747 Bytes
/
dash.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="/static/css/foundation.min.css"/>
<link rel="stylesheet" type="text/css" href="/static/css/style.css"/>
<meta http-equiv="refresh" content="10"/>
</head>
<body>
%for category, todos in data:
<div class="row">
<div class="twelve columns">
<h4>{{ category }}</h4>
</div>
<div class="twelve columns">
<dl class="nice vertical tabs">
%for done, t in todos:
<!--<div class="twelve columns">-->
%if done:
<dd class="done">{{ t }}</dd>
%else:
<dd class="pending">{{ t }}</dd>
%end
<!--</div>-->
%end
</dl>
</div>
</div>
%end
</body>
</html>