prime/html/index.html

118 lines
5.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Prime</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css">
2024-09-29 19:20:31 +07:00
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<link href="https://cdn.datatables.net/1.13.5/css/dataTables.bootstrap5.min.css" rel="stylesheet">
</head>
<body class="d-flex flex-column">
<!-- Navbar -->
2024-09-29 19:21:00 +07:00
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<div class="container-fluid">
<a class="navbar-brand" href="#">Prime Dashboard</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Customize</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Notification <sup class="badge bg-danger">1</sup> </a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle d-flex align-items-center" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<img src="no-profile-donut.png" alt="Profile" class="profile-image me-2">
Dita Aji Pratama
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">Profile</a></li>
<li><a class="dropdown-item" href="#">Settings</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">Logout</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- Sidebar -->
<div class="sidebar p-3" id="sidebar">
<!-- <h5>Sidebar</h5> -->
2024-09-30 17:19:45 +07:00
<ul class="navbar-nav flex-column pb-5">
<li class="nav-item">
2024-09-30 17:10:31 +07:00
<a class="nav-link text-white" href="#">
<i class="fa-solid fa-gauge me-3"></i> Dashboard
2024-09-30 17:10:31 +07:00
</a>
</li>
<li class="nav-item">
2024-09-30 17:10:31 +07:00
<a class="nav-link text-white" href="#">
<i class="fa-solid fa-users me-3"></i> Users
2024-09-30 17:10:31 +07:00
</a>
</li>
<li class="nav-item">
2024-09-30 17:10:31 +07:00
<a class="nav-link text-white" href="#">
<i class="fa-solid fa-book me-3"></i> Items
2024-09-30 17:10:31 +07:00
</a>
</li>
<li class="nav-item">
2024-09-30 17:10:31 +07:00
<a class="nav-link text-white" href="#">
<i class="fa-solid fa-book me-3"></i> Analytics
2024-09-30 17:10:31 +07:00
</a>
</li>
<li class="nav-item">
2024-09-30 17:10:31 +07:00
<a class="nav-link text-white" href="#">
<i class="fa-solid fa-book me-3"></i> Reports
2024-09-30 17:10:31 +07:00
</a>
</li>
<!-- Add more items to test scrolling -->
</ul>
</div>
<!-- Content -->
<div class="content flex-grow-1" id="content">
<h1>Main Content Area</h1>
<p>Welcome to the dashboard!</p>
<!-- Add more content here -->
</div>
<!-- Footer -->
<footer class="footer fixed-bottom" id="footer">
<p>&copy; 2024 Dita Aji Pratama. All rights reserved.</p>
</footer>
<!-- Sidebar Toggle Button -->
<button class="sidebar-toggle" id="sidebarToggle">
&#9776;<span>Menu</span>
</button>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script>
document.getElementById('sidebarToggle').addEventListener('click', function() {
var sidebar = document.getElementById('sidebar');
var content = document.getElementById('content');
var footer = document.getElementById('footer');
if (window.innerWidth <= 768) {
sidebar.classList.toggle('show');
} else {
sidebar.classList.toggle('minimized');
content.classList.toggle('full-width');
footer.classList.toggle('full-width');
}
});
</script>
</body>
</html>