-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
136 lines (118 loc) · 7.91 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
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="author" content="Jimmy and Tommy">
<meta name="description" content="Todo list app project static">
<link rel="stylesheet" href="css/project.css">
<link rel="icon" type="png" href="img/icon.png">
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
crossorigin="anonymous">
<script src="https://kit.fontawesome.com/19e100562f.js" crossorigin="anonymous"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Todo list</title>
</head>
<body class="main-page-body">
<header>
<h1>Todo List</h1>
<nav><a href="#" class="username-link"><img src="img/user.jpg" alt="an user icon"></a></nav>
</header>
<main>
<div class="flex-container">
<form action="http://127.0.0.1:8080/" method="get" class="SearchBarForm">
<label for="search-text"></label>
<input type="text"/>
<button id="search-btn" class="search-btn">Search</button>
</form>
<tr><td><button onclick="location.href='https://info340c-sp24.github.io/project-tommy-s-team/group.html';" class="Categorization" type="button">Categorization</button></td></tr>
<div class="menu">
<table>
<tbody>
<div class="sort-box">
<tr>
<td>
<input type="checkbox" id="sort-check-box" name="sort-check-box">
<label for="sort-check-box" class="task-detail">Date</label>
</td>
</tr>
<tr>
<td>
<input type="checkbox" id="sort-check-box" name="sort-check-box">
<label for="sort-check-box" class="task-detail">Priority Level</label>
</td>
</tr>
<tr>
<td>
<input type="checkbox" id="sort-check-box" name="sort-check-box">
<label for="sort-check-box" class="task-detail">Name</label>
</td>
</tr>
<tr>
<td>
<div class="dropdown">
<button class="dropbtn">
Categories
</button>
<div class="dropdown-menu">
<input type="checkbox" id="cat-check-box" name="cat-check-box">
<label for="taskInput">Category 1</label>
<br>
<input type="checkbox" id="cat-check-box" name="cat-check-box">
<label for="taskInput">Category 2</label>
<br>
<input type="checkbox" id="cat-check-box" name="cat-check-box">
<label for="taskInput">Category 3</label>
<br>
</div>
</div>
</td>
</tr>
</div>
</tbody>
</table>
</div>
<div class="menu-small">
<button type="button" class="menu-btn">Menu</button>
<!-- On future, when click the button, the hidden menu should show up -->
</div>
<div class="todo-list-over-due">
<p class="title"><b>Over Due Date Tasks</b></p>
<div class="task">
<ol id="todo">
<li><input type="checkbox" id="task-check-box" name="task-check-box">
<label for="taskInput" class="task-detail">Info 340 Reading</label><strong class="date">03-19</strong><button class="detail-btn">Detail</button><button class="delete-btn">Delete</button></li>
<li><input type="checkbox" id="task-check-box" name="task-check-box">
<label for="taskInput" class="task-detail">Info 340 Problem Set</label><strong class="date">03-20</strong><button class="detail-btn">Detail</button><button class="delete-btn">Delete</button></li>
<li><input type="checkbox" id="task-check-box" name="task-check-box">
<label for="taskInput" class="task-detail">Info 340 Project and Group Meetting</label><strong class="date">03-20</strong><button class="detail-btn">Detail</button><button class="delete-btn">Delete</button></li>
<li><input type="checkbox" id="task-check-box" name="task-check-box">
<label for="taskInput" class="task-detail">This is a very long long long long long long long long task for testing</label><strong class="date">03-20</strong><button class="detail-btn">Detail</button><button class="delete-btn">Delete</button></li>
<!-- Expand when user input a task, on future, once user check the box, the task show be corssed showing the task finished -->
</ol>
</div>
</div>
<div class="todo-list">
<p class="title"><b>Upcoming Tasks</b></p>
<div class="task">
<ol id="todo">
<li><input type="checkbox" id="task-check-box" name="task-check-box">
<label for="taskInput" class="task-detail">Info 340 Reading</label><strong class="date">04-19</strong><button class="detail-btn">Detail</button><button class="delete-btn">Delete</button></li>
<li><input type="checkbox" id="task-check-box" name="task-check-box">
<label for="taskInput" class="task-detail">Info 340 Problem Set</label><strong class="date">04-20</strong><button class="detail-btn">Detail</button><button class="delete-btn">Delete</button></li>
<li><input type="checkbox" id="task-check-box" name="task-check-box">
<label for="taskInput" class="task-detail">Info 340 Project and Group Meetting</label><strong class="date">04-20</strong><button class="detail-btn">Detail</button><button class="delete-btn">Delete</button></li>
<li><input type="checkbox" id="task-check-box" name="task-check-box">
<label for="taskInput" class="task-detail">This is a very long long long long long long long long task for testing</label><strong class="date">04-20</strong><button class="detail-btn">Detail</button><button class="delete-btn">Delete</button></li>
<!-- Expand when user input a task, on future, once user check the box, the task show have some display showing the task finished -->
</ol>
</div>
<form action="https://info340c-sp24.github.io/project-tommy-s-team/add.html" method="get" class="AddForm"><button style='font-size:14px' id="add-btn"><i class='fas fa-plus'></i> Add Task</button></form>
</div>
</div>
</main>
<footer>
<p>© Info 340 Project <img src="img/todo.gif" alt="a gif showing a todo list"></p>
</footer>
</body>
</html>