-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
154 lines (130 loc) · 5.34 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
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="To-Do-List">
<meta name="keywords" content="organizer, tasks, list">
<meta name="author" content="Michal Szwajgier">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TO-DO LIST</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Cairo&family=Reggae+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="organizer">
<header>
<h1 class="title">TO-DO LIST</h1>
</header>
<main>
<section class="form">
<div class="container">
<form>
<h1 class="section-title">New Task</h1>
<input class="task-theme" name="task-theme" type="text" placeholder="Task theme">
<div>
<input class="task-date" name="task-date" type="date">
<input class="task-time" name="task-time" type="time">
</div>
<textarea class="task-contents" name="task-contents" rows="3" placeholder="Task contents"></textarea>
<button class="btn">+</button>
</form>
</div>
</section>
<section class="tasks">
<div class="container">
<h1 class="section-title">Task List</h1>
<div class="tasks-list">
<ul>
<script id="template-task" type="text/x-handlebars-template">
<li
class="task-wrapper task-wrapper-{{ id }} task-active"
data-theme="{{ theme }}"
data-date="{{ date }}"
>
<div class="task-main task-id-{{ id }}">
<div class="task-main-data">
<i class="fas fa-layer-group"></i>
<p id="task-{{ id }}-theme">{{ theme }}</p>
</div>
<div class="task-main-data">
<i class="far fa-calendar-alt"></i>
<p id="task-{{ id }}-date">{{ date }}</p>
</div>
<div class="task-main-data">
<i class="far fa-clock"></i>
<p id="task-{{ id }}-time">{{ time }}</p>
</div>
<div class="task-accordion">
<p class="btn btn-accordion"><i class="fas fa-bars"></i></p>
</div>
<div class="task-accordion">
<p class="btn btn-done"><i class="fas fa-check"></i></p>
</div>
<div class="task-accordion">
<p class="btn btn-remove"><i class="fas fa-times"></i></p>
</div>
</div>
<div class="task-content task-content-{{ id }}">
<p>{{ contents }}</p>
</div>
</li>
</script>
</ul>
</div>
</div>
</section>
<section class="tags">
<div class="container">
<div class="tags-list tags-theme">
<ul>
<i>themses -> </i>
<li><a class="tag-theme-wrapper-all" href="#">ALL</a></li>
<script id="template-tag-theme" type="text/x-handlebars-template">
<li
class="tag-theme-wrapper-{{ id }}"
data-theme="{{ theme }}"
>
<a href="#">{{ theme }}</a>
</li>
</script>
</ul>
</div>
<div class="tags-list tags-date">
<ul>
<i>dates -> </i>
<li><a class="tag-date-wrapper-all" href="#">ALL</a></li>
<script id="template-tag-date" type="text/x-handlebars-template">
<li
class="tag-date-wrapper-{{ id }}"
data-date="{{ date }}"
>
<a href="#">{{ date }}</a>
</li>
</script>
</ul>
</div>
</div>
</section>
</main>
<footer>
<div class="container container-flex">
<div class="wrapper wrapper-left">
<h3 class="author">©WEBSTER<span>2020</span></h3>
</div>
<div class="wrapper wrapper-right">
<ul>
<li><a href="#"><i class="fab fa-facebook-square"></a></i></li>
<li><a href="#"><i class="fab fa-twitter-square"></a></i></li>
<li><a href="#"><i class="fab fa-google-plus-square"></a></i></li>
</ul>
</div>
</div>
</footer>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.0/handlebars.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>
</html>