Add Stafff Dashboard for staff supervisors to display case work for subordinates

This commit is contained in:
Ryan Prather 2024-11-30 20:01:15 -05:00
parent ffa728b093
commit 5bced5d71a

View File

@ -25,6 +25,15 @@
</li>
{% endif %}
{% if app.user.job.name == 'CASE_MANAGER' %}
<li class='nav-item'>
<a class='{{ staff_dashboard }}' href='/index.php/staff-dashboard'>
<i class='material-symbols-rounded opacity-5'>dashboard</i>
<span class='nav-link-text ms-1'>Staff Dashboard</span>
</a>
</li>
{% endif %}
<li class="nav-item">
<a class="{{ user_dashboard }}" href="/index.php/dashboard">
<i class="material-symbols-rounded opacity-5">dashboard</i>
@ -32,31 +41,31 @@
</a>
</li>
{#
<li class="nav-item">
<a class="nav-link text-dark" href="../pages/tables.html">
<i class="material-symbols-rounded opacity-5">table_view</i>
<span class="nav-link-text ms-1">Tables</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" href="../pages/billing.html">
<i class="material-symbols-rounded opacity-5">receipt_long</i>
<span class="nav-link-text ms-1">Billing</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" href="../pages/virtual-reality.html">
<i class="material-symbols-rounded opacity-5">view_in_ar</i>
<span class="nav-link-text ms-1">Virtual Reality</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" href="../pages/notifications.html">
<i class="material-symbols-rounded opacity-5">notifications</i>
<span class="nav-link-text ms-1">Notifications</span>
</a>
</li>
#}
<li class="nav-item">
<a class="nav-link text-dark" href="../pages/tables.html">
<i class="material-symbols-rounded opacity-5">table_view</i>
<span class="nav-link-text ms-1">Tables</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" href="../pages/billing.html">
<i class="material-symbols-rounded opacity-5">receipt_long</i>
<span class="nav-link-text ms-1">Billing</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" href="../pages/virtual-reality.html">
<i class="material-symbols-rounded opacity-5">view_in_ar</i>
<span class="nav-link-text ms-1">Virtual Reality</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" href="../pages/notifications.html">
<i class="material-symbols-rounded opacity-5">notifications</i>
<span class="nav-link-text ms-1">Notifications</span>
</a>
</li>
#}
<li class="nav-item mt-3">
<h6 class="ps-4 ms-2 text-uppercase text-xs text-dark font-weight-bolder opacity-5">Account pages</h6>
</li>
@ -80,6 +89,12 @@
</a>
</li>
{% endif %}
<li class='nav-item'>
<a class='text-dark nav-link' href='/index.php/logout'>
<i class='material-symbols-rounded opacity-5'>logout</i>
<span class='nav-link-text ms-1'>Logout</span>
</a>
</li>
</ul>
</div>
<div class="sidenav-footer position-absolute w-100 bottom-0 ">