Moved Settings from user dropdown back to the main side nav for consistency, clicking settings now goes to the user list

This commit is contained in:
johnnyq 2022-04-02 19:38:31 -04:00
parent 3e38692051
commit 0b91b39e2f
3 changed files with 12 additions and 6 deletions

View File

@ -13,7 +13,7 @@
<a href="dashboard_financial.php" class="nav-link">
<i class="nav-icon fas fa-arrow-left"></i>
<p>Back</p> |
<p><strong>Admin Nav</strong></p>
<p><strong>Settings</strong></p>
</a>
</li>

View File

@ -185,6 +185,17 @@
<?php } ?>
<?php if($session_user_role == 3){ ?>
<li class="nav-item mt-3">
<a href="users.php" class="nav-link">
<i class="nav-icon fas fa-cog"></i>
<p>Settings</p>
</a>
</li>
<?php } ?>
<?php
$sql = mysqli_query($mysqli,"SELECT * FROM custom_links WHERE company_id = $session_company_id");

View File

@ -46,11 +46,6 @@
<!-- Menu Footer-->
<li class="user-footer">
<a href="settings-user.php" class="btn btn-default btn-flat">Profile</a>
<?php if($session_user_role > 2){ ?>
<a href="settings-general.php" class="btn btn-dark btn-flat ml-4">Admin</a>
<?php } ?>
<a href="post.php?logout" class="btn btn-default btn-flat float-right">Sign out</a>
</li>
</ul>