-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
96 lines (87 loc) · 3.54 KB
/
dashboard.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
<!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 rel="stylesheet" href="styles.css">
<title>Admin Panel</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.2.0/remixicon.css"
integrity="sha512-OQDNdI5rpnZ0BRhhJc+btbbtnxaj+LdQFeh0V9/igiEPDiWE2fG+ZsXl0JEH+bjXKPJ3zcXqNyP4/F/NegVdZg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<div class="side-menu">
<div class="brand-name">
<h1>MyBrand</h1>
</div>
<ul>
<li id="dashboardBtn"><i class="ri-dashboard-line"></i> <span>Dashboard</span> </li>
<li id="messageBtn"><a href="#"><i class="ri-message-2-line"></i> <span>Message</span> </a></li>
<li id="blogBtn"> <a href="#"><i class="ri-blogger-line"></i> <span>Blog</span> </a></li>
</ul>
</div>
<div class="header">
<div class="nav">
<div class="search">
<input type="text" placeholder="Search..">
<button type="submit"><img src="images/search.png" alt=""></button>
</div>
<div class="user">
<a href="#" class="btn" onclick="logout()">logout</a>
<img src="images/notifications.png" alt="">
<div class="img-case">
<img src="images/user.png" alt="">
</div>
</div>
</div>
<div class="loading-spinner" id="loading-spinner">
<img src="./images/Spinner-2.gif" alt="Loading Spinner">
<p>Please wait.....</p>
</div>
</div>
<div class="container">
<div class="content-2" id="dashboard">
<p>welcome to my brand Dashboard.</p>
<p>Navigete to side bar and get content</p>
</div>
<div class="content-2" id="message">
<div class="recent-message">
<div class="title">
<h2>Messages</h2>
<a href="#" class="btn">View All</a>
</div>
<table>
<tr>
<th>N<sup>0</sup></th>
<th>Name</th>
<th>Message</th>
<th>option</th>
</tr>
<tbody id="message-content">
</tbody>
</table>
</div>
</div>
<div class="content-2" id="blog">
<div class="recent-blog">
<div class="title">
<h2>Blogs</h2>
<a href="#" class="btn">View All</a>
</div>
<div id="blogsContainer">
</div>
<button style="padding: 3px; background-color: #4040fcf0; width: 100px; height: 50px; font-size: 1.3em; color: white; border: none; border-radius: 3px;"><a href="./addblog.html">Add Blog</a></button>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.6.8/axios.min.js"
integrity="sha512-PJa3oQSLWRB7wHZ7GQ/g+qyv6r4mbuhmiDb8BjSFZ8NZ2a42oTtAq5n0ucWAwcQDlikAtkub+tPVCw4np27WCg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="index.js"></script>
<script src="messages.js"></script>
<script src="blogs.js"></script>
</body>
</html>