-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask.html
225 lines (202 loc) · 7.87 KB
/
task.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
<!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">
<a href="index.html" class="float-right">
<div class="border border-pink-400 bg-pink-400 rounded-lg rounded-tl-none rounded-br-none">
<div class="bg-pink-400 text-center text-white text-xl rounded-lg p-4 md:p-6 m-2">
YH
</div>
</div>
</a>
<div class="md:p-12 p-4 mx-auto">
<div class="top">
<h1 class="text-3xl text-gray-900 font-bold">Lorem Ipsum is simply dummy text</h1>
<span class="rounded-full bg-indigo-200 text-indigo-500 uppercase px-2 py-1 text-xs font-bold w-24 text-center">Design</span> • <span class="text-gray-700">Yellow House</span>
<p class="mt-3 text-gray-600">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
<div class="middle mt-16">
<nav class="flex flex-row w-full border-b" >
<button class="text-gray-700 py-4 px-6 block focus:outline-none border-b-2 font-medium border-gray-700">
Discussions
</button>
<button class="text-gray-600 py-4 px-6 block hover:text-gray-700 focus:outline-none">
Files
</button>
<button class="text-gray-600 py-4 px-6 block hover:text-gray-700 focus:outline-none">
Progress
</button>
</nav>
</div>
<div class="middle mt-16">
Discussion
</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>