-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (84 loc) · 2.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Todoit</title>
<link rel="stylesheet" href="css/main.css" />
</head>
<body>
<h1 class="title">Todoit</h1>
<!--backgroundColour switcher-->
<div class="toggle-container">
<label class="switch">
<input type="checkbox" id="toggle" />
<span class="slider round"></span>
</label>
</div>
<!--settings button-->
<button id="settings-btn">
<img src="/media/gear.png" alt="settings" width="24" height="24">
</button>
<div id="settings-popup" hidden>
<h2>Settings</h2>
<ul>
<label for="delete-profile">
<input type="checkbox" id="delete-profile" />
<span>Delete Profile</span>
</label>
</li>
</ul>
</div>
<!--time and date-->
<div id="date-time">
<p id="date"></p>
<p id="time"></p>
</div>
<!--tasks-->
<div class="all-tasks">
<h2 class="task-list-title">Lists</h2>
<ul class="task-list" lists-data-container></ul>
<form action="" new-list>
<input type="text" class="new list" new-list-data-input placeholder="New list name" aria-label="new list name" />
<button type="button" class="btn create" aria-label="Create new list">
+
</button>
</form>
</div>
<div class="todo-list" list-display-data-container>
<div class="todo-header">
<h2 class="list-title" title-list>Shopping</h2>
<p class="task-count" count-list>4 tasks remaining</p>
</div>
<div class="todo-body">
<div class="tasks" tasks-data></div>
<div class="new-task-creator">
<form action="" new-form-data-task>
<input type="text" new-input-task-data class="new task" placeholder="new task name" aria-label="New task name" />
<button type="button" class="btn create" aria-label="create new task">
+
</button>
</form>
</div>
<div class="delete-stuff">
<button type="button" class="btn delete" btn-clear-complete-tasks>
Delete Tasks
</button>
<button type="button" class="btn delete" delete-list>
Delete List
</button>
</div>
</div>
</div>
<template id="template-task">
<div class="task">
<input type="checkbox" />
<label>
<span class="custom-checkbox"></span>
</label>
</div>
</template>
<script defer src="script.js"></script>
</body>
</html>