-
Notifications
You must be signed in to change notification settings - Fork 25
/
Tasks.html
76 lines (72 loc) · 1.81 KB
/
Tasks.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<head>
<title>Tasks</title>
</head>
<body>
{{> Main}}
</body>
<template name="Main">
{{#if SignedIn}}
{{> Tasks}}
{{else}}
{{> Login}}
{{/if}}
</template>
<template name="Login">
<div id="Login">
<div id="LoginTop" class="Clear">
<input type="text" id="Username">
<input type="password" id="Password">
</div>
<div id="ButtonRow" class="Clear">
<div id="LoginBButton" class="Clear"></div>
<div id="LoginButton" class="Clear"></div>
<div id="LoginAButton" class="Clear"></div>
<div id="PreloadButton"></div>
</div>
<div id="LoginBottom" class="Clear"></div>
</div>
</template>
<template name="Tasks">
<div id="Logo"></div>
<div id="Calendar" class="Clear">
<div id="CalendarTop" class="Clear">
<div id="DateStr">{{DateString}}</div>
<div id="LastMonth"></div>
<div id="NextMonth"></div>
</div>
<div id="CalendarDays" class="Clear">
<div id="NumberArea" class="Clear">
{{#each GetDays}}
<div class="Day{{Class}}">{{Number}}</div>
{{/each}}
</div>
</div>
<div id="CalendarBottom" class="Clear"></div>
</div>
<div id="Todos" class='Clear'>
<div id="TodosTop" class='Clear'>
<div id="TodosButton"></div>
<div id="TitleDate">{{DayString}}</div>
<div id="Preloader"></div>
</div>
{{#each TasksForDate}}
<div class="TodosRow Clear">
<div class="Close"></div>
{{#if this.Done}}
<div class="Checked" onclick="Check('{{this._id}}', true);"></div>
<div class="Task Done">
{{else}}
<div class="Unchecked" onclick="Check('{{this._id}}', false);"></div>
<div class="Task">
{{/if}}
{{#if Editing}}
<input id="TodosEdit" value="{{Name}}" autofocus="autofocus"></div>
{{else}}
<span class="RowText">{{Name}}</span></div>
{{/if}}
</div>
{{/each}}
<div id="TodosBottom" class='Clear'>
</div>
</div>
</template>