This repository was archived by the owner on Jul 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
130 lines (130 loc) · 3.72 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>To-do list</title>
</head>
<body>
<!-- Popup for Task add -->
<dialog id="add_task">
<form method="dialog">
<h2>Add Task</h2>
<div>
<label for="title">Title: </label>
<input type="text" id="title" name="title" required />
</div>
<div>
<label for="project">Project: </label>
<select name="project" id="project">
<option value="default">default</option>
</select>
</div>
<div>
<label>Priority: </label>
<div>
<input type="radio" name="priority" value="low" id="low" required />
<label for="low">Low</label>
<input type="radio" name="priority" value="medium" id="medium" />
<label for="medium">Medium</label>
<input type="radio" name="priority" value="high" id="high" />
<label for="high">High</label>
</div>
</div>
<div>
<label for="date">Due Date: </label>
<input type="date" id="date" name="date" required />
</div>
<button type="submit">Submit</button>
</form>
</dialog>
<!-- Popup for Project add -->
<dialog id="add_project">
<form method="dialog">
<h2>Add Project</h2>
<div>
<label for="prj_title">Title: </label>
<input type="text" id="prj_title" name="prj_title" required />
</div>
<div>
<label>Priority: </label>
<div>
<input
type="radio"
name="prj_priority"
value="low"
id="prj_low"
required
/>
<label for="prj_low">Low</label>
<input
type="radio"
name="prj_priority"
value="medium"
id="prj_medium"
/>
<label for="prj_medium">Medium</label>
<input
type="radio"
name="prj_priority"
value="high"
id="prj_high"
/>
<label for="prj_high">High</label>
</div>
</div>
<div>
<label for="prj_date">Due Date: </label>
<input type="date" id="prj_date" name="prj_date" required />
</div>
<button type="submit">Submit</button>
</form>
</dialog>
<!-- Add Button hoverbox -->
<div id="add_hoverbox">
<h4>Task</h4>
<h4>Project</h4>
</div>
<div id="header">
<svg
id="add_button"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
>
<path
fill="currentColor"
d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"
/>
</svg>
<svg
id="theme_button"
class="moon"
xmlns="http://www.w3.org/2000/svg"
viewBox="-2 -2 28 28"
>
<path
id="theme_path"
fill="currentColor"
d="M2 12A10 10 0 0 0 15 21.54A10 10 0 0 1 15 2.46A10 10 0 0 0 2 12Z"
/>
</svg>
</div>
<div id="content">
<div id="nav_bar">
<h2>Tasks:</h2>
<h3 id="task_today">Today</h3>
<h3 id="task_nextweek">This week</h3>
<h3 id="task_upcoming" class="active">All</h3>
<h3 id="task_missed">Past</h3>
<h3 id="task_priority">Priority</h3>
<h2>Projects:</h2>
<h3 id="project_upcoming">All</h3>
<h3 id="project_missed">Past</h3>
<h3 id="project_priority">Priority</h3>
</div>
<div id="wrapper">
<div id="right_side"></div>
</div>
</div>
</body>
</html>