forked from hngi/newLancerApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Client_Company.html
679 lines (641 loc) · 36.8 KB
/
Client_Company.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
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
<!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>Create Invoice New User</title>
<!-- Bootstrap CSS CDN -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
<!-- Our Custom CSS -->
<!-- <link rel="stylesheet" href="style/project.css"> -->
<link rel="shortcut icon" href="https://res.cloudinary.com/ddu0ww15f/image/upload/c_scale,h_16/v1571841777/icons8-home-office-24_veiqea.png" type="image/x-icon">
<style type="text/css">
/*Main page style by message*/
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
:root{
--primary-color: #091429;
--secondary-color: #0ABAB5;
--dark-color: #262626;
--light-color: #B1B1B1;
}
/*------Nav bar---------*/
a,
a:hover,
a:focus {
color: inherit;
text-decoration: none;
transition: all 0.3s;
}
.navbar {
padding-top: 0px;
padding-bottom: 0px;
background-color: #fff;
border: none;
border-radius: 0;
margin-bottom: 10px;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.navbar-btn {
box-shadow: none;
outline: none !important;
border: none;
}
.navbar-nav .nav-item .nav-link:hover{
transition: 0.25s;
background-color: #ecf3ff;
}
.line {
width: 100%;
height: 1px;
border-bottom: 1px dashed #ddd;
margin: 40px 0;
}
/* ---------------------------------------------------
SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
display: flex;
width: 100%;
align-items: stretch;
perspective: 1500px;
}
#sidebar {
min-width: 250px;
max-width: 250px;
background: var(--primary-color);
color: #fff;
transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
transform-origin: bottom left;
}
#sidebar.active {
margin-left: -250px;
transform: rotateY(100deg);
}
#sidebar .sidebar-header {
padding: 20px;
background: var(--primary-color);
}
#sidebar ul.components {
padding: 20px 0;
border-bottom: 1px solid var(--primary-color);
}
#sidebar ul p {
color: #fff;
padding: 10px;
}
#sidebar ul li a {
padding: 10px;
font-size: 1em;
font-weight: 600;
display: block;
transition: 0.4;
}
#sidebar ul li a:hover {
color: #ffffff;
background: rgba(19, 41, 82, 1);
}
#sidebar ul li a img {
margin-top: -4px !important;
margin-left: 4px;
margin-right: 4px;
}
#sidebar.active ul li a span {
vertical-align: text-bottom !important;
}
#sidebar ul li.active > a,
a[aria-expanded="true"] {
color: #fff;
background: rgba(19, 41, 82, 1);
}
a[data-toggle="collapse"] {
position: relative;
}
.dropdown-toggle::after {
display: block;
position: absolute;
top: 50%;
right: 20px;
transform: translateY(-50%);
}
ul ul a {
font-size: 0.9em !important;
padding-left: 30px !important;
background: rgba(19, 41, 82, 1);;
}
ul.CTAs {
padding: 20px;
}
ul.CTAs a {
text-align: center;
font-size: 0.9em !important;
display: block;
border-radius: 5px;
margin-bottom: 5px;
}
a.download {
background: #fff;
color: #7386D5;
}
a.article,
a.article:hover {
background: rgba(19, 41, 82, 1) !important;
color: #fff !important;
}
/* ---------------------------------------------------
CONTENT STYLE
----------------------------------------------------- */
#content {
width: 100%;
min-height: 100vh;
transition: all 0.3s;
}
#sidebarCollapse {
width: 40px;
height: 40px;
background: #f5f5f5;
cursor: pointer;
}
#sidebarCollapse span {
width: 80%;
height: 2px;
margin: 0 auto;
display: block;
background: #555;
transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
transition-delay: 0.2s;
}
#sidebarCollapse span:first-of-type {
transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
opacity: 0;
}
#sidebarCollapse span:last-of-type {
transform: rotate(-45deg) translate(1px, -1px);
}
#sidebarCollapse.active span {
transform: none;
opacity: 1;
margin: 5px auto;
}
.alert.alert-primary.py-0.px-2.small.m-0.pending{
color: #F67A06;
font-weight: bold;
background-color: rgba(201, 133, 70,0.3);
border-color: rgba(201, 133, 70,0.3);
}
.alert.alert-primary.py-0.px-2.small.m-0.active{
color: #179615;
font-weight: bold;
background-color: #76D874;
border-color: #76D874;
}
/* ---------------------------------------------------
MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
#sidebar {
margin-left: -250px;
transform: rotateY(90deg);
}
#sidebar.active {
margin-left: 0;
transform: none;
}
#sidebarCollapse span:first-of-type,
#sidebarCollapse span:nth-of-type(2),
#sidebarCollapse span:last-of-type {
transform: none;
opacity: 1;
margin: 5px auto;
}
#sidebarCollapse.active span {
margin: 0 auto;
}
#sidebarCollapse.active span:first-of-type {
transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse.active span:nth-of-type(2) {
opacity: 0;
}
#sidebarCollapse.active span:last-of-type {
transform: rotate(-45deg) translate(1px, -1px);
}
}
/* ---------------------------------------------------
Table
----------------------------------------------------- */
table.project-table{
border-collapse:separate;
border-spacing: 0 1em;
}
table.project-table tbody tr{
padding-bottom: 10px !important;
}
table.project-table tbody tr td span.text-small{
font-size: 8px;
}
table.project-table tbody tr td, table.project-table thead tr th {
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dropleft .dropdown-toggle::before{
display: none;
}
/*------------floating button---------*/
#add-something{
position: fixed;
bottom: 20px;
left: 320px;
z-index: 12;
}
</style>
<!-- Font Awesome JS -->
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/solid.js" integrity="sha384-tzzSw1/Vo+0N5UhStP3bvwWPq+uvzCMfrN1fEFe+xBmv1C/AtVX5K0uZtmcHitFZ" crossorigin="anonymous"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/fontawesome.js" integrity="sha384-6OIrr52G08NpOFSZdxxz1xdNSndlD4vdcf/q2myIUVO0VsqaGHJsB0RaBE01VTOY" crossorigin="anonymous"></script>
</head>
<body>
<div class="wrapper">
<!-- Sidebar Holder -->
<nav id="sidebar">
<div class="sidebar-header">
<img src="https://lancer-app.000webhostapp.com/images/svg/Lancers.svg" height="35" width="auto" class="img img-responsive">
</div>
<ul class="list-unstyled components">
<li class="active">
<a href="#">
<img src="https://lancer-app.000webhostapp.com/images/svg/home.svg" height="20" width="auto"> <span> Dashboard</span></a>
</li>
<li>
<a href="#">
<img src="https://lancer-app.000webhostapp.com/images/svg/customer.svg" height="20" width="auto"> <span> Client</span>
</a>
</li>
<li class="">
<a href="#homeSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle"><img src="https://lancer-app.000webhostapp.com/images/svg/lightbulb.svg" height="20" width="auto"> <span> Projects</span></a>
<ul class="collapse list-unstyled" id="homeSubmenu">
<li>
<a href="#" class="pl-4"><i class="fas fa-dot-circle"></i> Status</a>
</li>
<li>
<a href="#" class="pl-4"><i class="fas fa-dot-circle"></i> Overview</a>
</li>
<li>
<a href="#" class="pl-4 "><i class="fas fa-dot-circle"></i> Collabrators</a>
</li>
<li>
<a href="#" class="pl-4"><i class="fas fa-dot-circle"></i> Task</a>
</li>
<li>
<a href="#" class="pl-4"><i class="fas fa-dot-circle"></i> Documents</a>
</li>
</ul>
</li>
<li>
<a href="#">
<img src="https://lancer-app.000webhostapp.com/images/svg/approve-invoice.svg" height="20" width="auto"> <span> Invoice</span>
</a>
</li>
<li>
<a href="#">
<img src="https://lancer-app.000webhostapp.com/images/svg/policy.svg" height="20" width="auto"> <span> Contract</span>
</a>
</li>
<li>
<a href="#">
<img src="https://lancer-app.000webhostapp.com/images/svg/approval.svg" height="20" width="auto"> <span> Proposals</span>
</a>
</li>
</ul>
</nav>
<!-- Page Content Holder -->
<div id="content">
<nav class="navbar navbar-expand-lg navbar-light shadow-sm">
<div class="container-fluid">
<button type="button" id="sidebarCollapse" class="navbar-btn">
<span></span>
<span></span>
<span></span>
</button>
<form class="form-inline my-2 ml-4">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text border-right-0 bg-white" id="basic-addon1"><i class="fas fa-search"></i></span>
</div>
<input class="form-control border border-left-0 searchBox" type="text" placeholder="Search" aria-label="Search" aria-describedby="basic-addon1">
</div>
</form>
<button class="btn btn-dark d-inline-block d-lg-none ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-align-justify"></i>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="nav navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link p-3" href="#"><img src="https://lancer-app.000webhostapp.com/images/svg/help.svg" height="25" width="auto"> <span class="d-lg-none d-xl-none"> You need help?</span></a>
</li>
<li class="nav-item">
<a class="nav-link border-left p-3" href="#"><img src="https://lancer-app.000webhostapp.com/images/svg/alarm-clock.svg" height="25" width="auto"> <span class="d-lg-none d-xl-none"> Reminder</span></a>
</li>
<li class="nav-item">
<a class="nav-link border-left p-3" href="#"><img src="https://lancer-app.000webhostapp.com/images/svg/notification.svg" height="25" width="auto"> <span class="d-lg-none d-xl-none"> Notification</span></a>
</li>
<li class="nav-item">
<a class="nav-link border-left p-3" href="#"><span class="border rounded-circle p-1 font-weight-bold">AU</span> <span class="d-lg-none d-xl-none"> Hello John</span></a>
</li>
</ul>
</div>
</div>
</nav>
<section class="">
<div class="container-fluid">
<h4 class="mt-0 text-primary">PROJECTS</h4>
<div class="">
<div class="">
<form class="form-inline">
<select class="form-control status">
<option value="All">All</option>
<option value="Completed">Completed</option>
<option value="Pending">Pending</option>
<option value="Active">Active</option>
</select>
</form>
</div>
<div class="table-responsive">
<table class="table project-table table-borderless">
<thead>
<tr>
<th scope="col" class="text-left">Date</th>
<th scope="col">Company</th>
<th scope="col">Project</th>
<th class="text-right" scope="col">Name</th>
<th scope="col">Status</th>
</tr>
</thead>
<tbody>
<tr class="py-2">
<td scope="row" class="rounded-left border border-right-0">
<span class="text-small text-muted mr-2">
<i class="fas fa-circle"></i>
</span>
<span class="">Mar. 10, 2019</span>
</td>
<td class="border-top border-bottom titles">Online Music Shop</td>
<td class="border-top border-bottom">Food delivery mode app</td>
<td class="border-top border-bottom text-right">Foodie</td>
<td class="border-top border-bottom">
<span class="alert alert-primary py-0 px-2 small m-0 pending">Pending</span>
</td>
<td class="rounded-right border border-left-0">
<div class="dropdown dropleft">
<a class="btn btn-white btn-sm dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-ellipsis-v"></i>
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<a class="dropdown-item text-success" href="#"><i class="fas fa-binoculars"></i> View</a>
<a class="dropdown-item text-secondary" href="#"><i class="fas fa-edit"></i> Edit</a>
<a class="dropdown-item text-danger" href="#"><i class="fas fa-trash-alt"></i> Delete</a>
</div>
</div>
</td>
</tr>
<tr class="py-2">
<td scope="row" class="rounded-left border border-right-0">
<span class="text-small text-muted mr-2">
<i class="fas fa-circle"></i>
</span>
<span class="">Mar. 10, 2019</span>
</td>
<td class="border-top border-bottom titles">GateGuard</td>
<td class="border-top border-bottom">Food delivery mode app</td>
<td class="border-top border-bottom text-right">Foodie</td>
<td class="border-top border-bottom">
<span class="alert alert-primary py-0 px-2 small m-0">Completed</span>
</td>
<td class="rounded-right border border-left-0">
<div class="dropdown dropleft">
<a class="btn btn-white btn-sm dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-ellipsis-v"></i>
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<a class="dropdown-item text-success" href="#"><i class="fas fa-binoculars"></i> View</a>
<a class="dropdown-item text-secondary" href="#"><i class="fas fa-edit"></i> Edit</a>
<a class="dropdown-item text-danger" href="#"><i class="fas fa-trash-alt"></i> Delete</a>
</div>
</div>
</td>
</tr>
<tr class="py-2">
<td scope="row" class="rounded-left border border-right-0">
<span class="text-small text-muted mr-2">
<i class="fas fa-circle"></i>
</span>
<span class="">Mar. 10, 2019</span>
</td>
<td class="border-top border-bottom titles">Start.ng Site</td>
<td class="border-top border-bottom">Food delivery mode app</td>
<td class="border-top border-bottom text-right">Foodie</td>
<td class="border-top border-bottom">
<span class="alert alert-primary py-0 px-2 small m-0">Completed</span>
</td>
<td class="rounded-right border border-left-0">
<div class="dropdown dropleft">
<a class="btn btn-white btn-sm dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-ellipsis-v"></i>
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<a class="dropdown-item text-success" href="#"><i class="fas fa-binoculars"></i> View</a>
<a class="dropdown-item text-secondary" href="#"><i class="fas fa-edit"></i> Edit</a>
<a class="dropdown-item text-danger" href="#"><i class="fas fa-trash-alt"></i> Delete</a>
</div>
</div>
</td>
</tr>
<tr class="py-2">
<td scope="row" class="rounded-left border border-right-0">
<span class="text-small text-muted mr-2">
<i class="fas fa-circle"></i>
</span>
<span class="">Mar. 10, 2019</span>
</td>
<td class="border-top border-bottom titles">HNG 7.0 Site</td>
<td class="border-top border-bottom">Food delivery mode app</td>
<td class="border-top border-bottom text-right">Foodie</td>
<td class="border-top border-bottom">
<span class="alert alert-primary py-0 px-2 small m-0">Completed</span>
</td>
<td class="rounded-right border border-left-0">
<div class="dropdown dropleft">
<a class="btn btn-white btn-sm dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-ellipsis-v"></i>
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<a class="dropdown-item text-success" href="#"><i class="fas fa-binoculars"></i> View</a>
<a class="dropdown-item text-secondary" href="#"><i class="fas fa-edit"></i> Edit</a>
<a class="dropdown-item text-danger" href="#"><i class="fas fa-trash-alt"></i> Delete</a>
</div>
</div>
</td>
</tr>
<tr class="py-2">
<td scope="row" class="rounded-left border border-right-0">
<span class="text-small text-muted mr-2">
<i class="fas fa-circle"></i>
</span>
<span class="">Mar. 10, 2019</span>
</td>
<td class="border-top border-bottom titles">HNG 6.0 Site</td>
<td class="border-top border-bottom">Food delivery mode app</td>
<td class="border-top border-bottom text-right">Foodie</td>
<td class="border-top border-bottom">
<span class="alert alert-primary py-0 px-2 small m-0">Completed</span>
</td>
<td class="rounded-right border border-left-0">
<div class="dropdown dropleft">
<a class="btn btn-white btn-sm dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-ellipsis-v"></i>
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<a class="dropdown-item text-success" href="#"><i class="fas fa-binoculars"></i> View</a>
<a class="dropdown-item text-secondary" href="#"><i class="fas fa-edit"></i> Edit</a>
<a class="dropdown-item text-danger" href="#"><i class="fas fa-trash-alt"></i> Delete</a>
</div>
</div>
</td>
</tr>
<tr class="py-2">
<td scope="row" class="rounded-left border border-right-0">
<span class="text-small text-muted mr-2">
<i class="fas fa-circle"></i>
</span>
<span class="">Mar. 10, 2019</span>
</td>
<td class="border-top border-bottom titles">Shopping Cart</td>
<td class="border-top border-bottom">Food delivery mode app</td>
<td class="border-top border-bottom text-right">Foodie</td>
<td class="border-top border-bottom">
<span class="alert alert-primary py-0 px-2 small m-0 active">Active</span>
</td>
<td class="rounded-right border border-left-0">
<div class="dropdown dropleft">
<a class="btn btn-white btn-sm dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-ellipsis-v"></i>
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<a class="dropdown-item text-success" href="#"><i class="fas fa-binoculars"></i> View</a>
<a class="dropdown-item text-secondary" href="#"><i class="fas fa-edit"></i> Edit</a>
<a class="dropdown-item text-danger" href="#"><i class="fas fa-trash-alt"></i> Delete</a>
</div>
</div>
</td>
</tr>
<tr class="py-2">
<td scope="row" class="rounded-left border border-right-0">
<span class="text-small text-muted mr-2">
<i class="fas fa-circle"></i>
</span>
<span class="">Mar. 10, 2019</span>
</td>
<td class="border-top border-bottom titles">School Management</td>
<td class="border-top border-bottom">Food delivery mode app</td>
<td class="border-top border-bottom text-right">Foodie</td>
<td class="border-top border-bottom">
<span class="alert alert-primary py-0 px-2 small m-0 active">Active</span>
</td>
<td class="rounded-right border border-left-0">
<div class="dropdown dropleft">
<a class="btn btn-white btn-sm dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-ellipsis-v"></i>
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<a class="dropdown-item text-success" href="#"><i class="fas fa-binoculars"></i> View</a>
<a class="dropdown-item text-secondary" href="#"><i class="fas fa-edit"></i> Edit</a>
<a class="dropdown-item text-danger" href="#"><i class="fas fa-trash-alt"></i> Delete</a>
</div>
</div>
</td>
</tr>
<tr class="py-2">
<td scope="row" class="rounded-left border border-right-0">
<span class="text-small text-muted mr-2">
<i class="fas fa-circle"></i>
</span>
<span class="">Mar. 10, 2019</span>
</td>
<td class="border-top border-bottom titles">CBT Mobile App</td>
<td class="border-top border-bottom">Food delivery mode app</td>
<td class="border-top border-bottom text-right">Foodie</td>
<td class="border-top border-bottom">
<span class="alert alert-primary py-0 px-2 small m-0">Completed</span>
</td>
<td class="rounded-right border border-left-0">
<div class="dropdown dropleft">
<a class="btn btn-white btn-sm dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-ellipsis-v"></i>
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<a class="dropdown-item text-success" href="#"><i class="fas fa-binoculars"></i> View</a>
<a class="dropdown-item text-secondary" href="#"><i class="fas fa-edit"></i> Edit</a>
<a class="dropdown-item text-danger" href="#"><i class="fas fa-trash-alt"></i> Delete</a>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</section>
</div>
</div>
<button class="btn btn-secondary text-white rounded-circle" id="add-something">
<i class="fas fa-plus"></i>
</button>
<!-- jQuery CDN - Slim version (=without AJAX) -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<!-- Popper.JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
<!-- Bootstrap JS -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#sidebarCollapse').on('click', function () {
$('#sidebar').toggleClass('active');
$(this).toggleClass('active');
});
const searchBox = document.querySelector('.searchBox');
const status = document.querySelector('.status');
const filterNames =()=>{
const titles = document.querySelectorAll('.titles');
const searchBoxValue = searchBox.value.toLowerCase();
titles.forEach(title=>{
if(!title.textContent.toLowerCase().includes(searchBoxValue)){
title.parentElement.style.display = "none"
}else{
title.parentElement.style.display = "";
}
})
}
const filterStatus =()=>{
const statusText = document.querySelectorAll('.alert-primary')
statusText.forEach(text => {
if(status.value !== 'All'){
if(status.value === text.textContent){
text.parentElement.parentElement.style.display = ""
}else{
text.parentElement.parentElement.style.display = "none"
}
}else{
text.parentElement.parentElement.style.display = ""
}
})
}
searchBox.addEventListener('keyup', filterNames);
status.addEventListener('change', filterStatus);
});
</script>
</body>
</html>