Files
shahrzadzandi09/resources/views/admin/layouts/app.blade.php
T

231 lines
4.9 KiB
PHP

<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>
@yield('title', 'پنل مدیریت آژانس هواپیمایی')
</title>
{{-- Bootstrap --}}
<link rel="stylesheet"
href="{{ asset('assets/css/bootstrap.css') }}">
{{-- href="{{ asset('assets/plugins/bootstrap/css/bootstrap.css') }}">--}}
{{-- Font Awesome --}}
<link rel="stylesheet"
href="{{ asset('assets/css/font-awesome.css') }}">
{{-- Line Icons --}}
<link rel="stylesheet"
href="{{ asset('assets/css/lineicons.css') }}">
{{-- Weather Icons --}}
<link rel="stylesheet"
href="{{ asset('assets/css/weather-icons.css') }}">
{{-- Main Website CSS --}}
<link rel="stylesheet"
href="{{ asset('assets/css/styles.css') }}">
{{-- Admin CSS --}}
<style>
body {
background: #f5f7fa;
}
.admin-wrapper {
min-height: 100vh;
}
.admin-sidebar {
width: 260px;
min-height: 100vh;
background: #fff;
border-left: 1px solid #e5e7eb;
position: fixed;
right: 0;
top: 0;
bottom: 0;
z-index: 1000;
overflow-y: auto;
}
.admin-main {
margin-right: 260px;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.admin-header {
height: 70px;
background: #fff;
border-bottom: 1px solid #e5e7eb;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 25px;
}
.admin-content {
padding: 25px;
flex: 1;
}
.admin-logo {
height: 70px;
display: flex;
align-items: center;
padding: 0 20px;
border-bottom: 1px solid #eee;
}
.admin-logo a {
text-decoration: none;
font-size: 18px;
font-weight: bold;
color: #0d6efd;
}
.admin-menu {
padding: 15px 10px;
}
.admin-menu-title {
font-size: 11px;
color: #9ca3af;
padding: 10px;
margin-top: 10px;
}
.admin-menu a {
display: flex;
align-items: center;
gap: 10px;
padding: 11px 12px;
margin-bottom: 4px;
border-radius: 8px;
color: #4b5563;
text-decoration: none;
transition: .2s;
}
.admin-menu a:hover,
.admin-menu a.active {
background: #eef5ff;
color: #0d6efd;
}
.admin-menu i {
width: 22px;
text-align: center;
font-size: 16px;
}
.admin-user {
display: flex;
align-items: center;
gap: 10px;
}
.admin-user-avatar {
width: 38px;
height: 38px;
border-radius: 50%;
background: #eef5ff;
display: flex;
align-items: center;
justify-content: center;
color: #0d6efd;
}
.admin-card {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
}
@media (max-width: 991px) {
.admin-sidebar {
transform: translateX(100%);
}
}
</style>
@stack('styles')
</head>
<body>
<div class="admin-wrapper">
{{-- Sidebar --}}
@include('admin.layouts.sidebar')
<div class="admin-main">
{{-- Header --}}
@include('admin.layouts.header')
<main class="admin-content">
{{-- Breadcrumb --}}
@hasSection('breadcrumb')
<div class="mb-4">
@yield('breadcrumb')
</div>
@endif
{{-- Content --}}
@yield('content')
</main>
{{-- Footer --}}
@include('admin.layouts.footer')
</div>
</div>
{{-- jQuery --}}
<script src="{{ asset('assets/js/jquery.js') }}"></script>
{{-- Bootstrap --}}
<script src="{{ asset('assets/js/bootstrap.js') }}"></script>
<script src="{{ asset('assets/plugins/bootstrap/js/bootstrap.min.js') }}"></script>
{{-- Main JS --}}
<script src="{{ asset('assets/js/custom.js') }}"></script>
{{-- Other project JS --}}
<script src="{{ asset('assets/js/moment.js') }}"></script>
<script src="{{ asset('assets/js/bs-datepicker.js') }}"></script>
<script src="{{ asset('assets/js/countdown.js') }}"></script>
<script src="{{ asset('assets/js/ion-range-slider.js') }}"></script>
<script src="{{ asset('assets/js/chart.js') }}"></script>
@stack('scripts')
</body>
</html>