├── README.md
├── LICENSE
├── admin-style.css
└── index.html
/README.md:
--------------------------------------------------------------------------------
1 | ## Admin-Dashboard-UI
2 | ### Bulit Using HTML CSS JavaScript
3 | ### [Live Demo](https://arjuncvinod.github.io/Admin-Panel-UI/)
4 | #### Screenshots :
5 | 
6 | 
7 |
8 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 Arjun C Vinod
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/admin-style.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --uiclr: #009d84;
3 | --white: #e4e9fd;
4 | --black: #040c0e;
5 | --light-black: rgb(53, 50, 50);
6 | }
7 | * {
8 | margin: 0;
9 | padding: 0;
10 | font-family: Arial;
11 | }
12 | nav {
13 | background-color: white;
14 | height: 70px;
15 | width: 100%;
16 | display: flex;
17 | justify-content: space-between;
18 | align-items: center;
19 | }
20 | .logo {
21 | width: 10%;
22 | font-size: 2rem;
23 | font-weight: bold;
24 | color: var(--uiclr);
25 | margin-left: 10px;
26 | }
27 | .nav-items {
28 | width: 30%;
29 | }
30 | .nav-items ul {
31 | display: flex;
32 | justify-content: space-between;
33 | flex-direction: row;
34 | }
35 | .nav-items ul li {
36 | list-style: none;
37 | width: 90%;
38 | display: flex;
39 | justify-content: end;
40 | }
41 | .nav-items ul li a {
42 | text-decoration: none;
43 | color: var(--uiclr);
44 | font-size: 1.08rem;
45 | text-align: end;
46 | }
47 | /* ------------------------------------------------------------- */
48 | body {
49 | background-color: rgba(128, 128, 128, 0.114);
50 | height: 100vh;
51 | }
52 | main {
53 | display: flex;
54 | flex-direction: row;
55 | height: 86%;
56 | justify-content: space-around;
57 | }
58 | .controls-container {
59 | margin-top: 2%;
60 | height: 100%;
61 | background-color: white;
62 | width: 20%;
63 | border-radius: 8px;
64 | }
65 | .content-container {
66 | border-radius: 8px;
67 | margin-top: 2%;
68 | height: 100%;
69 | /* background-color: rgb(255, 255, 255); */
70 | width: 75%;
71 | }
72 | .d-board-text {
73 | background-color: var(--uiclr);
74 | padding: 10px;
75 | color: white;
76 | font-size: 1.25rem;
77 | border-radius: 8px;
78 | }
79 | .controls {
80 | margin-top: 2%;
81 | display: flex;
82 | flex-direction: column;
83 | padding: 10px 0;
84 | gap: 10px;
85 | background-color: #ccebe6;
86 | border-radius: 8px;
87 | }
88 | .controls button {
89 | padding: 10px;
90 | background-color: #ccebe6;
91 | font-size: 1rem;
92 | border: none;
93 | text-align: start;
94 | cursor: pointer;
95 | border-radius: 8px;
96 | }
97 | .controls button:hover {
98 | background-color: var(--uiclr);
99 | color: white;
100 | }
101 | .stats-container {
102 | display: flex;
103 | flex-direction: row;
104 | justify-content: space-around;
105 | width: 100%;
106 | margin-bottom: 3%;
107 | }
108 | .stat-box {
109 | width: 300px;
110 | height: 120px;
111 | background-color: #dc3745;
112 | border-radius: 15px;
113 | display: flex;
114 | flex-direction: row;
115 | align-items: center;
116 | justify-content: center;
117 | gap: 10%;
118 | color: white;
119 | box-shadow: 0px 5px 10px rgb(198, 194, 194);
120 | }
121 | .stat-box:nth-child(2) {
122 | background-color: var(--uiclr);
123 | }
124 | .stat-box:nth-child(3) {
125 | background-color: #0a67c4;
126 | }
127 | .stat-box div {
128 | display: flex;
129 | flex-direction: column;
130 | align-items: center;
131 | justify-content: space-between;
132 | }
133 | .stat-box div h1 {
134 | margin-bottom: 5px;
135 | }
136 | .stat-box p {
137 | font-size: 3rem;
138 | display: flex;
139 | justify-content: center;
140 | }
141 | .posts-container {
142 | width: 100%;
143 | background-color: white;
144 | height: 74%;
145 | border-radius: 10px;
146 | padding: 5px 0;
147 | }
148 | .posts-container h1 {
149 | margin: 5px 20px;
150 | }
151 | .posts {
152 | width: 100%;
153 | display: flex;
154 | justify-content: center;
155 | padding: 10px 0;
156 | height: 88%;
157 | overflow-y: scroll;
158 | }
159 | table {
160 | text-align: center;
161 | width: 95%;
162 | font-size: 1.1rem;
163 | border-radius: 10px;
164 | border-collapse: collapse;
165 | border-color: rgb(255, 0, 0);
166 | border: none;
167 |
168 | }
169 | tr:nth-child(odd) {
170 | background-color: #f2f2f2;
171 | }
172 | tr:hover{
173 | background-color:rgba(0, 157, 131, 0.1);
174 | cursor: pointer;
175 | }
176 | td,
177 | th {
178 | border-right: 1px solid rgb(216, 213, 213);
179 | /* border-bottom: 1px solid rgb(216, 213, 213); */
180 | }
181 | td{
182 | padding: 10px;
183 | }
184 | td:last-child,
185 | th:last-child {
186 | border-right: none;
187 | /* border-bottom: 2px solid rgb(216, 213, 213); */
188 | }
189 | td img {
190 | width: 100px;
191 | }
192 | th {
193 | height: 40px;
194 | background-color: var(--uiclr);
195 | color: white;
196 | }
197 | th:first-child{
198 | border-top-left-radius: 8px;
199 | }
200 | th:last-child{
201 | border-top-right-radius: 8px;
202 | }
203 | td p {
204 | text-align: start;
205 | margin: 0 5px;
206 | }
207 | td a {
208 | text-decoration: none;
209 | padding: 5px 12px;
210 | border-radius: 5px;
211 | color: white;
212 | font-size: 0.9rem;
213 | }
214 | td a:hover {
215 | opacity: 0.8;
216 | }
217 | .edit-tbn {
218 | background-color: green;
219 | }
220 | .delete-btn {
221 | background-color: red;
222 | }
223 |
224 | .user-container{
225 | height: 70%;
226 | background-color: white;
227 | padding: 20px;
228 | border-radius: 8px;
229 | overflow-y: hidden;
230 | }
231 | .user-container h1{
232 | margin-bottom: 5px;
233 | }
234 | .users{
235 | display: flex;
236 | flex-wrap: wrap;
237 | justify-content:start;
238 | gap: 19px;
239 | overflow-y: scroll;
240 | height: 90%;
241 | padding-left: 5px;
242 | }
243 |
244 | .user {
245 | height: 200px;
246 | width: 200px;
247 | background-color:white;
248 | text-align: center;
249 | border-radius: 8px;
250 | box-shadow: 0px 0px 5px rgb(215, 212, 212);
251 | }
252 | .image-container{
253 | width: 100%;
254 | height: 80%;
255 | display: flex;
256 | justify-content: center;
257 | padding-top:2px;
258 | overflow: hidden;
259 | }
260 | .image-container div{
261 | overflow: hidden;
262 | height: 100%;
263 | width: 98%;
264 | border-radius: 8px;
265 | }
266 | .image-container img {
267 | width: 100%;
268 | height: 100%;
269 | object-fit: cover;
270 | overflow: hidden;
271 | transition: 1s;
272 | }
273 | .image-container img:hover{
274 | transition: 6s ease-in-out;
275 | }
276 | .image-container img:hover{
277 | cursor:zoom-in;
278 | scale: 2;
279 | border-radius: 8px;
280 | }
281 | .username{
282 | display: flex;
283 | justify-content: space-around;
284 | align-items: center;
285 | height: 22%;
286 | }
287 | .username h1{
288 | font-size: 1.2rem;
289 | vertical-align: center ;
290 | }
291 | .username p a{
292 | text-decoration: none;
293 | color: black;
294 | }
295 | .username p a:hover{
296 | color:red;
297 | }
298 | .selected{
299 | background-color: var(--uiclr);
300 | color: white;
301 | }
302 | #style-2::-webkit-scrollbar-track
303 | {
304 | -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
305 | border-radius: 10px;
306 | background-color: #F5F5F5;
307 | }
308 |
309 | #style-2::-webkit-scrollbar
310 | {
311 | width: 12px;
312 | background-color: #F5F5F5;
313 | }
314 |
315 | #style-2::-webkit-scrollbar-thumb
316 | {
317 | border-radius: 10px;
318 | -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
319 | background-color:var(--uiclr);
320 | }
321 | #style-2::-webkit-scrollbar {
322 | display: none;
323 | }
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Admin
8 |
9 |
13 |
14 |
15 |
27 |
28 |
29 |
Dashboard
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
765
40 | Total Visits
41 |
42 |
43 |
44 |
45 |
46 |
62
47 | Total Posts
48 |
49 |
50 |
51 |
52 |
53 |
12
54 | Total Users
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
Recent Articles
63 |
64 |
65 |
66 | | No |
67 | Image |
68 | Title |
69 | Author |
70 | Edit |
71 | Delete |
72 |
73 |
74 |
75 | | 1 |
76 |  |
77 | Who Really Created the Marvel Universe? |
78 | Tony stark |
79 | Edit |
80 | Delete |
81 |
82 |
83 | | 1 |
84 |  |
85 | Who Really Created the Marvel Universe? |
86 | Tony stark |
87 | Edit |
88 | Delete |
89 |
90 |
91 | | 1 |
92 |  |
93 | Who Really Created the Marvel Universe? |
94 | Tony stark |
95 | Edit |
96 | Delete |
97 |
98 |
99 | | 1 |
100 |  |
101 | Who Really Created the Marvel Universe? |
102 | Tony stark |
103 | Edit |
104 | Delete |
105 |
106 |
107 | | 1 |
108 |  |
109 | Who Really Created the Marvel Universe? |
110 | Tony stark |
111 | Edit |
112 | Delete |
113 |
114 |
115 | | 1 |
116 |  |
117 | Who Really Created the Marvel Universe? |
118 | Tony stark |
119 | Edit |
120 | Delete |
121 |
122 |
123 | | 1 |
124 |  |
125 | Who Really Created the Marvel Universe? |
126 | Tony stark |
127 | Edit |
128 | Delete |
129 |
130 |
131 | | 1 |
132 |  |
133 | Who Really Created the Marvel Universe? |
134 | Tony stark |
135 | Edit |
136 | Delete |
137 |
138 |
139 | | 1 |
140 |  |
141 | Who Really Created the Marvel Universe? |
142 | Tony stark |
143 | Edit |
144 | Delete |
145 |
146 |
147 | | 1 |
148 |  |
149 | Who Really Created the Marvel Universe? |
150 | Tony stark |
151 | Edit |
152 | Delete |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
Users
162 |
163 |
164 |
165 |
166 |

