123 lines
5.9 KiB
PHP
123 lines
5.9 KiB
PHP
|
|
||
|
<!--begin::Header-->
|
||
|
<div id="kt_header" class="header flex-column header-fixed">
|
||
|
|
||
|
<!--begin::Top-->
|
||
|
<div class="header-top">
|
||
|
|
||
|
<!--begin::Container-->
|
||
|
<div class="container-fluid">
|
||
|
|
||
|
<!--begin::Left-->
|
||
|
<div class="d-none d-lg-flex align-items-center mr-3">
|
||
|
|
||
|
<!--begin::Logo-->
|
||
|
<a href="#" class="mr-20">
|
||
|
<img alt="Logo" src="{{ asset('assets/media/others/4.png') }}" class="max-h-60px" />
|
||
|
</a>
|
||
|
|
||
|
<!--end::Logo-->
|
||
|
|
||
|
<!--begin::Tab Navs(for desktop mode)-->
|
||
|
<ul class="header-tabs nav align-self-end font-size-lg" role="tablist">
|
||
|
|
||
|
<!--begin::Item-->
|
||
|
<li class="nav-item">
|
||
|
<a href="#" class="nav-link py-4 px-6 active" data-toggle="tab" data-target="#kt_header_tab_1" role="tab">Home</a>
|
||
|
</li>
|
||
|
|
||
|
<!--end::Item-->
|
||
|
</ul>
|
||
|
|
||
|
<!--begin::Tab Navs-->
|
||
|
</div>
|
||
|
|
||
|
<!--end::Left-->
|
||
|
|
||
|
<!--begin::Topbar-->
|
||
|
<div class="topbar">
|
||
|
{{-- @php
|
||
|
$countInbox = collect(DB::select("select sum(x.jml_inbox) as jml_inbox
|
||
|
from
|
||
|
(select
|
||
|
count(id) as jml_inbox
|
||
|
from
|
||
|
master_meeting_participant mmp
|
||
|
where
|
||
|
participant_id = :id
|
||
|
and is_read = false
|
||
|
union
|
||
|
select
|
||
|
count(id) as jml_inbox
|
||
|
from
|
||
|
master_task_inbox mti
|
||
|
where
|
||
|
mti.pic_id = :id
|
||
|
and mti.is_read = false) as x",['id' => Auth::user()->id]))->first();
|
||
|
@endphp --}}
|
||
|
{{-- <!--begin::Notifications-->
|
||
|
<div class="dropdown">
|
||
|
<!--begin::Toggle-->
|
||
|
<div class="topbar-item" data-toggle="dropdown" data-offset="10px,0px">
|
||
|
<div class="btn btn-icon btn-hover-transparent-white btn-dropdown btn-lg mr-1 pulse pulse-white" title="Inbox Meeting" onclick="loadContent('inboxMeeting', this, event)">
|
||
|
<span class="svg-icon svg-icon-xl">
|
||
|
<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"></rect>
|
||
|
<path d="M6,2 L18,2 C18.5522847,2 19,2.44771525 19,3 L19,13 C19,13.5522847 18.5522847,14 18,14 L6,14 C5.44771525,14 5,13.5522847 5,13 L5,3 C5,2.44771525 5.44771525,2 6,2 Z M13.8,4 C13.1562,4 12.4033,4.72985286 12,5.2 C11.5967,4.72985286 10.8438,4 10.2,4 C9.0604,4 8.4,4.88887193 8.4,6.02016349 C8.4,7.27338783 9.6,8.6 12,10 C14.4,8.6 15.6,7.3 15.6,6.1 C15.6,4.96870845 14.9396,4 13.8,4 Z" fill="#000000" opacity="0.3"></path>
|
||
|
<path d="M3.79274528,6.57253826 L12,12.5 L20.2072547,6.57253826 C20.4311176,6.4108595 20.7436609,6.46126971 20.9053396,6.68513259 C20.9668779,6.77033951 21,6.87277228 21,6.97787787 L21,17 C21,18.1045695 20.1045695,19 19,19 L5,19 C3.8954305,19 3,18.1045695 3,17 L3,6.97787787 C3,6.70173549 3.22385763,6.47787787 3.5,6.47787787 C3.60510559,6.47787787 3.70753836,6.51099993 3.79274528,6.57253826 Z" fill="#000000"></path>
|
||
|
</g>
|
||
|
</svg>
|
||
|
<!--end::Svg Icon-->
|
||
|
<span class="badge rounded-pill bg-danger text-white badge-notification" style="position: absolute;top: 4px;right: -7px;font-size: 10px;" id="countInbox">{{ ($countInbox)?$countInbox->jml_inbox:'' }}</span>
|
||
|
</span>
|
||
|
<span class="pulse-ring"></span>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!--end::Toggle-->
|
||
|
</div>
|
||
|
<!--end::Notifications--> --}}
|
||
|
<!--begin::User-->
|
||
|
<div class="topbar-item">
|
||
|
<div class="btn btn-icon btn-hover-transparent-white w-sm-auto d-flex align-items-center btn-lg px-2" id="kt_quick_user_toggle">
|
||
|
<div class="d-flex flex-column text-right pr-sm-3">
|
||
|
{{-- <span class="text-white opacity-50 font-weight-bold font-size-sm d-none d-sm-inline"></span> --}}
|
||
|
<span class="text-white font-weight-bolder font-size-sm d-none d-sm-inline">{{ Auth::user()->full_name ?? 'Session Invalid' }}</span>
|
||
|
</div>
|
||
|
<span class="symbol symbol-35">
|
||
|
<span class="symbol-label font-size-h5 font-weight-bold text-white bg-white-o-90">{{ substr(Auth::user()->full_name,0,1) ?? 'X' }}</span>
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<!--end::User-->
|
||
|
</div>
|
||
|
|
||
|
<!--end::Topbar-->
|
||
|
</div>
|
||
|
|
||
|
<!--end::Container-->
|
||
|
</div>
|
||
|
|
||
|
<!--end::Top-->
|
||
|
|
||
|
<!--begin::Bottom-->
|
||
|
<div class="header-bottom">
|
||
|
|
||
|
<!--begin::Container-->
|
||
|
<div class="container-fluid">
|
||
|
|
||
|
<!--begin::Header Menu Wrapper-->
|
||
|
|
||
|
<x-master.menu />
|
||
|
|
||
|
<!--end::Header Menu Wrapper-->
|
||
|
</div>
|
||
|
|
||
|
<!--end::Container-->
|
||
|
</div>
|
||
|
|
||
|
<!--end::Bottom-->
|
||
|
</div>
|
||
|
|
||
|
<!--end::Header-->
|