first initial
This commit is contained in:
84
resources/views/layouts/app.blade.php
Normal file
84
resources/views/layouts/app.blade.php
Normal file
@@ -0,0 +1,84 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- CSRF Token -->
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="{{ asset('js/app.js') }}" defer></script>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
|
||||
|
||||
<!-- Styles -->
|
||||
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="{{ url('/') }}">
|
||||
{{ config('app.name', 'Laravel') }}
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<!-- Left Side Of Navbar -->
|
||||
<ul class="navbar-nav me-auto">
|
||||
|
||||
</ul>
|
||||
|
||||
<!-- Right Side Of Navbar -->
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<!-- Authentication Links -->
|
||||
@guest
|
||||
@if (Route::has('login'))
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (Route::has('register'))
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@else
|
||||
<li class="nav-item dropdown">
|
||||
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
|
||||
{{ Auth::user()->name }}
|
||||
</a>
|
||||
|
||||
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
||||
<a class="dropdown-item" 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>
|
||||
</div>
|
||||
</li>
|
||||
@endguest
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="py-4">
|
||||
@yield('content')
|
||||
</main>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2"></script>
|
||||
</body>
|
||||
</html>
|
||||
122
resources/views/layouts/backapp.blade.php
Normal file
122
resources/views/layouts/backapp.blade.php
Normal file
@@ -0,0 +1,122 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 4 & Angular 8
|
||||
Author: KeenThemes
|
||||
Website: http://www.keenthemes.com/
|
||||
Contact: support@keenthemes.com
|
||||
Follow: www.twitter.com/keenthemes
|
||||
Dribbble: www.dribbble.com/keenthemes
|
||||
Like: www.facebook.com/keenthemes
|
||||
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
|
||||
Renew Support: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
|
||||
License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project.
|
||||
-->
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<!-- begin::Head -->
|
||||
|
||||
<head>
|
||||
<!--begin::Base Path (base relative path for assets of this page) -->
|
||||
<base href="../">
|
||||
<!--end::Base Path -->
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<title>{{ config('app.name', 'Bengkel') }} {{ isset($page_title) ? ' | ' . $page_title : '' }}</title>
|
||||
<meta name="description" content="Updates and statistics">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<!--begin::Fonts -->
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700|Roboto:300,400,500,600,700">
|
||||
<!--end::Fonts -->
|
||||
|
||||
<!--begin::Global Theme Styles(used by all pages) -->
|
||||
<link href="{{ url('css/app.bundle.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!--end::Global Theme Styles -->
|
||||
|
||||
<!--begin::Global Custom Styles(used by all pages) -->
|
||||
<link href="{{ url('css/custom-web.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!--end::Global Custom Styles -->
|
||||
|
||||
<link rel="shortcut icon" href="{{ url('assets/media/logos/ckb.jpeg') }}" />
|
||||
<!-- begin::Global Config(global config for global JS sciprts) -->
|
||||
<script>
|
||||
var KTAppOptions = {
|
||||
"colors": {
|
||||
"state": {
|
||||
"brand": "#5d78ff",
|
||||
"dark": "#282a3c",
|
||||
"light": "#ffffff",
|
||||
"primary": "#5867dd",
|
||||
"success": "#34bfa3",
|
||||
"info": "#36a3f7",
|
||||
"warning": "#ffb822",
|
||||
"danger": "#fd3995"
|
||||
},
|
||||
"base": {
|
||||
"label": ["#c5cbe3", "#a1a8c3", "#3d4465", "#3e4466"],
|
||||
"shape": ["#f0f3ff", "#d9dffa", "#afb4d4", "#646c9a"]
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<!-- end::Global Config -->
|
||||
|
||||
<!--begin::Global Theme Bundle(used by all pages) -->
|
||||
<script src="{{ url('js/app.bundle.min.js') }}" type="text/javascript"></script>
|
||||
<script src="//maps.google.com/maps/api/js?key=AIzaSyBTGnKT7dt597vo9QgeQ7BFhvSRP4eiMSM" type="text/javascript"></script>
|
||||
<!--end::Global Theme Bundle -->
|
||||
|
||||
<!--begin::Common Script -->
|
||||
<script src="{{ url('js/init.js') }}" type="text/javascript"></script>
|
||||
<!--end::Common Scripts -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.3.0/dist/chart.umd.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2"></script>
|
||||
<script src="https://cdn.datatables.net/fixedcolumns/4.2.2/js/dataTables.fixedColumns.min.js"></script>
|
||||
|
||||
@yield('styles')
|
||||
</head>
|
||||
<!-- end::Head -->
|
||||
|
||||
<!-- begin::Body -->
|
||||
|
||||
<body class="kt-quick-panel--right kt-demo-panel--right kt-offcanvas-panel--right kt-header--fixed kt-header-mobile--fixed kt-aside--enabled kt-aside--fixed kt-page--loading">
|
||||
<!-- begin:: Page -->
|
||||
<!-- begin:: Header Mobile -->
|
||||
@include('layouts.partials.headerMobile')
|
||||
<!-- end:: Header Mobile -->
|
||||
<div class="kt-grid kt-grid--hor kt-grid--root">
|
||||
<div class="kt-grid__item kt-grid__item--fluid kt-grid kt-grid--ver kt-page">
|
||||
<!-- begin:: Aside -->
|
||||
@include('layouts.partials.sidebarMenu')
|
||||
<!-- end:: Aside -->
|
||||
<div class="kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor kt-wrapper" id="kt_wrapper">
|
||||
<!-- begin:: Header -->
|
||||
@include('layouts.partials.header')
|
||||
<!-- end:: Header -->
|
||||
<div class="kt-content kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor" id="kt_content">
|
||||
<!-- begin:: Content -->
|
||||
<div class="kt-container kt-container--fluid kt-grid__item kt-grid__item--fluid">
|
||||
@yield('content')
|
||||
</div>
|
||||
<!-- end:: Content -->
|
||||
</div>
|
||||
<!-- begin:: Footer -->
|
||||
@include('layouts.partials.footer')
|
||||
<!-- end:: Footer -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end:: Page -->
|
||||
|
||||
<!-- begin::Scrolltop -->
|
||||
<div id="kt_scrolltop" class="kt-scrolltop">
|
||||
<i class="fa fa-arrow-up"></i>
|
||||
</div>
|
||||
<!-- end::Scrolltop -->
|
||||
|
||||
|
||||
@yield('javascripts')
|
||||
</body>
|
||||
<!-- end::Body -->
|
||||
|
||||
</html>
|
||||
55
resources/views/layouts/front-partials/header.blade.php
Normal file
55
resources/views/layouts/front-partials/header.blade.php
Normal file
@@ -0,0 +1,55 @@
|
||||
{{-- <div id="kt_header" class="kt-header kt-grid__item kt-header--fixed pageNotPrint">
|
||||
<!-- begin:: Header Menu -->
|
||||
<div class="kt-header-menu-wrapper" id="kt_header_menu_wrapper">
|
||||
<div id="kt_header_menu" class="kt-header-menu kt-header-menu-mobile kt-header-menu--layout-default ">
|
||||
<ul class="kt-menu__nav ">
|
||||
<li>
|
||||
<div class="wrapperbtnToAdmin">
|
||||
<a href="{{ route('dashboard') }}" class="btn btn-sm btn-primary">Ke Halaman Admin</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end:: Header Menu -->
|
||||
<!-- begin:: Header Topbar -->
|
||||
<div class="kt-header__topbar">
|
||||
<!--begin: User Bar -->
|
||||
<div class="kt-header__topbar-item kt-header__topbar-item--user">
|
||||
<div class="kt-header__topbar-wrapper" data-toggle="dropdown" data-offset="0px,0px">
|
||||
<div class="kt-header__topbar-user">
|
||||
<span class="kt-header__topbar-welcome kt-hidden-mobile">Hi,</span>
|
||||
<span class="kt-header__topbar-username kt-hidden-mobile">{{ Auth::user()->name }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dropdown-menu dropdown-menu-fit dropdown-menu-right dropdown-menu-anim dropdown-menu-top-unround dropdown-menu-xl">
|
||||
<!--begin: Head -->
|
||||
<div class="kt-user-card kt-user-card--skin-dark kt-notification-item-padding-x" style="background-image: url('{{ url('assets/media/misc/bg-1.jpg') }}')">
|
||||
<div class="kt-user-card__name">
|
||||
{{ Auth::user()->name }}
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Head -->
|
||||
|
||||
<!--begin: Navigation -->
|
||||
<div class="kt-notification">
|
||||
<div class="kt-notification__custom kt-space-between">
|
||||
<a class="btn btn-danger btn-sm btn-bold" 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>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Navigation -->
|
||||
</div>
|
||||
</div>
|
||||
<!--end: User Bar -->
|
||||
</div>
|
||||
<!-- end:: Header Topbar -->
|
||||
</div> --}}
|
||||
136
resources/views/layouts/frontapp.blade.php
Normal file
136
resources/views/layouts/frontapp.blade.php
Normal file
@@ -0,0 +1,136 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 4 & Angular 8
|
||||
Author: KeenThemes
|
||||
Website: http://www.keenthemes.com/
|
||||
Contact: support@keenthemes.com
|
||||
Follow: www.twitter.com/keenthemes
|
||||
Dribbble: www.dribbble.com/keenthemes
|
||||
Like: www.facebook.com/keenthemes
|
||||
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
|
||||
Renew Support: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
|
||||
License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project.
|
||||
-->
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<!-- begin::Head -->
|
||||
|
||||
<head>
|
||||
<!--begin::Base Path (base relative path for assets of this page) -->
|
||||
<base href="../">
|
||||
<!--end::Base Path -->
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<title>{{ config('app.name', 'Bengkel') }} {{ isset($page_title) ? ' | ' . $page_title : '' }}</title>
|
||||
<meta name="description" content="Updates and statistics">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<meta name="base-url" content="{{ url('/') }}">
|
||||
|
||||
<!--begin::Fonts -->
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700|Roboto:300,400,500,600,700">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,600,700|Roboto:300,400,500,600,700">
|
||||
|
||||
<!--end::Fonts -->
|
||||
|
||||
<!--begin::Global Theme Styles(used by all pages) -->
|
||||
<link href="{{ url('css/app.bundle.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ url('css/saxmono.ttf') }}" rel="stylesheet" type="text/css" />
|
||||
<!--end::Global Theme Styles -->
|
||||
|
||||
<!--begin::Global Custom Styles(used by all pages) -->
|
||||
<link href="{{ url('css/custom-web.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!--end::Global Custom Styles -->
|
||||
|
||||
<link rel="shortcut icon" href="{{ url('assets/media/logos/ckb.jpeg') }}" />
|
||||
|
||||
<link href="{{ asset('css/bootstrap-datepicker.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<style>
|
||||
input[type="date"]::-webkit-clear-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-container {
|
||||
background: #dfe9f9;
|
||||
margin: 0 auto;
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* @media(min-width: 1024px) {
|
||||
.mobile-container {
|
||||
max-width: 1024px;
|
||||
}
|
||||
} */
|
||||
|
||||
/* Scrollbar */
|
||||
::-webkit-scrollbar {
|
||||
width: .45rem;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: rgba(88, 103, 221, .2);
|
||||
border-radius: 3px;
|
||||
}
|
||||
::-webkit-scrollbar-track{
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* .mobile-container p, .mobile-container span, .mobile-container b, .mobile-container a {
|
||||
font-size: 10px !important;
|
||||
} */
|
||||
</style>
|
||||
|
||||
@yield('styles')
|
||||
</head>
|
||||
<!-- end::Head -->
|
||||
|
||||
<!-- begin::Body -->
|
||||
|
||||
<body>
|
||||
|
||||
@yield('content')
|
||||
|
||||
<!-- begin::Global Config(global config for global JS sciprts) -->
|
||||
<script>
|
||||
var KTAppOptions = {
|
||||
"colors": {
|
||||
"state": {
|
||||
"brand": "#5d78ff",
|
||||
"dark": "#282a3c",
|
||||
"light": "#ffffff",
|
||||
"primary": "#5867dd",
|
||||
"success": "#34bfa3",
|
||||
"info": "#36a3f7",
|
||||
"warning": "#ffb822",
|
||||
"danger": "#fd3995"
|
||||
},
|
||||
"base": {
|
||||
"label": ["#c5cbe3", "#a1a8c3", "#3d4465", "#3e4466"],
|
||||
"shape": ["#f0f3ff", "#d9dffa", "#afb4d4", "#646c9a"]
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<!-- end::Global Config -->
|
||||
|
||||
<!--begin::Global Theme Bundle(used by all pages) -->
|
||||
<script src="{{ url('js/app.bundle.min.js') }}" type="text/javascript"></script>
|
||||
<script src="//maps.google.com/maps/api/js?key=AIzaSyBTGnKT7dt597vo9QgeQ7BFhvSRP4eiMSM" type="text/javascript"></script>
|
||||
<!--end::Global Theme Bundle -->
|
||||
|
||||
<!--begin::Common Script -->
|
||||
<script src="{{ url('js/init.js') }}" type="text/javascript"></script>
|
||||
<!--end::Common Scripts -->
|
||||
|
||||
<!--end::Common Scripts -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.3.0/dist/chart.umd.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2"></script>
|
||||
<script src="{{ asset('js/bootstrap-datepicker.min.js') }}" type="text/javascript"></script>
|
||||
<script src="https://cdn.datatables.net/fixedcolumns/4.2.2/js/dataTables.fixedColumns.min.js"></script>
|
||||
@yield('javascripts')
|
||||
</body>
|
||||
<!-- end::Body -->
|
||||
|
||||
</html>
|
||||
24
resources/views/layouts/guest.blade.php
Normal file
24
resources/views/layouts/guest.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap">
|
||||
|
||||
<!-- Styles -->
|
||||
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.7.3/dist/alpine.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="font-sans text-gray-900 antialiased">
|
||||
{{ $slot }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
7
resources/views/layouts/partials/footer.blade.php
Normal file
7
resources/views/layouts/partials/footer.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="kt-footer kt-grid__item kt-grid kt-grid--desktop kt-grid--ver-desktop" id="kt_footer">
|
||||
<div class="kt-container kt-container--fluid ">
|
||||
<div class="kt-footer__copyright">
|
||||
2020 © CV. Bangun Sukses Bersama
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
68
resources/views/layouts/partials/header.blade.php
Normal file
68
resources/views/layouts/partials/header.blade.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<div id="kt_header" class="kt-header kt-grid__item kt-header--fixed pageNotPrint">
|
||||
<!-- begin:: Header Menu -->
|
||||
<div class="kt-header-menu-wrapper" id="kt_header_menu_wrapper">
|
||||
<div id="kt_header_menu" class="kt-header-menu kt-header-menu-mobile kt-header-menu--layout-default ">
|
||||
<ul class="kt-menu__nav ">
|
||||
<li>
|
||||
<div class="wrapperbtnToAdmin">
|
||||
<a href="{{ route('transaction') }}" class="btn btn-sm btn-primary">Ke Halaman Transaksi</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end:: Header Menu -->
|
||||
<!-- begin:: Header Topbar -->
|
||||
<div class="kt-header__topbar">
|
||||
<!--begin: User Bar -->
|
||||
<div class="kt-header__topbar-item kt-header__topbar-item--user">
|
||||
<div class="kt-header__topbar-wrapper" data-toggle="dropdown" data-offset="0px,0px">
|
||||
<div class="kt-header__topbar-user">
|
||||
<span class="kt-header__topbar-welcome kt-hidden-mobile">Hi,</span>
|
||||
<span class="kt-header__topbar-username kt-hidden-mobile">John Doe</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dropdown-menu dropdown-menu-fit dropdown-menu-right dropdown-menu-anim dropdown-menu-top-unround dropdown-menu-xl">
|
||||
<!--begin: Head -->
|
||||
<div class="kt-user-card kt-user-card--skin-dark kt-notification-item-padding-x" style="background-image: url('{{ url('assets/media/misc/bg-1.jpg') }}')">
|
||||
<div class="kt-user-card__name">
|
||||
John Doe
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Head -->
|
||||
|
||||
<!--begin: Navigation -->
|
||||
<div class="kt-notification">
|
||||
<a href="#" class="kt-notification__item hide">
|
||||
<div class="kt-notification__item-icon">
|
||||
<i class="flaticon2-calendar-3 kt-font-success"></i>
|
||||
</div>
|
||||
<div class="kt-notification__item-details">
|
||||
<div class="kt-notification__item-title kt-font-bold">
|
||||
My Profile
|
||||
</div>
|
||||
<div class="kt-notification__item-time">
|
||||
Account settings and more
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="kt-notification__custom kt-space-between">
|
||||
<a class="btn btn-danger btn-sm btn-bold" 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>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Navigation -->
|
||||
</div>
|
||||
</div>
|
||||
<!--end: User Bar -->
|
||||
</div>
|
||||
<!-- end:: Header Topbar -->
|
||||
</div>
|
||||
14
resources/views/layouts/partials/headerMobile.blade.php
Normal file
14
resources/views/layouts/partials/headerMobile.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<div id="kt_header_mobile" class="kt-header-mobile kt-header-mobile--fixed pageNotPrint">
|
||||
<div class="kt-header-mobile__logo">
|
||||
<a href="demo1/index.html">
|
||||
<img alt="Logo" src="{{ url('assets/media/logos/logo-landscape-white.png') }}" width="92" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="kt-header-mobile__toolbar">
|
||||
<button class="kt-header-mobile__toggler kt-header-mobile__toggler--left" id="kt_aside_mobile_toggler"><span></span></button>
|
||||
|
||||
<button class="kt-header-mobile__toggler" id="kt_header_mobile_toggler"><span></span></button>
|
||||
|
||||
<button class="kt-header-mobile__topbar-toggler" id="kt_header_mobile_topbar_toggler"><i class="flaticon-more"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
137
resources/views/layouts/partials/sidebarMenu.blade.php
Normal file
137
resources/views/layouts/partials/sidebarMenu.blade.php
Normal file
@@ -0,0 +1,137 @@
|
||||
<div class="kt-aside kt-aside--fixed kt-grid__item kt-grid kt-grid--desktop kt-grid--hor-desktop" id="kt_aside">
|
||||
<!-- begin:: Aside -->
|
||||
<div class="kt-aside__brand kt-grid__item " id="kt_aside_brand">
|
||||
<div class="kt-aside__brand-logo">
|
||||
<a href="{{ route('dashboard') }}">
|
||||
<img alt="Logo" src="{{ url('assets/media/logos/ckb.jpeg') }}" width="92" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="kt-aside__brand-tools">
|
||||
<button class="kt-aside__brand-aside-toggler" id="kt_aside_toggler">
|
||||
<span><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" class="kt-svg-icon">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<polygon points="0 0 24 0 24 24 0 24" />
|
||||
<path d="M5.29288961,6.70710318 C4.90236532,6.31657888 4.90236532,5.68341391 5.29288961,5.29288961 C5.68341391,4.90236532 6.31657888,4.90236532 6.70710318,5.29288961 L12.7071032,11.2928896 C13.0856821,11.6714686 13.0989277,12.281055 12.7371505,12.675721 L7.23715054,18.675721 C6.86395813,19.08284 6.23139076,19.1103429 5.82427177,18.7371505 C5.41715278,18.3639581 5.38964985,17.7313908 5.76284226,17.3242718 L10.6158586,12.0300721 L5.29288961,6.70710318 Z" fill="#000000" fill-rule="nonzero" transform="translate(8.999997, 11.999999) scale(-1, 1) translate(-8.999997, -11.999999) " />
|
||||
<path d="M10.7071009,15.7071068 C10.3165766,16.0976311 9.68341162,16.0976311 9.29288733,15.7071068 C8.90236304,15.3165825 8.90236304,14.6834175 9.29288733,14.2928932 L15.2928873,8.29289322 C15.6714663,7.91431428 16.2810527,7.90106866 16.6757187,8.26284586 L22.6757187,13.7628459 C23.0828377,14.1360383 23.1103407,14.7686056 22.7371482,15.1757246 C22.3639558,15.5828436 21.7313885,15.6103465 21.3242695,15.2371541 L16.0300699,10.3841378 L10.7071009,15.7071068 Z" fill="#000000" fill-rule="nonzero" opacity="0.3" transform="translate(15.999997, 11.999999) scale(-1, 1) rotate(-270.000000) translate(-15.999997, -11.999999) " />
|
||||
</g>
|
||||
</svg></span>
|
||||
<span><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" class="kt-svg-icon">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<polygon points="0 0 24 0 24 24 0 24" />
|
||||
<path d="M12.2928955,6.70710318 C11.9023712,6.31657888 11.9023712,5.68341391 12.2928955,5.29288961 C12.6834198,4.90236532 13.3165848,4.90236532 13.7071091,5.29288961 L19.7071091,11.2928896 C20.085688,11.6714686 20.0989336,12.281055 19.7371564,12.675721 L14.2371564,18.675721 C13.863964,19.08284 13.2313966,19.1103429 12.8242777,18.7371505 C12.4171587,18.3639581 12.3896557,17.7313908 12.7628481,17.3242718 L17.6158645,12.0300721 L12.2928955,6.70710318 Z" fill="#000000" fill-rule="nonzero" />
|
||||
<path d="M3.70710678,15.7071068 C3.31658249,16.0976311 2.68341751,16.0976311 2.29289322,15.7071068 C1.90236893,15.3165825 1.90236893,14.6834175 2.29289322,14.2928932 L8.29289322,8.29289322 C8.67147216,7.91431428 9.28105859,7.90106866 9.67572463,8.26284586 L15.6757246,13.7628459 C16.0828436,14.1360383 16.1103465,14.7686056 15.7371541,15.1757246 C15.3639617,15.5828436 14.7313944,15.6103465 14.3242754,15.2371541 L9.03007575,10.3841378 L3.70710678,15.7071068 Z" fill="#000000" fill-rule="nonzero" opacity="0.3" transform="translate(9.000003, 11.999999) rotate(-270.000000) translate(-9.000003, -11.999999) " />
|
||||
</g>
|
||||
</svg></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end:: Aside -->
|
||||
<!-- begin:: Aside Menu -->
|
||||
<div class="kt-aside-menu-wrapper kt-grid__item kt-grid__item--fluid" id="kt_aside_menu_wrapper">
|
||||
|
||||
<div id="kt_aside_menu" class="kt-aside-menu " data-ktmenu-vertical="1" data-ktmenu-scroll="1" data-ktmenu-dropdown-timeout="500">
|
||||
|
||||
<ul class="kt-menu__nav ">
|
||||
@can('view', $menus['dashboard'])
|
||||
<li class="kt-menu__item kt-menu__item--submenu" aria-haspopup="true" data-ktmenu-submenu-toggle="hover">
|
||||
<a href="{{ route('dashboard') }}" class="kt-menu__link kt-menu__toggle">
|
||||
<span class="kt-menu__link-icon">
|
||||
<i class="fa fa-list"></i>
|
||||
</span>
|
||||
<span class="kt-menu__link-text">Dashboard</span>
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
|
||||
@if (Auth::user()->can('view', $menus['dealer.index']) || Auth::user()->can('view', $menus['category.index']) || Auth::user()->can('view', $menus['work.index']))
|
||||
<li class="kt-menu__item kt-menu__item--submenu" aria-haspopup="true" data-ktmenu-submenu-toggle="hover">
|
||||
<a href="javascript:;" class="kt-menu__link kt-menu__toggle">
|
||||
<span class="kt-menu__link-icon">
|
||||
<i class="fa fa-box"></i>
|
||||
</span>
|
||||
<span class="kt-menu__link-text">Data Master</span><i class="kt-menu__ver-arrow la la-angle-right"></i>
|
||||
</a>
|
||||
<div class="kt-menu__submenu "><span class="kt-menu__arrow"></span>
|
||||
<ul class="kt-menu__subnav">
|
||||
{{-- <li class="kt-menu__item kt-menu__item--parent" aria-haspopup="true"><span class="kt-menu__link"><span class="kt-menu__link-text">Kategori Pekerjaan</span></span></li> --}}
|
||||
@can('view', $menus['dealer.index'])
|
||||
<li class="kt-menu__item" aria-haspopup="true"><a href="{{ route('dealer.index') }}" class="kt-menu__link "><i class="fa fa-car" style="display: flex; align-items: center; margin-right: 10px;"><span></span></i><span class="kt-menu__link-text">Dealer</span></a></li>
|
||||
@endcan
|
||||
@can('view', $menus['category.index'])
|
||||
<li class="kt-menu__item" aria-haspopup="true"><a href="{{ route('category.index') }}" class="kt-menu__link "><i class="fa fa-users" style="display: flex; align-items: center; margin-right: 10px;"><span></span></i><span class="kt-menu__link-text">Kategori Pekerjaan</span></a></li>
|
||||
@endcan
|
||||
@can('view', $menus['work.index'])
|
||||
<li class="kt-menu__item" aria-haspopup="true"><a href="{{ route('work.index') }}" class="kt-menu__link "><i class="fa fa-list" style="display: flex; align-items: center; margin-right: 10px;"><span></span></i><span class="kt-menu__link-text">Pekerjaan</span></a></li>
|
||||
@endcan
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (Auth::user()->can('view', $menus['user.index']) || Auth::user()->can('view', $menus['roleprivileges.index']))
|
||||
<li class="kt-menu__item kt-menu__item--submenu" aria-haspopup="true" data-ktmenu-submenu-toggle="hover">
|
||||
<a href="javascript:;" class="kt-menu__link kt-menu__toggle">
|
||||
<span class="kt-menu__link-icon">
|
||||
<i class="fa fa-box"></i>
|
||||
</span>
|
||||
<span class="kt-menu__link-text">Management User</span><i class="kt-menu__ver-arrow la la-angle-right"></i>
|
||||
</a>
|
||||
<div class="kt-menu__submenu "><span class="kt-menu__arrow"></span>
|
||||
<ul class="kt-menu__subnav">
|
||||
{{-- <li class="kt-menu__item kt-menu__item--parent" aria-haspopup="true"><span class="kt-menu__link"><span class="kt-menu__link-text">Kategori Pekerjaan</span></span></li> --}}
|
||||
@can('view', $menus['user.index'])
|
||||
<li class="kt-menu__item" aria-haspopup="true"><a href="{{ route('user.index') }}" class="kt-menu__link "><i class="fa fa-car" style="display: flex; align-items: center; margin-right: 10px;"><span></span></i><span class="kt-menu__link-text">User</span></a></li>
|
||||
@endcan
|
||||
@can('view', $menus['roleprivileges.index'])
|
||||
<li class="kt-menu__item" aria-haspopup="true"><a href="{{ route('roleprivileges.index') }}" class="kt-menu__link "><i class="fa fa-users" style="display: flex; align-items: center; margin-right: 10px;"><span></span></i><span class="kt-menu__link-text">Role & Privileges</span></a></li>
|
||||
@endcan
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
@endcan
|
||||
|
||||
{{-- <li class="kt-menu__item kt-menu__item--submenu" aria-haspopup="true" data-ktmenu-submenu-toggle="hover">
|
||||
<a href="{{ route('user.index') }}" class="kt-menu__link kt-menu__toggle">
|
||||
<span class="kt-menu__link-icon">
|
||||
<i class="fa fa-list"></i>
|
||||
</span>
|
||||
<span class="kt-menu__link-text">User</span>
|
||||
</a>
|
||||
</li> --}}
|
||||
|
||||
@if (Auth::user()->can('view', $menus['report.transaction']) || Auth::user()->can('view', $menus['report.transaction_sa']) || Auth::user()->can('view', $menus['report.transaction_dealer']))
|
||||
<li class="kt-menu__item kt-menu__item--submenu" aria-haspopup="true" data-ktmenu-submenu-toggle="hover">
|
||||
<a href="javascript:;" class="kt-menu__link kt-menu__toggle">
|
||||
<span class="kt-menu__link-icon">
|
||||
<i class="fa fa-box"></i>
|
||||
</span>
|
||||
<span class="kt-menu__link-text">Laporan</span><i class="kt-menu__ver-arrow la la-angle-right"></i>
|
||||
</a>
|
||||
<div class="kt-menu__submenu "><span class="kt-menu__arrow"></span>
|
||||
<ul class="kt-menu__subnav">
|
||||
{{-- <li class="kt-menu__item kt-menu__item--parent" aria-haspopup="true"><span class="kt-menu__link"><span class="kt-menu__link-text">Kategori Pekerjaan</span></span></li> --}}
|
||||
@can('view', $menus['report.transaction'])
|
||||
<li class="kt-menu__item" aria-haspopup="true">
|
||||
<a href="{{ route('report.transaction') }}" class="kt-menu__link "><i class="fa fa-wrench" style="display: flex; align-items: center; margin-right: 10px;"><span></span></i><span class="kt-menu__link-text">Laporan Pekerjaan</span></a>
|
||||
</li>
|
||||
@endcan
|
||||
@can('view', $menus['report.transaction_sa'])
|
||||
<li class="kt-menu__item" aria-haspopup="true">
|
||||
<a href="{{ route('report.transaction_sa') }}" class="kt-menu__link "><i class="fa fa-user" style="display: flex; align-items: center; margin-right: 10px;"><span></span></i><span class="kt-menu__link-text">Laporan Performa SA</span></a>
|
||||
</li>
|
||||
@endcan
|
||||
@can('view', $menus['report.transaction_dealer'])
|
||||
<li class="kt-menu__item" aria-haspopup="true">
|
||||
<a href="{{ route('report.transaction_dealer') }}" class="kt-menu__link "><i class="fa fa-car" style="display: flex; align-items: center; margin-right: 10px;"><span></span></i><span class="kt-menu__link-text">Laporan Performa Dealer</span></a>
|
||||
</li>
|
||||
@endcan
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end:: Aside Menu -->
|
||||
</div>
|
||||
Reference in New Issue
Block a user