Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
121 changes: 121 additions & 0 deletions html/admin-dashboard.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Dashboard</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: white;
padding: 20px;
text-align: center;
}
.container {
display: flex;
height: 100vh;
}
nav {
width: 250px;
background-color: #444;
padding: 20px;
color: white;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul li {
margin: 20px 0;
}
nav ul li a {
color: white;
text-decoration: none;
}
nav ul li a:hover {
text-decoration: underline;
}
main {
flex-grow: 1;
background-color: #fff;
padding: 20px;
}
section {
margin-bottom: 20px;
}
section h2 {
margin-bottom: 10px;
}
.actions ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: space-between;
}
.actions ul li {
background-color: #333;
padding: 10px 20px;
color: white;
border-radius: 5px;
}
.actions ul li a {
color: white;
text-decoration: none;
}
.actions ul li a:hover {
text-decoration: underline;
}
</style>
</head>
<body>

<header>
<h1>Admin Dashboard</h1>
</header>

<div class="container">
<!-- Sidebar/Navigation -->
<nav>
<h2>Menu</h2>
<ul>
<li><a href="#">Dashboard Overview</a></li>
<li><a href="#">User Management</a></li>
<li><a href="#">Settings</a></li>
<li><a href="#">Reports</a></li>
<li><a href="#">Help</a></li>
</ul>
</nav>

<!-- Main Content -->
<main>
<section>
<h2>Welcome, Admin</h2>
<p>Here’s a quick overview of the latest activities and statistics.</p>
</section>

<section class="actions">
<h2>Admin Actions</h2>
<!-- Admin action links -->
<ul>
<li><a href="#">Link1</a></li>
<li><a href="#">Link2</a></li>
<li><a href="#">Link3</a></li>
<li><a href="#">Link4</a></li>
</ul>
</section>

<section>
<h2>Recent Activity</h2>
<p>No recent activity yet.</p>
</section>
</main>
</div>

</body>
</html>
3 changes: 3 additions & 0 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<li><a href="#">Home</a></li>
<li><a href="about-us.html">About Us</a></li>
<li><a href="lists.html">Page</a></li>
<li><a href="admin-dashboard.html">Admin Dashboard</a></li> <!-- Added User Dashboard link -->
<li><a href="#">Page</a></li>
</ul>
</nav>
Expand Down Expand Up @@ -93,3 +94,5 @@ <h2>the cozy cafes</h2>

<!-- Include external JavaScript files here (if needed) -->
<script src="../js/script.js"></script>
</body>
</html>