update patch 1
This commit is contained in:
@@ -1,75 +1,110 @@
|
||||
@extends('adminlte::page')
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" style="height: auto;" class="">
|
||||
|
||||
{{-- Extend and customize the browser title --}}
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="{{ asset('templates/dist/img/logo.ico') }}">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('templates/dist/img/logo.ico') }}">
|
||||
<title>{{ config('app.app_name') }} - @yield('title')</title>
|
||||
@include('layouts.partials.styles')
|
||||
@yield('styles')
|
||||
</head>
|
||||
|
||||
@section('title')
|
||||
{{ config('adminlte.title') }}
|
||||
@hasSection('subtitle') | @yield('subtitle') @endif
|
||||
@stop
|
||||
<body>
|
||||
|
||||
{{-- Extend and customize the page content header --}}
|
||||
<body class="sidebar-mini layout-fixed layout-navbar-fixed" style="height: auto;">
|
||||
<div class="wrapper">
|
||||
|
||||
@section('content_header')
|
||||
@hasSection('content_header_title')
|
||||
<h1 class="text-muted">
|
||||
@yield('content_header_title')
|
||||
<div class="preloader flex-column justify-content-center align-items-center" style="height: 0px;">
|
||||
<img class="animation__shake" src="{{ asset('templates/dist/img/small-logo.png') }}" alt="Logo"
|
||||
height="60" width="60" style="display: none;">
|
||||
</div>
|
||||
|
||||
@hasSection('content_header_subtitle')
|
||||
<small class="text-dark">
|
||||
<i class="fas fa-xs fa-angle-right text-muted"></i>
|
||||
@yield('content_header_subtitle')
|
||||
</small>
|
||||
@endif
|
||||
</h1>
|
||||
@endif
|
||||
@stop
|
||||
<nav class="main-header navbar navbar-expand navbar-dark bg-primary">
|
||||
|
||||
{{-- Rename section content to content_body --}}
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-widget="pushmenu" href="#" role="button"><i
|
||||
class="fas fa-bars"></i></a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
@section('content')
|
||||
@yield('content_body')
|
||||
@stop
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-widget="fullscreen" href="#" role="button">
|
||||
<i class="fas fa-expand-arrows-alt"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{{-- Create a common footer --}}
|
||||
<li class="nav-item dropdown" title="Account Profile">
|
||||
<a class="nav-link" data-toggle="dropdown" href="#">
|
||||
{{ Auth::guard('admin')->user()->name }} <i class="far fa-user"></i>
|
||||
</a>
|
||||
@include('layouts.partials.logout')
|
||||
</li>
|
||||
|
||||
@section('footer')
|
||||
<div class="float-right">
|
||||
Version: {{ config('app.version', '1.0.0') }}
|
||||
</div>
|
||||
|
||||
<strong>
|
||||
<a href="{{ config('app.company_url', '#') }}">
|
||||
{{ config('app.company_name', 'My company') }}
|
||||
</a>
|
||||
</strong>
|
||||
@stop
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
{{-- Add common Javascript/Jquery code --}}
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
<aside class="main-sidebar elevation-1 sidebar-light-danger">
|
||||
|
||||
$(document).ready(function() {
|
||||
// Add your common script logic here...
|
||||
});
|
||||
<a href="#" class="brand-link bg-light">
|
||||
<img src="{{ asset('templates/dist/img/logo-app.png') }}" alt="App Logo Text" class="brand-text brand-image">
|
||||
</a>
|
||||
|
||||
</script>
|
||||
@endpush
|
||||
<div
|
||||
class="sidebar os-host os-host-overflow os-host-overflow-y os-host-resize-disabled os-host-scrollbar-horizontal-hidden os-host-transition os-theme-dark">
|
||||
<div class="os-resize-observer-host observed">
|
||||
<div class="os-resize-observer" style="left: 0px; right: auto;"></div>
|
||||
</div>
|
||||
<div class="os-size-auto-observer observed" style="height: calc(100% + 1px); float: left;">
|
||||
<div class="os-resize-observer"></div>
|
||||
</div>
|
||||
<div class="os-content-glue" style="margin: 0px -8px; width: 249px; height: 676px;"></div>
|
||||
<div class="os-padding">
|
||||
<div class="os-viewport os-viewport-native-scrollbars-invisible" style="overflow-y: scroll;">
|
||||
<div class="os-content" style="padding: 0px 8px; height: 100%; width: 100%;">
|
||||
|
||||
{{-- Add common CSS customizations --}}
|
||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||
<div class="image">
|
||||
<img src="{{ Avatar::create(Auth::guard('admin')->user()->name)->toBase64() }}"
|
||||
class="img-circle" alt="User Image">
|
||||
</div>
|
||||
<div class="info">
|
||||
<a class="d-block">{{ Auth::guard('admin')->user()->name }}</a>
|
||||
</div>
|
||||
</div>
|
||||
@include('layouts.partials.sidebar')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="os-scrollbar os-scrollbar-horizontal os-scrollbar-unusable os-scrollbar-auto-hidden">
|
||||
<div class="os-scrollbar-track">
|
||||
<div class="os-scrollbar-handle" style="width: 100%; transform: translate(0px, 0px);"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="os-scrollbar os-scrollbar-vertical os-scrollbar-auto-hidden">
|
||||
<div class="os-scrollbar-track">
|
||||
<div class="os-scrollbar-handle" style="height: 57.5686%; transform: translate(0px, 0px);">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="os-scrollbar-corner"></div>
|
||||
</div>
|
||||
|
||||
@push('css')
|
||||
<style type="text/css">
|
||||
</aside>
|
||||
|
||||
{{-- You can add AdminLTE customizations here --}}
|
||||
/*
|
||||
.card-header {
|
||||
border-bottom: none;
|
||||
}
|
||||
.card-title {
|
||||
font-weight: 600;
|
||||
}
|
||||
*/
|
||||
<div class="content-wrapper" style="min-height: 677.4px;">
|
||||
@yield('admin-content')
|
||||
</div>
|
||||
|
||||
</style>
|
||||
@endpush
|
||||
@include('layouts.partials.footer')
|
||||
@include('layouts.partials.scripts')
|
||||
@yield('scripts')
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user