-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtaskint.html
More file actions
executable file
·54 lines (49 loc) · 1.18 KB
/
taskint.html
File metadata and controls
executable file
·54 lines (49 loc) · 1.18 KB
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
<head>
<title>Taskint</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
</head>
<body></body>
<template name="home">
<input type="text" accesskey="t" />
<ul id="lists">
{{#each lists}}
{{> list}}
{{/each}}
</ul>
</template>
<template name="list">
<li id="{{_id}}">
{{#if fixed}}
<span><a href="/{{owner}}">{{text}}</a></span>
{{#with topTask}}
<span class="subtext">({{text}})</span>
{{/with}}
{{else}}
<span><a href="/{{owner}}/{{text}}">{{text}}</a></span>
{{#with topTask}}
<span class="subtext">({{text}})</span>
{{/with}}
<span class="actions">
<span tabindex="0" title="Delete"> ✗ </span>
</span>
{{/if}}
</li>
</template>
<template name="tasklist">
<input id="list" type="hidden" value="{{_id}}" />
<input type="text" accesskey="t" />
<ul id="tasks">
{{#each tasks}}
{{> task}}
{{/each}}
</ul>
</template>
<template name="task">
<li id="{{_id}}">
<span>{{{text}}}</span>
<span class="actions">
<span tabindex="0" title="Delete"> ✗ </span>
</span>
</li>
</template>