-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
152 lines (147 loc) · 4.42 KB
/
index.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Get it done!</title>
<link rel="stylesheet" href="sass/main.css" />
<link
href="https://fonts.googleapis.com/css?family=Montserrat:500,700,900&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="bg-animation">
<ul class="box-area">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<div class="loader" id="preloader">
<article id="headers" class="black">
<div class="loader-inner">
<span id="block-1" class="block"></span>
<span id="block-2" class="block"></span>
<span id="block-3" class="block"></span>
<span id="block-4" class="block"></span>
<span id="block-5" class="block"></span>
<span id="block-6" class="block"></span>
<span id="block-7" class="block"></span>
<span id="block-8" class="block"></span>
<span id="block-9" class="block"></span>
<span id="block-10" class="block"></span>
<span id="block-11" class="block"></span>
<span id="block-12" class="block"></span>
<span id="block-13" class="block"></span>
<span id="block-14" class="block"></span>
<span id="block-15" class="block"></span>
<span id="block-16" class="block"></span>
</div>
</div>
<div id="menu-section">
<input type="checkbox" id="menu" />
<aside id="menu-controller">
<!-- <label for="menu" class="icon"></label> -->
<div class="hamburger"><div class="bar"></div></div>
</aside>
<div id="menu-dimmed-bg"></div>
<div id="menu-content">
<header>
<h4 class="bold">Get it done!</h4>
<!-- <label for="menu" class="icon"></label> -->
<div class="hamburger spare"><div class="bar"></div></div>
</header>
<section id="theme">
<h5 class="bold">
Theme:
<span
id="light"
class="current-theme"
onclick="updateTheme('light');"
>Light</span
>
<span id="dark" onclick="updateTheme('dark');">Dark</span>
</h5>
</section>
<section id="completed-tasks">
<h5 class="bold">Recently Completed Tasks</h5>
<ul id="completed-task-list">
<li class="invert">Walkcslk <span>Sept 12th</span></li>
<li class="invert">Walkcslk <span>Sept 12th</span></li>
<li class="invert">Walkcslk <span>Sept 12th</span></li>
<li class="invert">Walkcslk <span>Sept 12th</span></li>
</ul>
</section>
<h5 id="reset" class="bold" onclick="attemptReset();">Reset all</h5>
</div>
</div>
<section id="main">
<article id="headers" class="black">
<header>
<h1>To Do App</h1>
<h2>It helps you GET IT DONE!</h2>
</header>
<header>
<div>
<h3>Remaining Tasks</h3>
<h4 id="total">0</h4>
</div>
<div>
<h3>Completed Tasks</h3>
<h4 id="completed">12</h4>
</div>
</header>
</article>
<div id="priority-container">
<img class="priority" id="priority-low" src="./images/inactive-1.png" alt="">
<img class="priority" id="priority-mid" src="./images/inactive-1.png" alt="">
<img class="priority" id="priority-high" src="./images/inactive-1.png" alt="">
</div>
<article id="input-section" class="black">
<input
type="text"
id="task-input"
class="black"
placeholder="Create Task"
/>
<label>Press enter to create task!</label>
<input type="text" id="text-input-details" class="black" placeholder="Details">
</article>
<!-- <ul id="task-list" class="bold">
<li>Kem cho</li>
<li>Kem cho</li>
<li>Kem cho</li>
<li>Kem cho</li>
<li>Kem cho</li>
</ul> -->
<ul id="task-list">
<li>
<div class="notice"></div>
</li>
</ul>
</section>
<dialog id="modal">
<h2 class="bold">
This will reset all associated data. <br />
Are you sure you want to do that?
</h2>
<button class="black" onclick="reset(); closeModal();">Yes</button>
<button class="black" onclick="closeModal();">No</button>
</dialog>
<script src="js/jquery.min.js"></script>
<script src="js/date_format.js"></script>
<script src="js/storage.js"></script>
<script src="js/tasks.js"></script>
<script src="js/main.js"></script>
</body>
</html>