52 lines
2.8 KiB
PHP
52 lines
2.8 KiB
PHP
<button data-drawer-target="logo-sidebar" data-drawer-toggle="logo-sidebar" aria-controls="logo-sidebar" type="button"
|
|
class="inline-flex items-center p-2 mt-2 ml-3 text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2">
|
|
<span class="sr-only">Open sidebar</span>
|
|
<svg class="w-6 h-6" aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
<path clip-rule="evenodd" fill-rule="evenodd"
|
|
d="M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z">
|
|
</path>
|
|
</svg>
|
|
</button>
|
|
|
|
<aside id="logo-sidebar"
|
|
class="fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0 bg-blue-950"
|
|
aria-label="Sidebar">
|
|
<div class="h-full px-4 py-8 overflow-y-auto bg-sidebar">
|
|
<ul class="space-y-2">
|
|
<p class="text-sm font-semibold text-white uppercase">Data Master</p>
|
|
<div class="flex flex-col">
|
|
<x-nav-link href="{{ route('admin.ms_pasien.index') }}" :active="request()->routeIs('admin.ms_pasien.*')">
|
|
Pasien
|
|
</x-nav-link>
|
|
<x-nav-link href="{{ route('admin.ms_pegawai.index') }}" :active="request()->routeIs('admin.ms_pegawai.*')">
|
|
Pegawai
|
|
</x-nav-link>
|
|
<x-nav-link href="{{ route('admin.ms_asuransi.index') }}" :active="request()->routeIs('admin.ms_asuransi.*')">
|
|
Asuransi
|
|
</x-nav-link>
|
|
<x-nav-link href="{{ route('admin.ms_ruang_pelayanan.index') }}" :active="request()->routeIs('admin.ms_ruang_pelayanan.*')">
|
|
Ruang Pelayanan
|
|
</x-nav-link>
|
|
<x-nav-link href="{{ route('admin.ms_tindakan.index') }}" :active="request()->routeIs('admin.ms_tindakan.*')">
|
|
Tindakan
|
|
</x-nav-link>
|
|
</div>
|
|
|
|
<!-- Logout -->
|
|
<li>
|
|
LogOut
|
|
{{-- <form action="{{ route('logout') }}" method="POST">
|
|
@csrf
|
|
<a class="flex items-center py-3 pl-6 nav-item hover:text-orange-400 rounded-md"
|
|
onclick="event.preventDefault(); this.closest('form').submit();">
|
|
<i
|
|
class="fas fa-sign-out-alt text-white w-4 h-4 transition duration-75 group-hover:text-orange-400 "></i>
|
|
<span class="ml-3 text-white">
|
|
Keluar
|
|
</span>
|
|
</a>
|
|
</form> --}}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</aside> |