Couple nav updates

This commit is contained in:
Ryan Prather 2024-12-07 22:45:23 -05:00
parent 0a4a0e2e75
commit 116393aca6
2 changed files with 5 additions and 15 deletions

View File

@ -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 " target="_blank"> <a class="navbar-brand px-4 py-3 m-0" href="/index.php/dashboard">
<img src="/assets/img/logo-ct-dark.png" class="navbar-brand-img" width="26" height="26" alt="main_logo"> <img src="/assets/img/logo-ct-dark-fede0e8581dd87c5e6217653376c32a4.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>

View File

@ -2,7 +2,7 @@
<!-- Navbar --> <!-- Navbar -->
<nav class="navbar navbar-expand-lg blur border-radius-xl top-0 z-index-3 shadow position-absolute my-3 py-2 start-0 end-0 mx-4"> <nav class="navbar navbar-expand-lg blur border-radius-xl top-0 z-index-3 shadow position-absolute my-3 py-2 start-0 end-0 mx-4">
<div class="container-fluid ps-2 pe-0"> <div class="container-fluid ps-2 pe-0">
<a class="navbar-brand font-weight-bolder ms-lg-0 ms-3 " href="../pages/dashboard.html"> <a class="navbar-brand font-weight-bolder ms-lg-0 ms-3 " href="/index.php/dashboard">
CM Tracker CM Tracker
</a> </a>
<button class="navbar-toggler shadow-none ms-2" type="button" data-bs-toggle="collapse" data-bs-target="#navigation" aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler shadow-none ms-2" type="button" data-bs-toggle="collapse" data-bs-target="#navigation" aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
@ -18,7 +18,7 @@
<!-- @todo only display when logged in --> <!-- @todo only display when logged in -->
{% if app.user %} {% if app.user %}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link d-flex align-items-center me-2 active" aria-current="page" href="/index.php/"> <a class="nav-link d-flex align-items-center me-2 active" aria-current="page" href="/index.php/dashboard">
<i class="fa fa-chart-pie opacity-6 text-dark me-1"></i> <i class="fa fa-chart-pie opacity-6 text-dark me-1"></i>
Dashboard Dashboard
</a> </a>
@ -45,17 +45,7 @@
</li> </li>
{% endif %} {% endif %}
</ul> </ul>
<ul <ul class="navbar-nav d-lg-flex d-none"></ul>
class="navbar-nav d-lg-flex d-none"><!--
replace with other link
<li class="nav-item d-flex align-items-center">
<a class="btn btn-outline-primary btn-sm mb-0 me-2" target="_blank" href="https://www.creative-tim.com/builder?ref=navbar-material-dashboard">Online Builder</a>
</li>
<li class="nav-item">
<a href="https://www.creative-tim.com/product/material-dashboard" class="btn btn-sm mb-0 me-1 bg-gradient-dark">Free download</a>
</li>
-->
</ul>
</div> </div>
</div> </div>
</nav> </nav>