-
Notifications
You must be signed in to change notification settings - Fork 101
/
tables.html
346 lines (332 loc) · 21.2 KB
/
tables.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
<!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">
<!-- Css -->
<link rel="stylesheet" href="./dist/styles.css">
<link rel="stylesheet" href="./dist/all.css">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i,700,700i" rel="stylesheet">
<title>Tables | Tailwind Admin</title>
</head>
<body>
<!--Container -->
<div class="mx-auto bg-grey-lightest">
<!--Screen-->
<div class="min-h-screen flex flex-col">
<!--Header Section Starts Here-->
<header class="bg-nav">
<div class="flex justify-between">
<div class="p-1 mx-3 inline-flex items-center">
<i class="fas fa-bars pr-2 text-white" onclick="sidebarToggle()"></i>
<h1 class="text-white p-2">Logo</h1>
</div>
<div class="p-1 flex flex-row items-center">
<img onclick="profileToggle()" class="inline-block h-8 w-8 rounded-full" src="https://avatars0.githubusercontent.com/u/4323180?s=460&v=4" alt="">
<a href="#" onclick="profileToggle()" class="text-white p-2 no-underline hidden md:block lg:block">Adam Wathan</a>
<div id="ProfileDropDown" class="rounded hidden shadow-md bg-white absolute pin-t mt-12 mr-1 pin-r">
<ul class="list-reset">
<li><a href="#" class="no-underline px-4 py-2 block text-black hover:bg-grey-light">My account</a></li>
<li><a href="#" class="no-underline px-4 py-2 block text-black hover:bg-grey-light">Notifications</a></li>
<li><hr class="border-t mx-2 border-grey-ligght"></li>
<li><a href="#" class="no-underline px-4 py-2 block text-black hover:bg-grey-light">Logout</a></li>
</ul>
</div>
</div>
</div>
</header>
<!--/Header-->
<div class="flex flex-1">
<!--Sidebar-->
<aside id="sidebar" class="bg-side-nav w-1/2 md:w-1/6 lg:w-1/6 border-r border-side-nav hidden md:block lg:block">
<div class="flex">
</div>
<ul class="list-reset flex flex-col">
<li class=" w-full h-full py-3 px-2 border-b border-light-border ">
<a href="index.html"
class="font-sans font-hairline hover:font-normal text-sm text-nav-item no-underline">
<i class="fas fa-tachometer-alt float-left mx-2"></i>
Dashboard
<span><i class="fas fa-angle-right float-right"></i></span>
</a>
</li>
<li class="w-full h-full py-3 px-2 border-b border-light-border">
<a href="forms.html"
class="font-sans font-hairline hover:font-normal text-sm text-nav-item no-underline">
<i class="fab fa-wpforms float-left mx-2"></i>
Forms
<span><i class="fa fa-angle-right float-right"></i></span>
</a>
</li>
<li class="w-full h-full py-3 px-2 border-b border-light-border">
<a href="buttons.html"
class="font-sans font-hairline hover:font-normal text-sm text-nav-item no-underline">
<i class="fas fa-grip-horizontal float-left mx-2"></i>
Buttons
<span><i class="fa fa-angle-right float-right"></i></span>
</a>
</li>
<li class="w-full h-full py-3 px-2 border-b border-light-border bg-white">
<a href="tables.html"
class="font-sans font-hairline hover:font-normal text-sm text-nav-item no-underline">
<i class="fas fa-table float-left mx-2"></i>
Tables
<span><i class="fa fa-angle-right float-right"></i></span>
</a>
</li>
<li class="w-full h-full py-3 px-2 border-b border-light-border">
<a href="ui.html"
class="font-sans font-hairline hover:font-normal text-sm text-nav-item no-underline">
<i class="fab fa-uikit float-left mx-2"></i>
Ui components
<span><i class="fa fa-angle-right float-right"></i></span>
</a>
</li>
<li class="w-full h-full py-3 px-2 border-b border-300-border">
<a href="modals.html" class="font-sans font-hairline hover:font-normal text-sm text-nav-item no-underline">
<i class="fas fa-square-full float-left mx-2"></i>
Modals
<span><i class="fa fa-angle-right float-right"></i></span>
</a>
</li>
<li class="w-full h-full py-3 px-2">
<a href="#"
class="font-sans font-hairline hover:font-normal text-sm text-nav-item no-underline">
<i class="far fa-file float-left mx-2"></i>
Pages
<span><i class="fa fa-angle-down float-right"></i></span>
</a>
<ul class="list-reset -mx-2 bg-white-medium-dark">
<li class="border-t mt-2 border-light-border w-full h-full px-2 py-3">
<a href="login.html"
class="mx-4 font-sans font-hairline hover:font-normal text-sm text-nav-item no-underline">
Login Page
<span><i class="fa fa-angle-right float-right"></i></span>
</a>
</li>
<li class="border-t border-light-border w-full h-full px-2 py-3">
<a href="register.html"
class="mx-4 font-sans font-hairline hover:font-normal text-sm text-nav-item no-underline">
Register Page
<span><i class="fa fa-angle-right float-right"></i></span>
</a>
</li>
<li class="border-t border-light-border w-full h-full px-2 py-3">
<a href="404.html"
class="mx-4 font-sans font-hairline hover:font-normal text-sm text-nav-item no-underline">
404 Page
<span><i class="fa fa-angle-right float-right"></i></span>
</a>
</li>
</ul>
</li>
</ul>
</aside>
<!--/Sidebar-->
<!--Main-->
<main class="bg-white-500 flex-1 p-3 overflow-hidden">
<div class="flex flex-col">
<!-- Card Sextion Starts Here -->
<div class="flex flex-1 flex-col md:flex-row lg:flex-row mx-2">
<!--Horizontal form-->
<div class="mb-2 border-solid border-grey-light rounded border shadow-sm w-full md:w-1/2 lg:w-1/2">
<div class="bg-gray-300 px-2 py-3 border-solid border-gray-400 border-b">
Bordered Table
</div>
<div class="p-3">
<table class="table-fixed">
<thead>
<tr>
<th class="border w-1/2 px-4 py-2">Title</th>
<th class="border w-1/4 px-4 py-2">Author</th>
<th class="border w-1/4 px-4 py-2">Views</th>
</tr>
</thead>
<tbody>
<tr>
<td class="border px-4 py-2">Intro to CSS</td>
<td class="border px-4 py-2">Adam</td>
<td class="border px-4 py-2">858</td>
</tr>
<tr class="bg-gray-100">
<td class="border px-4 py-2">A Long and Winding Tour of the History of UI Frameworks and Tools and the Impact on Design</td>
<td class="border px-4 py-2">Adam</td>
<td class="border px-4 py-2">112</td>
</tr>
<tr>
<td class="border px-4 py-2">Into to JavaScript</td>
<td class="border px-4 py-2">Chris</td>
<td class="border px-4 py-2">1,280</td>
</tr>
</tbody>
</table>
</div>
</div>
<!--/Horizontal form-->
<!--Underline form-->
<div class="mb-2 md:mx-2 lg:mx-2 border-solid border-gray-200 rounded border shadow-sm w-full md:w-1/2 lg:w-1/2">
<div class="bg-gray-200 px-2 py-3 border-solid border-gray-200 border-b">
Colored Table
</div>
<div class="p-3">
<table class="table-fixed">
<thead>
<tr>
<th class="border-b bg-black text-white w-1/2 px-4 py-2">Title</th>
<th class="border-b bg-black text-white w-1/4 px-4 py-2">Author</th>
<th class="border-b bg-black text-white w-1/4 px-4 py-2">Views</th>
</tr>
</thead>
<tbody>
<tr>
<td class="border-b bg-blue-400 text-white px-4 py-2">Intro to CSS</td>
<td class="border-b bg-blue-400 text-white px-4 py-2">Adam</td>
<td class="border-b bg-blue-400 text-white px-4 py-2">858</td>
</tr>
<tr class="bg-gray-100">
<td class="border-b bg-green-400 text-white px-4 py-2">A Long and Winding Tour of the History of UI Frameworks and Tools and the Impact on Design</td>
<td class="border-b bg-green-400 text-white px-4 py-2">Adam</td>
<td class="border-b bg-green-400 text-white px-4 py-2">112</td>
</tr>
<tr>
<td class="border-b bg-red-500 text-white px-4 py-2">Into to JavaScript</td>
<td class="border-b bg-red-500 text-white px-4 py-2">Chris</td>
<td class="border-b bg-red-500 text-white px-4 py-2">1,280</td>
</tr>
</tbody>
</table>
</div>
</div>
<!--/Underline form-->
</div>
<!-- /Cards Section Ends Here -->
<!--Grid Form-->
<div class="flex flex-1 flex-col md:flex-row lg:flex-row mx-2">
<div class="mb-2 border-solid border-gray-300 rounded border shadow-sm w-full">
<div class="bg-gray-200 px-2 py-3 border-solid border-gray-200 border-b">
Full Table
</div>
<div class="p-3">
<table class="table-responsive w-full rounded">
<thead>
<tr>
<th class="border w-1/4 px-4 py-2">Student Name</th>
<th class="border w-1/6 px-4 py-2">City</th>
<th class="border w-1/6 px-4 py-2">Course</th>
<th class="border w-1/6 px-4 py-2">Fee</th>
<th class="border w-1/7 px-4 py-2">Status</th>
<th class="border w-1/5 px-4 py-2">Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td class="border px-4 py-2">Micheal Clarke</td>
<td class="border px-4 py-2">Sydney</td>
<td class="border px-4 py-2">MS</td>
<td class="border px-4 py-2">900 $</td>
<td class="border px-4 py-2">
<i class="fas fa-check text-green-500 mx-2"></i>
</td>
<td class="border px-4 py-2">
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-white">
<i class="fas fa-eye"></i></a>
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-white">
<i class="fas fa-edit"></i></a>
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-red-500">
<i class="fas fa-trash"></i>
</a>
</td>
</tr>
<tr>
<td class="border px-4 py-2">Rickey Ponting</td>
<td class="border px-4 py-2">Sydney</td>
<td class="border px-4 py-2">MS</td>
<td class="border px-4 py-2">300 $</td>
<td class="border px-4 py-2">
<i class="fas fa-times text-red-500 mx-2"></i>
</td>
<td class="border px-4 py-2">
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-white">
<i class="fas fa-eye"></i></a>
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-white">
<i class="fas fa-edit"></i></a>
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-red-500">
<i class="fas fa-trash"></i>
</a>
</td>
</tr>
<tr>
<td class="border px-4 py-2">Micheal Clarke</td>
<td class="border px-4 py-2">Sydney</td>
<td class="border px-4 py-2">MS</td>
<td class="border px-4 py-2">900 $</td>
<td class="border px-4 py-2">
<i class="fas fa-check text-green-500 mx-2"></i>
</td>
<td class="border px-4 py-2">
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-white">
<i class="fas fa-eye"></i></a>
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-white">
<i class="fas fa-edit"></i></a>
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-red-500">
<i class="fas fa-trash"></i>
</a>
</td>
</tr>
<tr>
<td class="border px-4 py-2">Micheal Clarke</td>
<td class="border px-4 py-2">Sydney</td>
<td class="border px-4 py-2">MS</td>
<td class="border px-4 py-2">900 $</td>
<td class="border px-4 py-2">
<i class="fas fa-check text-green-500 mx-2"></i>
</td>
<td class="border px-4 py-2">
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-white">
<i class="fas fa-eye"></i></a>
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-white">
<i class="fas fa-edit"></i></a>
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-red-500">
<i class="fas fa-trash"></i>
</a>
</td>
</tr>
<tr>
<td class="border px-4 py-2">Micheal Clarke</td>
<td class="border px-4 py-2">Sydney</td>
<td class="border px-4 py-2">MS</td>
<td class="border px-4 py-2">900 $</td>
<td class="border px-4 py-2">
<i class="fas fa-check text-green-500 mx-2"></i>
</td>
<td class="border px-4 py-2">
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-white">
<i class="fas fa-eye"></i></a>
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-white">
<i class="fas fa-edit"></i></a>
<a class="bg-teal-300 cursor-pointer rounded p-1 mx-1 text-red-500">
<i class="fas fa-trash"></i>
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!--/Grid Form-->
</div>
</main>
<!--/Main-->
</div>
<!--Footer-->
<footer class="bg-grey-darkest text-white p-2">
<div class="flex flex-1 mx-auto">© My Design</div>
</footer>
<!--/footer-->
</div>
</div>
<script src="./main.js"></script>
</body>
</html>