Raffales-LMS/resources/views/delete_layouts/adminold/header.blade.php
2024-04-16 15:43:24 +05:45

153 lines
8.0 KiB
PHP

<header id="page-topbar">
<div class="navbar-header">
<div class="d-flex">
<!-- LOGO -->
<div class="navbar-brand-box">
<a href="{{route('homepage')}}" class="logo logo-light">
<span class="logo-sm">
<img src="{{setting('image')}}" alt="" height="50px">
</span>
<span class="logo-lg">
<img src="{{setting('image')}}" alt="" height="50px">
</span>
</a>
</div>
<button type="button" class="btn btn-sm px-3 font-size-24 header-item waves-effect" id="vertical-menu-btn">
<i class="mdi mdi-menu"></i>
</button>
</div>
<h2 style="color: white">{{setting('project_name')}}</h2>
<div class="d-flex">
{{-- Notification --}}
{{-- <div class="dropdown d-inline-block">
<button type="button" class="btn header-item noti-icon waves-effect" id="page-header-notifications-dropdown"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="mdi mdi-bell-outline"></i>
<span class="badge text-bg-danger badge-pill">2</span>
</button>
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right p-0"
aria-labelledby="page-header-notifications-dropdown">
<div class="p-3">
<h6 class="m-0">Notifications (258) </h6>
</div>
<div data-simplebar style="max-height: 230px;">
<a href="" class="text-reset notification-item">
<div class="media">
<div class="avatar-xs mr-3">
<span class="avatar-title bg-primary rounded-circle font-size-16">
<i class="mdi mdi-cart-outline"></i>
</span>
</div>
<div class="media-body">
<h6 class="mt-0 mb-1 font-size-15">Your order is placed</h6>
<div class="text-muted">
<p class="mb-1 font-size-12">Dummy text of the printing and typesetting industry.</p>
</div>
</div>
</div>
</a>
<a href="" class="text-reset notification-item">
<div class="media">
<div class="avatar-xs mr-3">
<span class="avatar-title bg-warning rounded-circle font-size-16">
<i class="mdi mdi-message"></i>
</span>
</div>
<div class="media-body">
<h6 class="mt-0 mb-1 font-size-15">New Message received</h6>
<div class="text-muted">
<p class="mb-1 font-size-12">You have 87 unread messages</p>
</div>
</div>
</div>
</a>
<a href="" class="text-reset notification-item">
<div class="media">
<div class="avatar-xs mr-3">
<span class="avatar-title bg-info rounded-circle font-size-16">
<i class="mdi mdi-help"></i>
</span>
</div>
<div class="media-body">
<h6 class="mt-0 mb-1 font-size-15">Your order is placed</h6>
<div class="text-muted">
<p class="mb-1 font-size-12">It is a long established fact that a reader will</p>
</div>
</div>
</div>
</a>
<a href="" class="text-reset notification-item">
<div class="media">
<div class="avatar-xs mr-3">
<span class="avatar-title bg-primary rounded-circle font-size-16">
<i class="mdi mdi-cart-outline"></i>
</span>
</div>
<div class="media-body">
<h6 class="mt-0 mb-1 font-size-15">Your order is placed</h6>
<div class="text-muted">
<p class="mb-1 font-size-12">Dummy text of the printing and typesetting industry.</p>
</div>
</div>
</div>
</a>
<a href="" class="text-reset notification-item">
<div class="media">
<div class="avatar-xs mr-3">
<span class="avatar-title bg-danger rounded-circle font-size-16">
<i class="mdi mdi-cart-outline"></i>
</span>
</div>
<div class="media-body">
<h6 class="mt-0 mb-1 font-size-15">Your order is placed</h6>
<div class="text-muted">
<p class="mb-1 font-size-12">Dummy text of the printing and typesetting industry.</p>
</div>
</div>
</div>
</a>
</div>
<div class="p-2 border-top">
<a class="btn btn-sm btn-link font-size-14 btn-block text-center" href="javascript:void(0)">
<i class="mdi mdi-arrow-right-circle mr-1"></i> View all
</a>
</div>
</div>
</div> --}}
<div class="dropdown d-none d-lg-inline-block ml-1">
<button type="button" class="btn header-item noti-icon waves-effect" data-toggle="fullscreen">
<i class="mdi mdi-fullscreen"></i>
</button>
</div>
<div class="dropdown d-inline-block">
<button type="button" class="btn header-item waves-effect" id="page-header-user-dropdown"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="d-none d-xl-inline-block ml-1">{{Auth::user()->name}}</span>
<i class="mdi mdi-chevron-down d-none d-xl-inline-block"></i>
</button>
<div class="dropdown-menu dropdown-menu-right">
<!-- item-->
<a class="dropdown-item" href="{{route('user.profileUpdate')}}"><i class="dripicons-user d-inlne-block text-muted mr-1"></i> Profile</a>
<a class="dropdown-item" href="{{route('setting.index')}}"><i class="mdi mdi-spin mdi-settings mr-1"></i> Setting</a>
<a class="dropdown-item" href="{{ route('logout')}}" onclick="event.preventDefault();document.getElementById('logoutform').submit()"><i class="fa fa-power-off mr-1"></i>Logout</a>
<form action="{{ route('logout') }}" method="post" id="logoutform">
{{ csrf_field() }}
</form>
</div>
</div>
</div>
</div>
</header>