167 |
168 |
169 |
170 |
Tony Stark
171 |
172 |
173 |
174 |
175 |
176 |
177 |

178 |
179 |
180 |
181 |
Tony Stark
182 |
183 |
184 |
185 |
186 |
187 |
188 |

189 |
190 |
191 |
192 |
Tony Stark
193 |
194 |
195 |
196 |
197 |
198 |
199 |

200 |
201 |
202 |
203 |
Tony Stark
204 |
205 |
206 |
207 |
208 |
209 |
210 |

211 |
212 |
213 |
214 |
Tony Stark
215 |
216 |
217 |
218 |
219 |
220 |
221 |

222 |
223 |
224 |
225 |
Tony Stark
226 |
227 |
228 |
229 |
230 |
231 |
232 |

233 |
234 |
235 |
236 |
Tony Stark
237 |
238 |
239 |
240 |
241 |
242 |
243 |

244 |
245 |
246 |
247 |
Tony Stark
248 |
249 |
250 |
251 |
252 |
253 |
254 |

255 |
256 |
257 |
258 |
Tony Stark
259 |
260 |
261 |
262 |
263 |
264 |
265 |

266 |
267 |
268 |
269 |
Tony Stark
270 |
271 |
272 |
273 |
274 |
275 |
276 |

277 |
278 |
279 |
280 |
Tony Stark
281 |
282 |
283 |
284 |
285 |
286 |
287 |

288 |
289 |
290 |
291 |
Tony Stark
292 |
293 |
294 |
295 |
296 |
297 |
298 |

299 |
300 |
301 |
302 |
Tony Stark
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
332 |
333 |
334 |
--------------------------------------------------------------------------------