-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathviewUsers.html
More file actions
109 lines (108 loc) · 6.68 KB
/
Copy pathviewUsers.html
File metadata and controls
109 lines (108 loc) · 6.68 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<link rel="stylesheet" href="./css/main.css"media = "screen">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/fontawesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src = "./js/header.js" defer></script>
<script type = "module" src = "js/viewUser.js" defer></script>
<title>NGO | VIEW USERS</title>
</head>
<body>
<div class = "grid--three-row" id = "wrapper">
<header id="header">
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container d-flex justify-content-between">
<a href = "dashboard.html" class="navbar-brand logo" href="#"><img src= "image/logo3.svg" alt="logo image" class="img-fluid logo-img"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav ms-auto text-center main-navbar justify-content-md-end">
<li class="nav-item dropdown view-link" disabled>
<a class="nav-link dropdown-toggle text-capitalize text-white" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
view
</a>
<div class="dropdown-menu mt-lg-3 p-lg-4" aria-labelledby="navbarDropdown">
<a class="dropdown-item mb-md-4 text-capitalize view-post" href="viewPost.html"><i class="fa fa-eye" aria-hidden="true"></i> view post</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item mt-md-4 text-capitalize view-user" href="viewUsers.html"><i class="fa fa-eye" aria-hidden="true"></i> view users</a>
</li>
<li class="nav-item active create-link">
<a class="nav-link text-capitalize text-white" href="createPost.html">create post</a>
</li>
<li class="nav-item dropdown username-link">
<a class="nav-link dropdown-toggle text-capitalize text-white" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
username
</a>
<div class="dropdown-menu mt-lg-3 p-lg-4" aria-labelledby="navbarDropdown">
<a class="dropdown-item text-capitalize mb-md-4" href="profileEdit.html"><i class="fas fa-edit"></i> edit account</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item text-capitalize mt-md-4 logout-btn"><i class = "fas fa-sign-out" aria-hidden="true"></i> logout</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main id ="main-container">
<div class="container user-container">
<div class="row d-flex">
<div class="user-filter-div ms-auto col-lg-6 d-flex gap-4">
<p class="text-capitalize filter-text">
search user by:
</p>
<div id = "user-filter-div" class = "d-flex gap-4">
<input type="text" id="fullname-filter-input" class="user-filter flex-fill p-lg-3" placeholder="Fullname">
<input type="email" id="email-filter-input" class="user-filter flex-fill p-lg-3" placeholder="Email">
</div>
</div>
</div>
<div class="row">
<div class="user-table-div">
<table class="table table-bordered user-table">
<thead class = "bg-success text-white">
<tr class = "text-uppercase">
<th scope="col">s/n</th>
<th scope="col">fullname</th>
<th scope="col">email</th>
<th scope="col">role</th>
<th scope="col">joined at</th>
<th scope = "col"></th>
</tr>
</thead>
<tbody id = "user-table-body"></tbody>
</table>
<template data-user-table>
<tr>
<th data-index></th>
<td data-user-fullname></td>
<td data-user-email></td>
<td data-user-role></td>
<td data-user-createdAt></td>
<td>
<button class="btn user-action-btn">
<i class="fa fa-trash text-danger"></i>
</button>
</td>
<td class="div--deactive" data-user-id></td>
</tr>
</template>
</div>
</div>
</div>
</main>
<footer id="footer" class = "d-flex align-items-center justify-content-center">
<h4 class="copy text-uppercase text-white">copyright © 2023</h4>
</footer>
</div>
</body>
</html>