<!-- Navbar -->
<nav class="main-header navbar navbar-expand navbar-gray-dark">
    <!-- Left navbar links -->
    <ul class="navbar-nav">
        <li class="nav-item">
            <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
        </li>
    </ul>
    <!-- Right navbar links -->
    <ul class="navbar-nav ml-auto">
        <!-- User Profile | logout -->
        <!-- Notifications Dropdown Menu -->
        <li class="nav-item dropdown">
            <a class="nav-link" data-toggle="dropdown" href="#">
                <i class="far fa-user-circle"></i>
            </a>
            <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
                <div class="dropdown-divider"></div>
                <a href="<?=base_url()?>/users/profile/<?=session()->get('id')?>" class="dropdown-item">
                    <i class="fas fa-user mr-2"></i> Perfil
                </a>
                <div class="dropdown-divider"></div>
                <a href="<?= base_url()?>/auth/logout" class="dropdown-item">
                    <i class="fas fa-sign-out-alt mr-2"></i> Sortir
                    <!--<span class="float-right text-muted text-sm">12 mins</span>-->
                </a>
            </div>
        </li>
    </ul>
</nav>
<!-- /.navbar -->