fix: update admin layouts
This commit is contained in:
@@ -2,47 +2,191 @@
|
||||
<html lang="fa" dir="rtl">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>
|
||||
@yield('title', 'پنل مدیریت')
|
||||
@yield('title', 'پنل مدیریت آژانس هواپیمایی')
|
||||
</title>
|
||||
|
||||
{{-- CSS اصلی پروژه --}}
|
||||
{{-- Bootstrap --}}
|
||||
<link rel="stylesheet"
|
||||
href="{{ asset('assets/admin/css/bootstrap.min.css') }}">
|
||||
href="{{ asset('assets/css/bootstrap.css') }}">
|
||||
|
||||
{{-- Font Awesome --}}
|
||||
<link rel="stylesheet"
|
||||
href="{{ asset('assets/admin/css/icons.css') }}">
|
||||
href="{{ asset('assets/css/font-awesome.css') }}">
|
||||
|
||||
{{-- Line Icons --}}
|
||||
<link rel="stylesheet"
|
||||
href="{{ asset('assets/admin/css/style.css') }}">
|
||||
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="page">
|
||||
<div class="admin-wrapper">
|
||||
|
||||
{{-- Sidebar --}}
|
||||
@include('admin.layouts.sidebar')
|
||||
|
||||
<div class="main-content app-content">
|
||||
<div class="admin-main">
|
||||
|
||||
{{-- Header --}}
|
||||
@include('admin.layouts.header')
|
||||
|
||||
<main>
|
||||
<main class="admin-content">
|
||||
|
||||
{{-- Breadcrumb --}}
|
||||
@hasSection('breadcrumb')
|
||||
<div class="page-header-breadcrumb">
|
||||
|
||||
<div class="mb-4">
|
||||
@yield('breadcrumb')
|
||||
</div>
|
||||
|
||||
@endif
|
||||
|
||||
{{-- Content --}}
|
||||
@@ -57,13 +201,32 @@
|
||||
|
||||
</div>
|
||||
|
||||
<script src="{{ asset('assets/admin/js/bootstrap.bundle.min.js') }}"></script>
|
||||
|
||||
{{-- jQuery --}}
|
||||
<script src="{{ asset('assets/js/jquery.js') }}"></script>
|
||||
|
||||
{{-- Bootstrap --}}
|
||||
<script src="{{ asset('assets/js/bootstrap.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>
|
||||
|
||||
@stack('scripts')
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
|
||||
{{--<!DOCTYPE html>--}}
|
||||
{{--<html lang="fa" dir="rtl">--}}
|
||||
|
||||
@@ -129,3 +292,69 @@
|
||||
|
||||
{{--</body>--}}
|
||||
{{--</html>--}}
|
||||
|
||||
{{--<!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>--}}
|
||||
|
||||
{{-- --}}{{----}}{{-- CSS اصلی پروژه --}}
|
||||
{{-- <link rel="stylesheet"--}}
|
||||
{{-- href="{{ asset('assets/admin/css/bootstrap.min.css') }}">--}}
|
||||
|
||||
{{-- <link rel="stylesheet"--}}
|
||||
{{-- href="{{ asset('assets/admin/css/icons.css') }}">--}}
|
||||
|
||||
{{-- <link rel="stylesheet"--}}
|
||||
{{-- href="{{ asset('assets/admin/css/style.css') }}">--}}
|
||||
|
||||
{{-- @stack('styles')--}}
|
||||
{{--</head>--}}
|
||||
|
||||
{{--<body>--}}
|
||||
|
||||
{{--<div class="page">--}}
|
||||
|
||||
{{-- --}}{{----}}{{-- Sidebar --}}
|
||||
{{-- @include('admin.layouts.sidebar')--}}
|
||||
|
||||
{{-- <div class="main-content app-content">--}}
|
||||
|
||||
{{-- --}}{{----}}{{-- Header --}}
|
||||
{{-- @include('admin.layouts.header')--}}
|
||||
|
||||
{{-- <main>--}}
|
||||
|
||||
{{-- --}}{{----}}{{-- Breadcrumb --}}
|
||||
{{-- @hasSection('breadcrumb')--}}
|
||||
{{-- <div class="page-header-breadcrumb">--}}
|
||||
{{-- @yield('breadcrumb')--}}
|
||||
{{-- </div>--}}
|
||||
{{-- @endif--}}
|
||||
|
||||
{{-- --}}{{----}}{{-- Content --}}
|
||||
{{-- @yield('content')--}}
|
||||
|
||||
{{-- </main>--}}
|
||||
|
||||
{{-- --}}{{----}}{{-- Footer --}}
|
||||
{{-- @include('admin.layouts.footer')--}}
|
||||
|
||||
{{-- </div>--}}
|
||||
|
||||
{{--</div>--}}
|
||||
|
||||
{{--<script src="{{ asset('assets/admin/js/bootstrap.bundle.min.js') }}"></script>--}}
|
||||
|
||||
{{--@stack('scripts')--}}
|
||||
|
||||
{{--</body>--}}
|
||||
{{--</html>--}}
|
||||
|
||||
Reference in New Issue
Block a user