Updated Side Nav header spacing from 3 to 2 removed some unnessary title headers in sidenav, this will allow for more room for other items on the side navs

This commit is contained in:
johnnyq 2022-04-29 17:07:30 -04:00
parent 0641b0bfd4
commit 099fcbe4bc
3 changed files with 12 additions and 18 deletions

View File

@ -9,7 +9,7 @@
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" data-accordion="false">
<li class="nav-item mb-3">
<li class="nav-item mb-2">
<a href="dashboard_financial.php" class="nav-link">
<i class="nav-icon fas fa-arrow-left"></i>
<p>Back</p> |
@ -30,8 +30,6 @@
<p>Companies</p>
</a>
</li>
<li class="nav-header mt-3">SETTINGS</li>
<li class="nav-item">
<a href="settings-general.php" class="nav-link <?php if(basename($_SERVER["PHP_SELF"]) == "settings-general.php") { echo "active"; } ?>">
@ -154,8 +152,6 @@
</a>
</li>
<li class="nav-header mt-3">MORE SETTINGS</li>
<li class="nav-item">
<a href="custom_links.php" class="nav-link <?php if(basename($_SERVER["PHP_SELF"]) == "custom_links.php") { echo "active"; } ?>">
<i class="nav-icon fas fa-link"></i>

View File

@ -14,19 +14,17 @@
<p><strong><?php echo $client_name; ?></strong></p>
</a>
</li>
<div class="sidebar-custom">
<div class="sidebar-custom mb-2">
<div class="text-wrap"><?php echo $client_tags_display; ?></div>
</div>
<li class="nav-item mt-3">
<li class="nav-item">
<a href="?client_id=<?php echo $client_id; ?>&tab=overview" class="nav-link <?php if($_GET['tab'] == "overview") { echo "active"; } ?>">
<i class="nav-icon fas fa-tachometer-alt"></i>
<p>Overview</p>
</a>
</li>
<li class="nav-header mt-3">CLIENT</li>
<li class="nav-item">
<a href="?client_id=<?php echo $client_id; ?>&tab=contacts" class="nav-link <?php if($_GET['tab'] == "contacts") { echo "active"; } ?>">
<i class="nav-icon fas fa-users"></i>
@ -53,7 +51,7 @@
</a>
</li>
<li class="nav-header mt-3">ASSETS</li>
<li class="nav-header mt-2">ASSETS</li>
<li class="nav-item">
<a href="?client_id=<?php echo $client_id; ?>&tab=assets" class="nav-link <?php if($_GET['tab'] == "assets") { echo "active"; } ?>">
@ -133,7 +131,7 @@
</a>
</li>
<li class="nav-header mt-3">SUPPORT</li>
<li class="nav-header mt-2">SUPPORT</li>
<?php if($config_module_enable_ticketing == 1){ ?>
<li class="nav-item">
@ -217,7 +215,7 @@
<?php if($session_user_role == 1 || $session_user_role > 2 && $config_module_enable_accounting == 1){ ?>
<li class="nav-header mt-3">ACCOUNTING</li>
<li class="nav-header mt-2">ACCOUNTING</li>
<li class="nav-item">
<a href="?client_id=<?php echo $client_id; ?>&tab=invoices" class="nav-link <?php if($_GET['tab'] == "invoices") { echo "active"; } ?>">
@ -286,7 +284,7 @@
<?php } ?>
<li class="nav-header mt-3">MORE</li>
<li class="nav-header mt-2">MORE</li>
<li class="nav-item">
<a href="?client_id=<?php echo $client_id; ?>&tab=shared-items" class="nav-link <?php if($_GET['tab'] == "shared-items") { echo "active"; } ?>">

View File

@ -76,7 +76,7 @@
<?php if($session_user_role >= 2 && $config_module_enable_ticketing == 1){ ?>
<li class="nav-header mt-3">SUPPORT</li>
<li class="nav-header mt-2">SUPPORT</li>
<li class="nav-item">
<a href="tickets.php" class="nav-link <?php if(basename($_SERVER["PHP_SELF"]) == "tickets.php" || basename($_SERVER["PHP_SELF"]) == "ticket.php") { echo "active"; } ?>">
<i class="nav-icon fas fa-ticket-alt"></i>
@ -107,7 +107,7 @@
<?php if($session_user_role == 1 OR $session_user_role == 3 && $config_module_enable_accounting == 1){ ?>
<li class="nav-header mt-3">SALES</li>
<li class="nav-header mt-2">SALES</li>
<li class="nav-item">
<a href="quotes.php" class="nav-link <?php if(basename($_SERVER["PHP_SELF"]) == "quotes.php" || basename($_SERVER["PHP_SELF"]) == "quote.php") { echo "active"; } ?>">
<i class="nav-icon fas fa-file-invoice"></i>
@ -138,7 +138,7 @@
<p>Products</p>
</a>
</li>
<li class="nav-header mt-3">ACCOUNTING</li>
<li class="nav-header mt-2">ACCOUNTING</li>
<li class="nav-item">
<a href="payments.php" class="nav-link <?php if(basename($_SERVER["PHP_SELF"]) == "payments.php") { echo "active"; } ?>">
<i class="nav-icon fas fa-credit-card"></i>
@ -187,7 +187,7 @@
<?php if($session_user_role == 3){ ?>
<li class="nav-item mt-3">
<li class="nav-item mt-2">
<a href="users.php" class="nav-link">
<i class="nav-icon fas fa-cog"></i>
<p>Settings</p>
@ -204,7 +204,7 @@
?>
<li class="nav-header mt-3">EXTERNAL LINKS</li>
<li class="nav-header mt-2">EXTERNAL LINKS</li>
<?php