added yields and hasSections
This commit is contained in:
@@ -1,9 +1,18 @@
|
|||||||
<!-- Main Footer -->
|
<!-- Main Footer -->
|
||||||
<footer class="main-footer">
|
<footer class="main-footer">
|
||||||
<!-- To the right -->
|
<!-- To the right -->
|
||||||
|
@hasSection('footer-right')
|
||||||
|
@yield('footer-right')
|
||||||
|
@endif
|
||||||
<div class="float-right d-none d-sm-inline">
|
<div class="float-right d-none d-sm-inline">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@hasSection('footer-center')
|
||||||
|
@yield('footer-center')
|
||||||
|
@endif
|
||||||
<!-- Default to the left -->
|
<!-- Default to the left -->
|
||||||
<strong><a href="https://services.w4rp.space">Warped Intentions</a></strong>
|
<strong><a href="https://services.w4rp.space">Warped Intentions</a></strong>
|
||||||
|
@hasSection('footer-left')
|
||||||
|
@yeild('footer-left')
|
||||||
|
@endif
|
||||||
</footer>
|
</footer>
|
||||||
@@ -25,4 +25,5 @@
|
|||||||
<link rel="stylesheet" href="/bower_components/admin-lte/dist/css/adminlte.min.css">
|
<link rel="stylesheet" href="/bower_components/admin-lte/dist/css/adminlte.min.css">
|
||||||
<!-- Google Font: Source Sans Pro -->
|
<!-- Google Font: Source Sans Pro -->
|
||||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
|
||||||
|
@yield('header')
|
||||||
</head>
|
</head>
|
||||||
@@ -1,47 +1,51 @@
|
|||||||
<!-- Main Sidebar Container -->
|
<!-- Main Sidebar Container -->
|
||||||
<aside class="main-sidebar sidebar-dark-primary elevation-4">
|
<aside class="main-sidebar sidebar-dark-primary elevation-4">
|
||||||
<!-- Brand Logo -->
|
<!-- Brand Logo -->
|
||||||
<a href="#" class="brand-link">
|
<a href="#" class="brand-link">
|
||||||
<span class="brand-text font-weight-light">W4RP</span>
|
<span class="brand-text font-weight-light">W4RP</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user panel (optional) -->
|
<!-- Sidebar user panel (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<a href="/profile" class="d-block">{{ auth()->user()->getName() }}</a>
|
<a href="/profile" class="d-block">{{ auth()->user()->getName() }}</a>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Sidebar Menu -->
|
|
||||||
<nav class="mt-2">
|
|
||||||
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
|
|
||||||
<!-- General Items -->
|
|
||||||
@if(auth()->user()->hasRole('User') || auth()->user()->hasRole('Admin'))
|
|
||||||
@include('layouts.user.sidebarmenu.general')
|
|
||||||
@endif
|
|
||||||
<!-- End General Items -->
|
|
||||||
<!-- Mining Tax Items -->
|
|
||||||
@include('layouts.user.sidebarmenu.miningtax')
|
|
||||||
<!-- End Mining Tax Items -->
|
|
||||||
<!-- After Action Reports -->
|
|
||||||
@if(auth()->user()->hasPermission('fc.team'))
|
|
||||||
@include('layouts.user.sidebarmenu.reports')
|
|
||||||
@endif
|
|
||||||
<!-- End After Action Reports -->
|
|
||||||
<!-- SRP Items -->
|
|
||||||
@include('layouts.user.sidebarmenu.srp')
|
|
||||||
<!-- SRP Items -->
|
|
||||||
<!-- Contracts -->
|
|
||||||
@include('layouts.user.sidebarmenu.contracts')
|
|
||||||
<!-- End Contracts -->
|
|
||||||
<!-- Blacklist -->
|
|
||||||
@include('layouts.user.sidebarmenu.blacklist')
|
|
||||||
<!-- End Blacklist -->
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
<!-- /.sidebar-menu -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.sidebar -->
|
|
||||||
</aside>
|
<!-- Sidebar Menu -->
|
||||||
|
<nav class="mt-2">
|
||||||
|
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
|
||||||
|
<!-- General Items -->
|
||||||
|
@if(auth()->user()->hasRole('User') || auth()->user()->hasRole('Admin'))
|
||||||
|
@include('layouts.user.sidebarmenu.general')
|
||||||
|
@endif
|
||||||
|
<!-- End General Items -->
|
||||||
|
<!-- Mining Tax Items -->
|
||||||
|
@include('layouts.user.sidebarmenu.miningtax')
|
||||||
|
<!-- End Mining Tax Items -->
|
||||||
|
<!-- After Action Reports -->
|
||||||
|
@if(auth()->user()->hasPermission('fc.team'))
|
||||||
|
@include('layouts.user.sidebarmenu.reports')
|
||||||
|
@endif
|
||||||
|
<!-- End After Action Reports -->
|
||||||
|
<!-- SRP Items -->
|
||||||
|
@include('layouts.user.sidebarmenu.srp')
|
||||||
|
<!-- SRP Items -->
|
||||||
|
<!-- Contracts -->
|
||||||
|
@include('layouts.user.sidebarmenu.contracts')
|
||||||
|
<!-- End Contracts -->
|
||||||
|
<!-- Blacklist -->
|
||||||
|
@include('layouts.user.sidebarmenu.blacklist')
|
||||||
|
<!-- End Blacklist -->
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<!-- /.sidebar-menu -->
|
||||||
|
</div>
|
||||||
|
<!-- /.sidebar -->
|
||||||
|
</aside>
|
||||||
|
@hasSection('sidebar')
|
||||||
|
@yield('sidebar')
|
||||||
|
@endif
|
||||||
@@ -14,6 +14,9 @@
|
|||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
</ul>
|
</ul>
|
||||||
|
@hasSection('navbar-upper-left')
|
||||||
|
@yield('navbar-upper-left')
|
||||||
|
@endif
|
||||||
|
|
||||||
<!-- Right navbar links -->
|
<!-- Right navbar links -->
|
||||||
<ul class="navbar-nav ml-auto">
|
<ul class="navbar-nav ml-auto">
|
||||||
@@ -44,5 +47,8 @@
|
|||||||
class="fas fa-th-large"></i></a>
|
class="fas fa-th-large"></i></a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@hasSection('navbar-upper-right')
|
||||||
|
@yeild('navbar-upper-right')
|
||||||
|
@endif
|
||||||
</nav>
|
</nav>
|
||||||
<!-- /.navbar -->
|
<!-- /.navbar -->
|
||||||
@@ -5,4 +5,7 @@
|
|||||||
<!-- Bootstrap 4 -->
|
<!-- Bootstrap 4 -->
|
||||||
<script src="/bower_components/admin-lte/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="/bower_components/admin-lte/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
<!-- AdminLTE App -->
|
<!-- AdminLTE App -->
|
||||||
<script src="/bower_components/admin-lte/dist/js/adminlte.min.js"></script>
|
<script src="/bower_components/admin-lte/dist/js/adminlte.min.js"></script>
|
||||||
|
@hasSection('scripts')
|
||||||
|
@yeild('scripts')
|
||||||
|
@endif
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
@extends('layouts.admin.b4')
|
||||||
|
@section('content')
|
||||||
|
|
||||||
|
@endsection
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
@extends('layouts.admin.b4')
|
||||||
|
@section('content')
|
||||||
|
|
||||||
|
@endsection
|
||||||
Reference in New Issue
Block a user