pos-gis/resources/views/components/master/navProfile.blade.php

89 lines
5.5 KiB
PHP
Raw Normal View History

2024-10-07 06:13:42 +00:00
<div id="kt_quick_user" class="offcanvas offcanvas-right p-10">
<!--begin::Header-->
<div class="offcanvas-header d-flex align-items-center justify-content-between pb-5">
<h3 class="font-weight-bold m-0">User Profile</h3>
<a href="#" class="btn btn-xs btn-icon btn-light btn-hover-primary" id="kt_quick_user_close">
<i class="ki ki-close icon-xs text-muted"></i>
</a>
</div>
<!--end::Header-->
<!--begin::Content-->
<div class="offcanvas-content pr-5 mr-n5">
<!--begin::Header-->
<div class="d-flex align-items-center mt-5">
<div class="symbol symbol-light-primary mr-5">
<span class="symbol-label font-size-h5">{{substr(Auth::guard('admin')->user()->full_name,0,1)}}</span>
</div>
<div class="d-flex flex-column">
<a href="#" class="font-weight-bold font-size-h5 text-dark-75 text-hover-primary">{{Auth::guard('admin')->user()->full_name}}</a>
{{-- <div class="text-muted mt-1">{{Auth::user()->username}}</div> --}}
<div class="navi mt-0">
<a href="#" class="navi-item">
<span class="navi-link p-0 pb-2">
<span class="navi-icon mr-1">
<span class="svg-icon svg-icon-lg svg-icon-primary">
<!--begin::Svg Icon | path:assets/media/svg/icons/Communication/Mail-notification.svg-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<rect x="0" y="0" width="24" height="24" />
<path d="M21,12.0829584 C20.6747915,12.0283988 20.3407122,12 20,12 C16.6862915,12 14,14.6862915 14,18 C14,18.3407122 14.0283988,18.6747915 14.0829584,19 L5,19 C3.8954305,19 3,18.1045695 3,17 L3,8 C3,6.8954305 3.8954305,6 5,6 L19,6 C20.1045695,6 21,6.8954305 21,8 L21,12.0829584 Z M18.1444251,7.83964668 L12,11.1481833 L5.85557487,7.83964668 C5.4908718,7.6432681 5.03602525,7.77972206 4.83964668,8.14442513 C4.6432681,8.5091282 4.77972206,8.96397475 5.14442513,9.16035332 L11.6444251,12.6603533 C11.8664074,12.7798822 12.1335926,12.7798822 12.3555749,12.6603533 L18.8555749,9.16035332 C19.2202779,8.96397475 19.3567319,8.5091282 19.1603533,8.14442513 C18.9639747,7.77972206 18.5091282,7.6432681 18.1444251,7.83964668 Z" fill="#000000" />
<circle fill="#000000" opacity="0.3" cx="19.5" cy="17.5" r="2.5" />
</g>
</svg>
<!--end::Svg Icon-->
</span>
</span>
<span class="navi-text text-muted text-hover-primary">{{Auth::guard('admin')->user()->email}}</span>
</span>
</a>
<div class="row ml-1 mt-2">
<button onclick="changePasswordShow()" class="mr-2 btn btn-sm btn-primary font-weight-bolder py-2 px-5 mt-2">Change Password</button>
<button onclick="actLogout()" class="btn btn-sm btn-light-primary font-weight-bolder py-2 px-5 mt-2">Sign Out</button>
{{-- <form action="{{ route('logout') }}" method="post"> --}}
{{-- {{ csrf_field() }}
<input type="submit" value="Sign Out" class="btn btn-sm btn-light-primary font-weight-bolder py-2 px-5">
</form> --}}
</div>
{{-- <a href="#" class="btn btn-sm btn-success font-weight-bolder py-2 px-5">Change Password</a> --}}
</div>
</div>
</div>
<!--end::Header-->
<!--begin::Separator-->
<div class="separator separator-dashed mt-8 mb-5"></div>
<!--end::Separator-->
</div>
<!--end::Content-->
</div>
<div id="kt_quick_notifications" class="offcanvas offcanvas-right p-10">
<!--begin::Header-->
<div class="offcanvas-header d-flex align-items-center justify-content-between mb-10" kt-hidden-height="24" style="">
<h3 class="font-weight-bold m-0">Notifications
<small class="text-muted font-size-sm ml-2"></small></h3>
<a href="#" class="btn btn-xs btn-icon btn-light btn-hover-primary" id="kt_quick_notifications_close">
<i class="ki ki-close icon-xs text-muted"></i>
</a>
</div>
<!--end::Header-->
<!--begin::Content-->
<div class="offcanvas-content pr-5 mr-n5 scroll ps ps--active-y" style="height: 513px; overflow: hidden;">
<!--begin::Nav-->
<div class="navi navi-icon-circle navi-spacer-x-0" id="list_notif_admin">
<!--begin::Item-->
<!--end::Item-->
</div>
<!--end::Nav-->
<div class="ps__rail-x" style="left: 0px; bottom: 0px;"><div class="ps__thumb-x" tabindex="0" style="left: 0px; width: 0px;"></div></div><div class="ps__rail-y" style="top: 0px; height: 513px; right: 0px;"><div class="ps__thumb-y" tabindex="0" style="top: 0px; height: 291px;"></div></div></div>
<!--end::Content-->
</div>