-
Notifications
You must be signed in to change notification settings - Fork 0
/
categories.html
208 lines (197 loc) · 6.59 KB
/
categories.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
<!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" />
<title>Admin UI</title>
<script src="https://kit.fontawesome.com/0317bad7e8.js"
crossorigin="anonymous"></script>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous" />
<link rel="stylesheet" href="./styles/admin.css" />
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
<div class="container">
<a href="index.html" class="navbar-brand">4ront</a>
<button type="button" class="navbar-toggler" data-bs-toggle="collapse"
data-bs-target="#navbarCollapse" aria-controls="navbarCollapse"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbarCollapse" class="collapse navbar-collapse">
<ul class="navbar-nav">
<li class="nav-item px-2">
<a href="index.html" class="nav-link">Dashboard</a>
</li>
<li class="nav-item px-2"><a href="posts.html"
class="nav-link">Posts</a></li>
<li class="nav-item px-2">
<a href="categories.html" class="nav-link active">Categories</a>
</li>
<li class="nav-item px-2">
<a href="users.html" class="nav-link">Users</a>
</li>
</ul>
<ul class="navbar-nav ms-auto">
<li class="nav-item dropdown me-3">
<a href="#" id="navabrDropdown" class="nav-link dropdown-toggle"
data-bs-toggle="dropdown" role="button" aria-expanded="false">
<i class="fas fa-user"></i> Welcome Mike
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li>
<a href="profile.html" class="dropdown-item">
<i class="fas fa-user-circle"></i> Profile
</a>
</li>
<li>
<a href="billing.html" class="dropdown-item">
<i class="fas fa-credit-card"></i> Billing
</a>
</li>
<li>
<hr class="dropdown-divider">
</li>
<li>
<a href="settings.html" class="dropdown-item">
<i class="fas fa-cog"></i> Settings
</a>
</li>
</ul>
</li>
<li class="nav-item">
<a href="login.html" class="nav-link">
<i class="fas fa-user-times"></i> Logout
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Header -->
<header id="main-header" class="py-2 bg-success text-white">
<div class="container">
<div class="row">
<div class="col-md-6">
<h1>
<i class="fas fa-folder"></i>
Categories
</h1>
</div>
</div>
</div>
</header>
<!-- Search -->
<section id="search" class="py-4 mb-4 bg-light">
<div class="container">
<div class="row">
<div class="col-md-6 ms-auto">
<div class="input-group">
<input type="text" class="form-control"
placeholder="Search Categories..."
aria-label="Search Categories..."
aria-describedby="search-button">
<button id="search-button"
class="input-group-text btn btn-success">Search</button>
</div>
</div>
</div>
</div>
</section>
<!-- Categories -->
<section id="categories">
<div class="container">
<div class="row">
<div class="col">
<div class="card">
<div class="card-header">
<h4>Latest Categories</h4>
</div>
<table class="table table-striped">
<thead class="table-dark">
<tr>
<th>#</th>
<th>Title</th>
<th>Date</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="align-middle">
<td>1</td>
<td>Web Development</td>
<td>June 17 2022</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Details
</a>
</td>
</tr>
<tr class="align-middle">
<td>2</td>
<td>Tech Gadgets</td>
<td>July 17 2022</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Details
</a>
</td>
</tr>
<tr class="align-middle">
<td>3</td>
<td>Business</td>
<td>July 29 2022</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Details
</a>
</td>
</tr>
<tr class="align-middle">
<td>4</td>
<td>Health & Wellness</td>
<td>August 19 2022</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Details
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer id="main-footer" class="bg-dark text-white p-3">
<div class="container">
<div class="row">
<div class="col">
<p class="lead text-center mb-0">
Copyright © <span id="year"></span>
4ront
</p>
</div>
</div>
</div>
</footer>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous">
</script>
<script>
// Generate the actual date
const YEAR = document.querySelector("#year");
YEAR.innerHTML = new Date().getFullYear();
</script>
</body>
</html>