-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
351 lines (319 loc) · 14.2 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<meta name="generator" content="">
<title>Task Management</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/1.2.0/tailwind.css" integrity="sha256-omoEEr6PL5TkUdwCSI2+Ge6PNmBqlvyQTAiG9QyYL1A=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/brands.min.css" integrity="sha256-wfbbsQFYKnizQi/WLPXS3wVDu0Dpi2yUQpZBDsb2H1s=" crossorigin="anonymous" />
<style>
input:checked + svg {
display: block;
}
</style>
</head>
<body class="font-sans antialiased bg-gray-900">
<!-- Two columns -->
<div class="md:flex p-4 h-screen">
<div class="md:w-1/2">
<div class="hidden md:block">
<a href="#" class="bg-gray-800 hover:bg-gray-700 text-white font-bold py-2 px-4 rounded">
<i class="fas fa-stream"></i>
</a>
</div>
<div class="md:w-2/3 mx-auto">
<div class="top md:mt-32 mt-4 px-2">
<h1 class="text-gray-200 text-3xl font-bold">Hi James</h1>
<h3 class="text-gray-600 text-md">Welcome to the workplace!</h3>
<input class="mt-5 bg-gray-800 focus:outline-none focus:shadow-outline border border-gray-800 rounded-lg py-2 px-4 block w-full appearance-none leading-normal" type="email" placeholder="Search">
</div>
<div class="projects mt-16">
<h5 class="text-white px-2">Projects <span class="text-gray-600">(10)</span></h5>
<div class="flex flex-wrap mt-2">
<div class="w-1/4 p-2">
<a href="javascript:void(0)">
<div class="border border-green-400 hover:bg-green-400 rounded-lg">
<div class="bg-green-400 text-center text-white text-xl rounded-lg p-4 md:p-6 m-2">
BB
</div>
</div>
<p class="text-sm text-gray-600 mb-4 mt-2 text-center">Blue Ball</p>
</a>
</div>
<div class="w-1/4 p-2">
<a href="javascript:void(0)">
<div class="border border-yellow-400 hover:bg-yellow-400 rounded-lg">
<div class="bg-yellow-400 text-center text-white text-xl rounded-lg p-4 md:p-6 m-2">
CP
</div>
</div>
<p class="text-sm text-gray-600 mb-4 mt-2 text-center">Cyber Punk</p>
</a>
</div>
<div class="w-1/4 p-2">
<a href="javascript:void(0)">
<div class="border border-pink-400 bg-pink-400 rounded-lg">
<div class="bg-pink-400 text-center text-white text-xl rounded-lg p-4 md:p-6 m-2">
YH
</div>
</div>
<p class="text-sm text-gray-600 mb-4 mt-2 text-center">Yellow House</p>
</a>
</div>
<div class="w-1/4 p-2">
<a href="javascript:void(0)">
<div class="border border-blue-400 hover:bg-blue-400 rounded-lg">
<div class="bg-blue-400 text-center text-white text-xl rounded-lg p-4 md:p-6 m-2">
TU
</div>
</div>
<p class="text-sm text-gray-600 mb-4 mt-2 text-center">True Unix</p>
</a>
</div>
<div class="w-1/4 p-2">
<a href="javascript:void(0)">
<div class="border border-purple-400 hover:bg-purple-400 rounded-lg">
<div class="bg-purple-400 text-center text-white text-xl rounded-lg p-4 md:p-6 m-2">
SP
</div>
</div>
<p class="text-sm text-gray-600 mb-4 mt-2 text-center">Server Prank</p>
</a>
</div>
<div class="w-1/4 p-2 hidden" id="project-3">
<a href="javascript:void(0)">
<div class="border border-indigo-400 hover:bg-indigo-400 rounded-lg">
<div class="bg-indigo-400 text-center text-white text-xl rounded-lg p-4 md:p-6 m-2">
TH
</div>
</div>
<p class="text-sm text-gray-600 mb-4 mt-2 text-center">Tall House</p>
</a>
</div>
<div class="w-1/4 p-2 hidden" id="project-4">
<a href="javascript:void(0)">
<div class="border border-teal-400 hover:bg-teal-400 rounded-lg">
<div class="bg-teal-400 text-center text-white text-xl rounded-lg p-4 md:p-6 m-2">
SB
</div>
</div>
<p class="text-sm text-gray-600 mb-4 mt-2 text-center">Search Bug</p>
</a>
</div>
<div class="w-1/4 p-2">
<a href="javascript:void(0)" id="moreprojects">
<div class="border border-gray-800 hover:bg-gray-800 rounded-lg">
<div class="bg-gray-800 text-center text-white text-xl rounded-lg p-4 md:p-6 m-2">
2+
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="md:w-1/2 bg-gray-100 rounded-lg">
<div class="hidden md:block p-4 float-right">
<a href="javascript:void(0)" class="bg-gray-800 hover:bg-gray-700 text-white font-bold py-2 px-4 rounded">
<i class="fas fa-plus"></i>
</a>
</div>
<div class="md:p-12 p-4 mx-auto">
<div class="top">
<h1 class="text-3xl text-gray-900 font-bold">Yellow House</h1>
<h3 class="text-md text-gray-600">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</h3>
</div>
<div class="middle mt-16">
<h1 class="text-2xl text-gray-900 font-bold">Today <i class="fas fa-ellipsis-h text-gray-400 float-right"></i></h1>
<hr class="mt-4 mb-4">
<div class="mb-3 flex">
<div class="w-4/5">
<label class="flex justify-start items-start">
<div class="bg-white border-2 rounded-full border-gray-400 w-6 h-6 flex flex-shrink-0 justify-center items-center mr-4 focus-within:border-blue-500">
<input type="checkbox" class="opacity-0 absolute" id="task-1">
<svg class="fill-current hidden w-4 h-4 text-green-300 pointer-events-none" viewBox="0 0 20 20"><path d="M0 11l2-2 5 5L18 3l2 2L7 18z"/></svg>
</div>
<div class="select-none text-gray-700" id="task-text-1">
<a href="task.html" class="hover:text-gray-500">Lorem Ipsum is simply dummy text</a>
</div>
</label>
</div>
<div class="w-1/5">
<span class="float-right rounded-full bg-indigo-200 text-indigo-500 uppercase px-2 py-1 text-xs font-bold w-24 text-center">Design</span>
</div>
</div>
<div class="mb-3 flex">
<div class="w-4/5">
<label class="flex justify-start items-start">
<div class="bg-white border-2 rounded-full border-gray-400 w-6 h-6 flex flex-shrink-0 justify-center items-center mr-4 focus-within:border-blue-500">
<input type="checkbox" class="opacity-0 absolute" id="task-2">
<svg class="fill-current hidden w-4 h-4 text-green-300 pointer-events-none" viewBox="0 0 20 20"><path d="M0 11l2-2 5 5L18 3l2 2L7 18z"/></svg>
</div>
<div class="select-none text-gray-700" id="task-text-2">
<a href="javascript:void(0)" class="hover:text-gray-500">Lorem Ipsum is simply dummy text</a>
</div>
</label>
</div>
<div class="w-1/5">
<span class="float-right rounded-full bg-red-200 text-red-500 uppercase px-2 py-1 text-xs font-bold w-24 text-center">Web</span>
</div>
</div>
<div class="mb-3 flex">
<div class="w-4/5">
<label class="flex justify-start items-start">
<div class="bg-white border-2 rounded-full border-gray-400 w-6 h-6 flex flex-shrink-0 justify-center items-center mr-4 focus-within:border-blue-500">
<input type="checkbox" class="opacity-0 absolute" id="task-3" checked>
<svg class="fill-current hidden w-4 h-4 text-green-300 pointer-events-none" viewBox="0 0 20 20"><path d="M0 11l2-2 5 5L18 3l2 2L7 18z"/></svg>
</div>
<div class="select-none text-gray-500 line-through" id="task-text-3">
<a href="javascript:void(0)" class="hover:text-gray-500">Lorem Ipsum is simply dummy text</a>
</div>
</label>
</div>
<div class="w-1/5">
<span class="float-right rounded-full bg-yellow-200 text-yellow-500 uppercase px-2 py-1 text-xs font-bold w-24 text-center">Code</span>
</div>
</div>
<div class="mb-3 flex">
<div class="w-4/5">
<label class="flex justify-start items-start">
<div class="bg-white border-2 rounded-full border-gray-400 w-6 h-6 flex flex-shrink-0 justify-center items-center mr-4 focus-within:border-blue-500">
<input type="checkbox" class="opacity-0 absolute" id="task-4" checked>
<svg class="fill-current hidden w-4 h-4 text-green-300 pointer-events-none" viewBox="0 0 20 20"><path d="M0 11l2-2 5 5L18 3l2 2L7 18z"/></svg>
</div>
<div class="select-none text-gray-500 line-through" id="task-text-4">
<a href="javascript:void(0)" class="hover:text-gray-500">Lorem Ipsum is simply dummy text</a>
</div>
</label>
</div>
<div class="w-1/5">
<span class="float-right rounded-full bg-green-200 text-green-500 uppercase px-2 py-1 text-xs font-bold w-24 text-center">Resource</span>
</div>
</div>
</div>
<div class="middle mt-16">
<h1 class="text-2xl text-gray-900 font-bold">Upcoming <i class="fas fa-ellipsis-h text-gray-400 float-right"></i></h1>
<hr class="mt-4 mb-4">
<div class="mb-3 flex">
<div class="w-4/5">
<label class="flex justify-start items-start">
<div class="bg-white border-2 rounded-full border-gray-400 w-6 h-6 flex flex-shrink-0 justify-center items-center mr-4 focus-within:border-blue-500">
<input type="checkbox" class="opacity-0 absolute">
<svg class="fill-current hidden w-4 h-4 text-green-300 pointer-events-none" viewBox="0 0 20 20"><path d="M0 11l2-2 5 5L18 3l2 2L7 18z"/></svg>
</div>
<div class="select-none text-gray-700">
<a href="javascript:void(0)" class="hover:text-gray-500">Lorem Ipsum is simply dummy text</a>
</div>
</label>
</div>
<div class="w-1/5">
<span class="float-right rounded-full bg-gray-200 text-gray-500 uppercase px-2 py-1 text-xs font-bold w-24 text-center">Waiting</span>
</div>
</div>
<div class="mb-3 flex">
<div class="w-4/5">
<label class="flex justify-start items-start">
<div class="bg-white border-2 rounded-full border-gray-400 w-6 h-6 flex flex-shrink-0 justify-center items-center mr-4 focus-within:border-blue-500">
<input type="checkbox" class="opacity-0 absolute">
<svg class="fill-current hidden w-4 h-4 text-green-300 pointer-events-none" viewBox="0 0 20 20"><path d="M0 11l2-2 5 5L18 3l2 2L7 18z"/></svg>
</div>
<div class="select-none text-gray-700">
<a href="javascript:void(0)" class="hover:text-gray-500">Lorem Ipsum is simply dummy text</a>
</div>
</label>
</div>
<div class="w-1/5">
<span class="float-right rounded-full bg-gray-200 text-gray-500 uppercase px-2 py-1 text-xs font-bold w-24 text-center">Waiting</span>
</div>
</div>
<div class="mb-3 flex">
<div class="w-4/5">
<label class="flex justify-start items-start">
<div class="bg-white border-2 rounded-full border-gray-400 w-6 h-6 flex flex-shrink-0 justify-center items-center mr-4 focus-within:border-blue-500">
<input type="checkbox" class="opacity-0 absolute">
<svg class="fill-current hidden w-4 h-4 text-green-300 pointer-events-none" viewBox="0 0 20 20"><path d="M0 11l2-2 5 5L18 3l2 2L7 18z"/></svg>
</div>
<div class="select-none text-gray-700">
<a href="javascript:void(0)" class="hover:text-gray-500">Lorem Ipsum is simply dummy text</a>
</div>
</label>
</div>
<div class="w-1/5">
<span class="float-right rounded-full bg-gray-200 text-gray-500 uppercase px-2 py-1 text-xs font-bold w-24 text-center">Waiting</span>
</div>
</div>
<div class="mb-3 flex">
<div class="w-4/5">
<label class="flex justify-start items-start">
<div class="bg-white border-2 rounded-full border-gray-400 w-6 h-6 flex flex-shrink-0 justify-center items-center mr-4 focus-within:border-blue-500">
<input type="checkbox" class="opacity-0 absolute">
<svg class="fill-current hidden w-4 h-4 text-green-300 pointer-events-none" viewBox="0 0 20 20"><path d="M0 11l2-2 5 5L18 3l2 2L7 18z"/></svg>
</div>
<div class="select-none text-gray-700">
<a href="javascript:void(0)" class="hover:text-gray-500">Lorem Ipsum is simply dummy text</a>
</div>
</label>
</div>
<div class="w-1/5">
<span class="float-right rounded-full bg-gray-200 text-gray-500 uppercase px-2 py-1 text-xs font-bold w-24 text-center">Waiting</span>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js" integrity="sha256-KzZiKy0DWYsnwMF+X1DvQngQ2/FxF7MF3Ff72XcpuPs=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>
<script>
$('input#task-1').change(function(){
if(this.checked){
$('#task-text-1').removeClass('text-gray-700');
$('#task-text-1').addClass('text-gray-500 line-through');
}
else {
$('#task-text-1').removeClass('text-gray-500 line-through');
$('#task-text-1').addClass('text-gray-700');
}
})
$('input#task-2').change(function(){
if(this.checked){
$('#task-text-2').removeClass('text-gray-700');
$('#task-text-2').addClass('text-gray-500 line-through');
}
else {
$('#task-text-2').removeClass('text-gray-500 line-through');
$('#task-text-2').addClass('text-gray-700');
}
})
$('input#task-3').change(function(){
if(this.checked){
$('#task-text-3').removeClass('text-gray-700');
$('#task-text-3').addClass('text-gray-500 line-through');
}
else {
$('#task-text-3').removeClass('text-gray-500 line-through');
$('#task-text-3').addClass('text-gray-700');
}
})
$('input#task-4').change(function(){
if(this.checked){
$('#task-text-4').removeClass('text-gray-700');
$('#task-text-4').addClass('text-gray-500 line-through');
}
else {
$('#task-text-4').removeClass('text-gray-500 line-through');
$('#task-text-4').addClass('text-gray-700');
}
})
$('#moreprojects').click(function(){
$('#project-3').toggleClass('hidden');
$('#project-4').toggleClass('hidden');
})
</script>
</body>
</html>