-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_dashboard.php
More file actions
122 lines (120 loc) · 4.5 KB
/
user_dashboard.php
File metadata and controls
122 lines (120 loc) · 4.5 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Invoice Generator</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
display: flex;
height: 100vh;
overflow: hidden;
}
#sidebar {
min-width: 250px;
max-width: 250px;
background: #343a40;
color: #fff;
transition: all 0.3s;
}
#sidebar.active {
margin-left: -250px;
}
#sidebar .sidebar-header {
padding: 20px;
background: #4e555b;
}
#sidebar .list-group-item {
background: none;
border: none;
color: #fff;
}
#sidebar .list-group-item:hover {
background: #495057;
}
#sidebar .dropdown-menu {
background: #343a40;
border: none;
}
#sidebar .dropdown-item {
color: #fff;
}
#sidebar .dropdown-item:hover {
background: #495057;
}
#content {
flex: 1;
padding: 20px;
overflow: auto;
}
.navbar {
background: #343a40;
color: #fff;
}
</style>
</head>
<body>
<div id="sidebar" class="bg-dark">
<div class="sidebar-header text-center py-4">
<h3>Invoice Generator</h3>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="./user_dashboard.php" class="text-white">Dashboard</a></li>
<li class="list-group-item">
<a href="#invoice" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle text-white">Invoice</a>
<ul class="collapse list-unstyled" id="invoice">
<li class="list-group-item">
<a href="#" class="text-white">Create invoice</a>
</li>
<li class="list-group-item">
<a href="#" class="text-white">Manage Invoice</a>
</li>
</ul>
</li>
<li class="list-group-item">
<a href="#products" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle text-white">Products</a>
<ul class="collapse list-unstyled" id="products">
<li class="list-group-item">
<a href="#" class="text-white">Add products</a>
</li>
<li class="list-group-item">
<a href="#" class="text-white">Manage products</a>
</li>
</ul>
</li>
<li class="list-group-item">
<a href="#cust" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle text-white">Customers</a>
<ul class="collapse list-unstyled" id="cust">
<li class="list-group-item">
<a href="#" class="text-white">Add Customer</a>
</li>
<li class="list-group-item">
<a href="#" class="text-white">Manage Customers</a>
</li>
</ul>
</li>
<li class="list-group-item">
<a href="#profile" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle text-white">Profile</a>
<ul class="collapse list-unstyled" id="profile">
<li class="list-group-item">
<a href="#" class="text-white">Edit Profile</a>
</li>
<li class="list-group-item">
<a href="#" class="text-white">Logout</a>
</li>
</ul>
</li>
</ul>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<script>
document.getElementById('sidebarCollapse').addEventListener('click', function () {
document.getElementById('sidebar').classList.toggle('active');
});
</script>
</body>
</html>