%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/dsr_code/resources/views/layouts/include/
Upload File :
Create Path :
Current File : /home/silvzytp/dsr_code/resources/views/layouts/include/header.blade.php

<header class="header">
    <div class="page-brand">
        <a class="link" href="#">
            <span class="brand">Management</span>
            <span class="brand-mini">MG</span>
        </a>
    </div>
    <div class="flexbox flex-1">
        <!-- START TOP-LEFT TOOLBAR-->
        <ul class="nav navbar-toolbar">
            <li>
                <a class="nav-link sidebar-toggler js-sidebar-toggler"><i class="ti-menu"></i></a>
            </li>
        </ul>
        <!-- END TOP-LEFT TOOLBAR-->
        <!-- START TOP-RIGHT TOOLBAR-->
        <ul class="nav navbar-toolbar">
            {{-- @permission('app.team-member.index') --}}
            @if (Auth::user()->role->slug == 'manager')
                <li><a href="{{ route('app.team-member.index') }}" class="nav-link"><i class="fa fa-users fa-sm mr-1"></i> Team Member</a></li>
            @endif
            {{-- @endpermission --}}

            <li class="dropdown dropdown-user">
                <a class="nav-link dropdown-toggle link" data-toggle="dropdown">
                    <img src="{{ file_exists(Auth::user()->avatar) ? asset(Auth::user()->avatar) : asset('uploads/images/user.png') }}" />
                    <span class="d-none d-sm-block">Hi {{ Auth::user()->name }}</span><i class="fa fa-angle-down m-l-5"></i></a>
                <ul class="dropdown-menu dropdown-menu-right">
                    @super_admin('super-admin')
                        <a class="dropdown-item" href="{{ route('super.profile.index') }}"><i class="fa fa-user"></i>Profile</a>

                        <a class="dropdown-item" href="{{ route('super.password.index') }}"><i class="fa fa-unlock-alt"></i>Password Change</a>
                    @else
                        @permission('app.profile.index')
                            <a class="dropdown-item" href="{{ route('app.profile.index') }}"><i class="fa fa-user"></i>Profile</a>
                        @endpermission

                        @permission('app.password.index')
                            <a class="dropdown-item" href="{{ route('app.password.index') }}"><i class="fa fa-unlock-alt"></i>Password Change</a>
                        @endpermission
                    @endsuper_admin
                    <a class="dropdown-item" href="{{ route('logout') }}"><i class="fa fa-power-off"></i>Logout</a>
                </ul>
            </li>
        </ul>
        <!-- END TOP-RIGHT TOOLBAR-->
    </div>
</header>

Zerion Mini Shell 1.0