Upgrade boilerplate
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<html lang="{{ App::getLocale() }}" dir="@lang('boilerplate::layout.direction')">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
@@ -7,22 +7,23 @@
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>{{ $title ?? '' }} | {{ config('app.name') }}</title>
|
||||
<link rel="stylesheet" href="{{ mix('/adminlte.min.css', '/assets/vendor/boilerplate') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/css/app.css') }}">
|
||||
<link rel="stylesheet" href="/assets/fonts/glyphicons/glyphicons.min.css">
|
||||
<link rel="shortcut icon" href="{{ config('boilerplate.theme.favicon') ?? mix('favicon.svg', '/assets/vendor/boilerplate') }}">
|
||||
@stack('plugin-css')
|
||||
<link rel="stylesheet" href="{{ mix('/plugins/fontawesome/fontawesome.min.css', '/assets/vendor/boilerplate') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/adminlte.min.css', '/assets/vendor/boilerplate') }}">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/assets/fonts/glyphicons/glyphicons.min.css">
|
||||
@stack('css')
|
||||
<link rel="stylesheet" href="/assets/css/main.min.css?{{ time() }}">
|
||||
</head>
|
||||
<body class="layout-fixed layout-navbar-fixed sidebar-mini">
|
||||
<body class="layout-fixed layout-navbar-fixed sidebar-mini{{ setting('darkmode', false) && config('boilerplate.theme.darkmode') ? ' dark-mode accent-light' : '' }}{{ setting('sidebar-collapsed', false) ? ' sidebar-collapse' : '' }}">
|
||||
<div class="wrapper">
|
||||
|
||||
@include('layout.header')
|
||||
@include('boilerplate::layout.mainsidebar')
|
||||
|
||||
<div class="content-wrapper" id="content-wrapper">
|
||||
<div class="content-wrapper">
|
||||
@include('layout.contentheader')
|
||||
<section class="content" id="content">
|
||||
<section class="content">
|
||||
<div class="container-fluid">
|
||||
@yield('content')
|
||||
</div>
|
||||
@@ -43,19 +44,23 @@
|
||||
<div class="control-sidebar-bg"></div>
|
||||
</div>
|
||||
|
||||
<script src="{{ mix('/js/app.js') }}"></script>
|
||||
<script src="/assets/plugins/adminlte/adminlte.min.js"></script>
|
||||
<script src="{{ mix('/bootstrap.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
<script src="{{ mix('/admin-lte.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
<script src="{{ mix('/boilerplate.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
|
||||
<script src="/assets/js/main.min.js?{{ time() }}"></script>
|
||||
|
||||
@include('load.layout.nicescroll')
|
||||
|
||||
<script>
|
||||
// initScroll('.sidebar');
|
||||
$('.sidebar').addClass('overflow-hidden');
|
||||
$('.sidebar').addClass('overflow-y');
|
||||
|
||||
$.ajaxSetup({headers: {'X-CSRF-TOKEN': '{{ csrf_token() }}'}});
|
||||
|
||||
// bootbox.setLocale('{{ App::getLocale() }}');
|
||||
bootbox.setLocale('{{ App::getLocale() }}');
|
||||
|
||||
var bpRoutes = {
|
||||
settings: "{{ route('boilerplate.settings', null, false) }}",
|
||||
}
|
||||
|
||||
var session = {
|
||||
keepalive: "{{ route('boilerplate.keepalive', null, false) }}",
|
||||
@@ -66,8 +71,6 @@
|
||||
|
||||
</script>
|
||||
|
||||
<script src="{{ asset('/assets/plugins/boilerplate.js') }}"></script>
|
||||
|
||||
@if(Session::has('growl'))
|
||||
<script>
|
||||
$(function() {
|
||||
|
||||
Reference in New Issue
Block a user