-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsidenav.php
72 lines (69 loc) · 2.25 KB
/
sidenav.php
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
<div class="sidebar">
<div class="logo-details">
<i class='fa fa-american-sign-language-interpreting'></i>
<span class="logo_name">Go & Save</span>
</div>
<ul class="nav-links">
<li>
<a href="panelOrg.php">
<i class='bx bx-grid-alt'></i>
<span class="links_name">Dashboard</span>
</a>
</li>
<!--
<li>
<a href="viewOrgLogin.php">
<i class='bx bx-message'></i>
<span class="links_name">View Organization <br>Admin Login</span>
</a>
</li>-->
<li>
<a href="orgRegistration.php">
<i class='bx bx-book-alt'></i>
<span class="links_name">View Organization<br> Data</span>
</a>
</li>
<li>
<a href="orgBranchdata.php">
<i class='bx bx-book-alt'></i>
<span class="links_name">View Organization<br> Branch Data</span>
</a>
</li>
<li>
<a href="viewOrgLogin.php">
<i class='bx bx-cog'></i>
<span class="links_name">Setting</span>
</a>
</li>
<li class="log_out">
<a href="./logout.php">
<i class='bx bx-log-out'></i>
<span class="links_name">Log out</span>
</a>
</li>
<!-- <li>
<a href="../contact/view.php">
<i class='bx bx-message'></i>
<span class="links_name">View Contact Us</span>
</a>
</li>-->
</ul>
</div>
<section class="home-section">
<nav>
<div class="sidebar-button">
<i class='bx bx-menu sidebarBtn'></i>
<span class="dashboard">Dashboard</span>
</div>
</nav>
<script>
let sidebar = document.querySelector(".sidebar");
let sidebarBtn = document.querySelector(".sidebarBtn");
sidebarBtn.onclick = function() {
sidebar.classList.toggle("active");
if (sidebar.classList.contains("active")) {
sidebarBtn.classList.replace("bx-menu", "bx-menu-alt-right");
} else
sidebarBtn.classList.replace("bx-menu-alt-right", "bx-menu");
}
</script>