-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
102 lines (93 loc) · 3.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
<link
href="https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css"
/>
<!-- Date picker -->
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="./css/style.css" />
</head>
<body>
<div class="card">
<div class="card__header">
<img src="./img/X2oObC4.png" />
</div>
<!-- <h2>hello!</h2> -->
<div class="card__body">
<div class="filter-btn">
<a id="one" href="#"><i class="fa fa-check-circle"></i></a>
<a id="two" href="#"><i class="fa fa-sort-alpha-down"></i></a>
<a id="three" href="#"><i class="fa fa-sort-alpha-up"></i></a>
<a id="all" href="#"><i class="fa fa-clock"></i></a>
<span class="toggle-btn">
<i class="fa fa-filter"></i>
<i class="fa fa-times"></i>
</span>
</div>
<div class="card__content">
<div class="card__title">
<h2>My Tasks</h2>
<!-- <p>September 9,2020</p> -->
<p class="card__date">
<input type="text" id="datepicker">
<!-- <button class="addDate">
<i class="fa fa-calendar-alt"></i>
</button> -->
</p>
</div>
<div class="card__add">
<input
id="newTask"
type="text"
placeholder="Enter an activity..."
/>
<button id="addItem">
<i class="fa fa-plus"></i>
</button>
</div>
<div class="card__todo">
<!-- Uncompleted tasks -->
<ul class="todo" id="todo"></ul>
<!-- Completed tasks -->
<ul class="todo" id="completed"></ul>
</div>
</div>
</div>
</div>
<script
src="https://code.jquery.com/jquery-3.4.1.js"
integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
crossorigin="anonymous"
></script>
<script>
$(function () {
$(".toggle-btn").click(function () {
$(".filter-btn").toggleClass("open");
});
$(".filter-btn a").click(function () {
$(".filter-btn").removeClass("open");
});
});
</script>
<!-- Date Picker -->
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="./js/datepicker.js"></script>
<!-- THƯ VIỆN AXIOS -->
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<!-- MAIN -->
<script src="./js/Validation.js"></script>
<script src="./js/TaskService.js"></script>
<script src="./js/Task.js"></script>
<script src="./js/main.js"></script>
</body>
</html>