-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
54 lines (53 loc) · 2.18 KB
/
main.html
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<script type="text/javascript" src="/files/jquery.js"></script>
<script type="text/javascript" src="/files/jquery-ui.js"></script>
<script type="text/javascript" src="/files/scripts.js"></script>
<script type="text/javascript" src="/files/jquery.autoresize.js"></script>
<link type="text/css" rel="stylesheet" href="/files/main.css" />
<link type="text/css" rel="stylesheet" href="/files/jquery.css" />
<title>mkromgmt</title>
</head>
<body>
<div id="wrapper">
<div id="status_indicator">saved!</div>
<div id="menu">
<span class="app_name">MKROMGMT</span> / <a href="/settings">SETTINGS</a> / <a href="mailto:[email protected]?subject=your app sucks and here's why">COMPLAIN</a>
/ <a href="/logout">LOGOUT</a>
</div>
<table id="days">
<tbody>
<tr id="category_headers">
<td class="spacer"></td>
<td class="spacer"></td>
{% for category in categories %}
<td colspan="{{category.num_tasks}}" id="category-{{ category.id }}"
class="category_header category_{{category.id}}">{{category.name}}</td>
{% endfor %}
</tr>
<tr id="task_headers">
<td class="spacer"></td>
<td class="spacer"></td>
{% for task in tasks %}
<td id="task-{{task.id}}" class="task_header">{{task.name}}</td>
{% endfor %}
</tr>
{% for date in dates %}
<tr class="date" id="date-{{forloop.counter}}">
<td class="journal_toggle">▼</td>
<td class="date_label">{{ date }}</td>
{% for task in tasks %}
<td id="{{forloop.parentloop.counter}}-{{task.id}}"
class="task category_{{task.category_id}}"></td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
<div id="journal">
<textarea>(click on a date above to save notes about that day)</textarea>
</div>
</div>
</body>
</html>