Fix asset links
This commit is contained in:
parent
569e03aab0
commit
809490dc44
@ -2,8 +2,8 @@
|
|||||||
<aside class="sidenav navbar navbar-vertical navbar-expand-xs border-radius-lg fixed-start ms-2 bg-white my-2" id="sidenav-main">
|
<aside class="sidenav navbar navbar-vertical navbar-expand-xs border-radius-lg fixed-start ms-2 bg-white my-2" id="sidenav-main">
|
||||||
<div class="sidenav-header">
|
<div class="sidenav-header">
|
||||||
<i class="fas fa-times p-3 cursor-pointer text-dark opacity-5 position-absolute end-0 top-0 d-none d-xl-none" aria-hidden="true" id="iconSidenav"></i>
|
<i class="fas fa-times p-3 cursor-pointer text-dark opacity-5 position-absolute end-0 top-0 d-none d-xl-none" aria-hidden="true" id="iconSidenav"></i>
|
||||||
<a class="navbar-brand px-4 py-3 m-0" href="/index.php/dashboard">
|
<a class="navbar-brand px-4 py-3 m-0" href="{{ path('app_dashboard') }}">
|
||||||
<img src="/assets/img/logo-ct-dark-fede0e8581dd87c5e6217653376c32a4.png" class="navbar-brand-img" width="26" height="26" alt="main_logo">
|
<img src="{{ asset('img/logo-ct-dark.png') }}" class="navbar-brand-img" width="26" height="26" alt="main_logo">
|
||||||
<span class="ms-1 text-sm text-dark">CM Tracker</span>
|
<span class="ms-1 text-sm text-dark">CM Tracker</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -18,19 +18,19 @@
|
|||||||
<ul class="navbar-nav">
|
<ul class="navbar-nav">
|
||||||
{% if is_granted('ROLE_ADMIN') %}
|
{% if is_granted('ROLE_ADMIN') %}
|
||||||
<li class='nav-item'>
|
<li class='nav-item'>
|
||||||
<a class="{{ admin_dashboard }}" href="/index.php/admin-dashboard">
|
<a class="{{ admin_dashboard }}" href="{{ path('app_admin_dashboard') }}">
|
||||||
<i class="material-symbols-rounded opacity-5">dashboard</i>
|
<i class="material-symbols-rounded opacity-5">dashboard</i>
|
||||||
<span class="nav-link-text ms-1">Admin Dashboard</span>
|
<span class="nav-link-text ms-1">Admin Dashboard</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class='nav-item'>
|
<li class='nav-item'>
|
||||||
<a class='{{ case_list }}' href='/index.php/list-cases'>
|
<a class='{{ case_list }}' href='{{ path('app_list_cases') }}'>
|
||||||
<i class='material-symbols-rounded opacity-5'>cases</i>
|
<i class='material-symbols-rounded opacity-5'>cases</i>
|
||||||
<span class='nav-link-text ms-1'>Case List</span>
|
<span class='nav-link-text ms-1'>Case List</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li clas='nav-item'>
|
<li clas='nav-item'>
|
||||||
<a class='{{ referral_sources }}' href='/index.php/list-referral-sources'>
|
<a class='{{ referral_sources }}' href='{{ path('app_referral_source') }}'>
|
||||||
<i class='material-symbols-rounded opacity-5'>groups</i>
|
<i class='material-symbols-rounded opacity-5'>groups</i>
|
||||||
<span class='nav-link-text ms-1'>Referral Sources</span>
|
<span class='nav-link-text ms-1'>Referral Sources</span>
|
||||||
</a>
|
</a>
|
||||||
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
{% if is_granted('ROLE_CASE_MANAGER') %}
|
{% if is_granted('ROLE_CASE_MANAGER') %}
|
||||||
<li class='nav-item'>
|
<li class='nav-item'>
|
||||||
<a class='{{ staff_dashboard }}' href='/index.php/staff-dashboard'>
|
<a class='{{ staff_dashboard }}' href='{{ path('app_staff_dashboard') }}'>
|
||||||
<i class='material-symbols-rounded opacity-5'>dashboard</i>
|
<i class='material-symbols-rounded opacity-5'>dashboard</i>
|
||||||
<span class='nav-link-text ms-1'>Staff Dashboard</span>
|
<span class='nav-link-text ms-1'>Staff Dashboard</span>
|
||||||
</a>
|
</a>
|
||||||
@ -47,7 +47,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="{{ user_dashboard }}" href="/index.php/dashboard">
|
<a class="{{ user_dashboard }}" href="{{ path('app_dashboard') }}">
|
||||||
<i class="material-symbols-rounded opacity-5">dashboard</i>
|
<i class="material-symbols-rounded opacity-5">dashboard</i>
|
||||||
<span class="nav-link-text ms-1">Dashboard</span>
|
<span class="nav-link-text ms-1">Dashboard</span>
|
||||||
</a>
|
</a>
|
||||||
@ -56,21 +56,21 @@
|
|||||||
<h6 class="ps-4 ms-2 text-uppercase text-xs text-dark font-weight-bolder opacity-5">Account pages</h6>
|
<h6 class="ps-4 ms-2 text-uppercase text-xs text-dark font-weight-bolder opacity-5">Account pages</h6>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="{{ profile }}" href="/index.php/profile">
|
<a class="{{ profile }}" href="{{ path('app_profile') }}">
|
||||||
<i class="material-symbols-rounded opacity-5">person</i>
|
<i class="material-symbols-rounded opacity-5">person</i>
|
||||||
<span class="nav-link-text ms-1">Profile</span>
|
<span class="nav-link-text ms-1">Profile</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% if is_granted('ROLE_ADMIN') %}
|
{% if is_granted('ROLE_ADMIN') %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="{{ user_list }}" href="/index.php/list-users">
|
<a class="{{ user_list }}" href="{{ path('app_list_users') }}">
|
||||||
<i class="material-symbols-rounded opacity-5">assignment</i>
|
<i class="material-symbols-rounded opacity-5">assignment</i>
|
||||||
<span class="nav-link-text ms-1">User List</span>
|
<span class="nav-link-text ms-1">User List</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li class='nav-item'>
|
<li class='nav-item'>
|
||||||
<a class='text-dark nav-link' href='/index.php/logout'>
|
<a class='text-dark nav-link' href='{{ logout_path() }}'>
|
||||||
<i class='material-symbols-rounded opacity-5'>logout</i>
|
<i class='material-symbols-rounded opacity-5'>logout</i>
|
||||||
<span class='nav-link-text ms-1'>Logout</span>
|
<span class='nav-link-text ms-1'>Logout</span>
|
||||||
</a>
|
</a>
|
||||||
|
@ -3,6 +3,16 @@
|
|||||||
<div class="container-fluid py-1 px-3">
|
<div class="container-fluid py-1 px-3">
|
||||||
{{ block('breadcrumb', 'internal/libs/breadcrumb.html.twig') }}
|
{{ block('breadcrumb', 'internal/libs/breadcrumb.html.twig') }}
|
||||||
<div class="collapse navbar-collapse mt-sm-0 mt-2 me-md-0 me-sm-4" id="navbar">
|
<div class="collapse navbar-collapse mt-sm-0 mt-2 me-md-0 me-sm-4" id="navbar">
|
||||||
|
<div class='ms-md-auto pe-md-3 d-flex align-items-left'>
|
||||||
|
{% for label, messages in app.flashes %}
|
||||||
|
{% for message in messages %}
|
||||||
|
<div class="flash-{{ label }}">
|
||||||
|
{{ message }}
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="ms-md-auto pe-md-3 d-flex align-items-center">
|
<div class="ms-md-auto pe-md-3 d-flex align-items-center">
|
||||||
<div class="input-group input-group-outline">
|
<div class="input-group input-group-outline">
|
||||||
<label class="form-label">Case Search...</label>
|
<label class="form-label">Case Search...</label>
|
||||||
@ -47,7 +57,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item d-flex align-items-center" title="Profile">
|
<li class="nav-item d-flex align-items-center" title="Profile">
|
||||||
<a href="/index.php/profile" class="nav-link text-body font-weight-bold px-0">
|
<a href="{{ path('app_profile') }}" class="nav-link text-body font-weight-bold px-0">
|
||||||
<i class="material-symbols-rounded">account_circle</i>
|
<i class="material-symbols-rounded">account_circle</i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user