129 lines
4.9 KiB
PHP
129 lines
4.9 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
<title>Admin Panel - @yield('title')</title>
|
|
|
|
<link rel="shortcut icon" href="{{ asset('img/favicon.ico') }}">
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
|
|
<link href="{{ asset('css/admin.css') }}" rel="stylesheet">
|
|
|
|
@stack('styles')
|
|
</head>
|
|
|
|
<body class="sb-nav-fixed">
|
|
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
|
|
<a class="navbar-brand ps-3 text-xl font-semibold text-white" href="{{ route('dashboard.admin') }}">
|
|
Admin Panel
|
|
</a>
|
|
|
|
<div class="flex justify-center space-x-4 mx-auto">
|
|
<a class="nav-link text-white hover:text-yellow-400 transition duration-200 px-4 py-2"
|
|
href="{{ route('dashboard.admin') }}">
|
|
<i class="fas fa-tachometer-alt mr-2"></i>Dashboard
|
|
</a>
|
|
|
|
<a class="nav-link text-white hover:text-yellow-400 transition duration-200 px-4 py-2"
|
|
href="{{ route('asuransi.index') }}">
|
|
<i class="fas fa-shield-alt mr-2"></i>Asuransi
|
|
</a>
|
|
|
|
<a class="nav-link text-white hover:text-yellow-400 transition duration-200 px-4 py-2"
|
|
href="{{ route('pegawai.index') }}">
|
|
<i class="fas fa-user-md mr-2"></i>Pegawai
|
|
</a>
|
|
|
|
<a class="nav-link text-white hover:text-yellow-400 transition duration-200 px-4 py-2"
|
|
href="{{ route('ruang.index') }}">
|
|
<i class="fas fa-procedures mr-2"></i>Ruang Pelayanan
|
|
</a>
|
|
|
|
<a class="nav-link text-white hover:text-yellow-400 transition duration-200 px-4 py-2"
|
|
href="{{ route('admin.tindakan.index') }}">
|
|
<i class="fas fa-stethoscope mr-2"></i>Tindakan Medis
|
|
</a>
|
|
</div>
|
|
|
|
<ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle text-white" id="navbarDropdown" href="#" role="button"
|
|
data-bs-toggle="dropdown" aria-expanded="false">
|
|
<i class="fas fa-user fa-fw"></i>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
|
<li>
|
|
<span class="dropdown-item text-gray-400 cursor-not-allowed pointer-events-none">Profile</span>
|
|
</li>
|
|
<li>
|
|
<span class="dropdown-item text-gray-400 cursor-not-allowed pointer-events-none">Settings</span>
|
|
</li>
|
|
<li>
|
|
<hr class="dropdown-divider">
|
|
</li>
|
|
<li>
|
|
<a class="dropdown-item text-red-500 hover:bg-gray-100" href="{{ route('logout') }}"
|
|
onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
|
|
Logout
|
|
</a>
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
|
|
@csrf
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
|
|
|
|
|
|
<div id="layoutSidenav">
|
|
<div id="layoutSidenav_nav">
|
|
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
|
<div class="sb-sidenav-menu">
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
</div>
|
|
|
|
<div id="layoutSidenav_content">
|
|
<main>
|
|
<div class="container-fluid px-4">
|
|
@yield('content')
|
|
</div>
|
|
</main>
|
|
|
|
<footer class="py-4 bg-light mt-auto">
|
|
<div class="container-fluid px-4">
|
|
<div class="d-flex align-items-center justify-content-between small">
|
|
<div class="text-muted">Copyright © Your Website {{ date('Y') }}</div>
|
|
<div>
|
|
<a href="#">Privacy Policy</a>
|
|
·
|
|
<a href="#">Terms & Conditions</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<script src="{{ asset('js/admin.js') }}"></script>
|
|
|
|
@stack('scripts')
|
|
</body>
|
|
|
|
</html>
|