|
|
|
@ -12,17 +12,17 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<ul class="navbar-nav justify-content-end"> |
|
|
|
|
{{-- Log Out --}} |
|
|
|
|
<li class="nav-item d-flex align-items-center"> |
|
|
|
|
<form method="POST" action="{{ route('logout') }}"> |
|
|
|
|
@csrf |
|
|
|
|
<a href="{{ route('logout') }}" class="nav-link text-body font-weight-bold px-0" |
|
|
|
|
{{-- User Fullname & Log Out --}} |
|
|
|
|
@auth |
|
|
|
|
<li class="nav-item d-flex align-items-center"> |
|
|
|
|
<a href="" class="nav-link text-body font-weight-bold px-0" |
|
|
|
|
onclick="event.preventDefault(); this.closest('form').submit();"> |
|
|
|
|
<i class="fa fa-user me-sm-1"></i> |
|
|
|
|
<span class="d-sm-inline d-none">Log Out</span> |
|
|
|
|
{{-- Hiển thị fullname của user thay cho Log Out --}} |
|
|
|
|
<span class="d-sm-inline d-none">{{ Auth::user()->fullname }}</span> |
|
|
|
|
</a> |
|
|
|
|
</form> |
|
|
|
|
</li> |
|
|
|
|
</li> |
|
|
|
|
@endauth |
|
|
|
|
|
|
|
|
|
{{-- Toggler (mobile) --}} |
|
|
|
|
<li class="nav-item d-xl-none ps-3 d-flex align-items-center"> |
|
|
|
@ -37,92 +37,16 @@ |
|
|
|
|
|
|
|
|
|
{{-- Fixed-plugin button --}} |
|
|
|
|
<li class="nav-item px-3 d-flex align-items-center"> |
|
|
|
|
<a href="javascript:;" class="nav-link text-body p-0"> |
|
|
|
|
<i class="fa fa-cog fixed-plugin-button-nav cursor-pointer"></i> |
|
|
|
|
</a> |
|
|
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-inline"> |
|
|
|
|
@csrf |
|
|
|
|
<button type="submit" class="nav-link text-body p-0 bg-transparent border-0" |
|
|
|
|
style="cursor: pointer;" title="Đăng xuất"> |
|
|
|
|
<i class="fas fa-sign-out-alt fa-lg"></i> |
|
|
|
|
</button> |
|
|
|
|
</form> |
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
{{-- Notifications dropdown --}} |
|
|
|
|
<li class="nav-item dropdown pe-2 d-flex align-items-center"> |
|
|
|
|
<a href="javascript:;" class="nav-link text-body p-0" id="dropdownMenuButton" |
|
|
|
|
data-bs-toggle="dropdown" aria-expanded="false"> |
|
|
|
|
<i class="fa fa-bell cursor-pointer"></i> |
|
|
|
|
</a> |
|
|
|
|
<ul class="dropdown-menu dropdown-menu-end px-2 py-3 me-sm-n4" aria-labelledby="dropdownMenuButton"> |
|
|
|
|
<li class="mb-2"> |
|
|
|
|
<a class="dropdown-item border-radius-md" href="javascript:;"> |
|
|
|
|
<div class="d-flex py-1"> |
|
|
|
|
<div class="my-auto"> |
|
|
|
|
<img src="{{ asset('soft-ui/assets/img/team-2.jpg') }}" |
|
|
|
|
class="avatar avatar-sm me-3"> |
|
|
|
|
</div> |
|
|
|
|
<div class="d-flex flex-column justify-content-center"> |
|
|
|
|
<h6 class="text-sm font-weight-normal mb-1"> |
|
|
|
|
<span class="font-weight-bold">New message</span> from Laur |
|
|
|
|
</h6> |
|
|
|
|
<p class="text-xs text-secondary mb-0"> |
|
|
|
|
<i class="fa fa-clock me-1"></i> |
|
|
|
|
13 minutes ago |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</a> |
|
|
|
|
</li> |
|
|
|
|
<li class="mb-2"> |
|
|
|
|
<a class="dropdown-item border-radius-md" href="javascript:;"> |
|
|
|
|
<div class="d-flex py-1"> |
|
|
|
|
<div class="my-auto"> |
|
|
|
|
<img src="{{ asset('soft-ui/assets/img/small-logos/logo-spotify.svg') }}" |
|
|
|
|
class="avatar avatar-sm bg-gradient-dark me-3"> |
|
|
|
|
</div> |
|
|
|
|
<div class="d-flex flex-column justify-content-center"> |
|
|
|
|
<h6 class="text-sm font-weight-normal mb-1"> |
|
|
|
|
<span class="font-weight-bold">New album</span> by Travis Scott |
|
|
|
|
</h6> |
|
|
|
|
<p class="text-xs text-secondary mb-0"> |
|
|
|
|
<i class="fa fa-clock me-1"></i> |
|
|
|
|
1 day |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</a> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<a class="dropdown-item border-radius-md" href="javascript:;"> |
|
|
|
|
<div class="d-flex py-1"> |
|
|
|
|
<div class="avatar avatar-sm bg-gradient-secondary me-3 my-auto"> |
|
|
|
|
<svg width="12px" height="12px" viewBox="0 0 43 36" version="1.1" |
|
|
|
|
xmlns="http://www.w3.org/2000/svg"> |
|
|
|
|
<title>credit-card</title> |
|
|
|
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> |
|
|
|
|
<g transform="translate(-2169.000000, -745.000000)" fill="#FFFFFF" |
|
|
|
|
fill-rule="nonzero"> |
|
|
|
|
<g transform="translate(1716.000000, 291.000000)"> |
|
|
|
|
<g transform="translate(453.000000, 454.000000)"> |
|
|
|
|
<path class="color-background opacity-6" d="M43,10.7482083 L43,3.58333333 C43,1.60354167 41.3964583,0 ... |
|
|
|
|
L0,10.7482083 L43,10.7482083 Z"></path> |
|
|
|
|
<path class="color-background" d="M0,16.125 L0,32.25 C0,34.2297917 1.60354167,35.8333333 ... |
|
|
|
|
L35.8333333,23.2916667 L35.8333333,26.875 Z"></path> |
|
|
|
|
</g> |
|
|
|
|
</g> |
|
|
|
|
</g> |
|
|
|
|
</g> |
|
|
|
|
</svg> |
|
|
|
|
</div> |
|
|
|
|
<div class="d-flex flex-column justify-content-center"> |
|
|
|
|
<h6 class="text-sm font-weight-normal mb-1"> |
|
|
|
|
Payment successfully completed |
|
|
|
|
</h6> |
|
|
|
|
<p class="text-xs text-secondary mb-0"> |
|
|
|
|
<i class="fa fa-clock me-1"></i> |
|
|
|
|
2 days |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</a> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|