2019-02-08 12:42:58 +00:00
|
|
|
<!-- Main Sidebar Container -->
|
2019-06-17 01:44:56 +00:00
|
|
|
<aside class="main-sidebar sidebar-dark-primary elevation-4 d-print-none">
|
2019-02-08 12:42:58 +00:00
|
|
|
<!-- Brand Logo -->
|
|
|
|
<a href="{{ url('home') }}" class="brand-link">
|
2021-08-04 07:30:24 +00:00
|
|
|
<img src="{{ asset('img/logo.png') }}" alt="Logo" class="brand-image">
|
2019-02-08 12:42:58 +00:00
|
|
|
<span class="brand-text font-weight-light">{!! config('app.name_html_long','<b>App</b>Name') !!}</span>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<!-- Sidebar -->
|
|
|
|
<div class="sidebar">
|
|
|
|
<!-- Sidebar user panel (optional) -->
|
|
|
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
|
|
|
<div class="image">
|
2020-08-23 00:31:08 +00:00
|
|
|
@if(isset($user) AND $user->exists)
|
2019-12-16 00:29:34 +00:00
|
|
|
<img src="{{ Gravatar::get(($user->exists AND $user->email) ? $user->email : 'nobody@example.com') }}" class="img-circle elevation-2" alt="User">
|
|
|
|
@else
|
2020-05-06 06:30:16 +00:00
|
|
|
<a name="login" href="{{ url()->current().'?login=1' }}" class="d-block"><i class="pl-1 fas fa-lock fa-2x"></i></a>
|
2019-12-16 00:29:34 +00:00
|
|
|
@endif
|
2019-02-08 12:42:58 +00:00
|
|
|
</div>
|
2019-12-16 00:29:34 +00:00
|
|
|
|
2019-02-08 12:42:58 +00:00
|
|
|
<div class="info">
|
2020-08-23 00:31:08 +00:00
|
|
|
<a href="{{ url('login') }}" class="d-block">{{ (isset($user) AND $user->exists) ? ($user->name ?: 'No Name') : 'Login' }}</a>
|
2020-01-09 07:44:07 +00:00
|
|
|
@isset($user->lastlogin)<a name="login" span="d-block"><small><span style="color: #747474;">Last On:</span> {{ $user->lastlogin->format('Y-m-d H:i') }}</small></a>@endisset
|
2019-02-08 12:42:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Sidebar Menu -->
|
|
|
|
<nav class="mt-2">
|
|
|
|
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
|
|
|
|
<!-- Add icons to the links using the .nav-icon class with font-awesome or any other icon font library -->
|
|
|
|
@include('adminlte::layouts.partials.sidebarmenu')
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2018-05-01 01:09:55 +00:00
|
|
|
<!-- /.sidebar-menu -->
|
2019-02-08 12:42:58 +00:00
|
|
|
</div>
|
|
|
|
<!-- /.sidebar -->
|
2020-08-23 00:31:08 +00:00
|
|
|
</aside>
|