added yields for extra content in the admin dashboard
This commit is contained in:
@@ -2,8 +2,16 @@
|
||||
<footer class="main-footer">
|
||||
<!-- To the right -->
|
||||
<div class="float-right d-none d-sm-inline">
|
||||
Anything you want
|
||||
@hasSection('footer-right')
|
||||
@yeild('footer-right')
|
||||
@endif
|
||||
</div>
|
||||
@hasSection('footer-center')
|
||||
@yeild('footer-center')
|
||||
@endif
|
||||
<!-- Default to the left -->
|
||||
<strong>Copyright © 2014-2019 <a href="https://adminlte.io">AdminLTE.io</a>.</strong> All rights reserved.
|
||||
@hasSection('footer-left')
|
||||
@yeild('footer-left')
|
||||
@endif
|
||||
</footer>
|
||||
@@ -25,4 +25,7 @@
|
||||
<link rel="stylesheet" href="/bower_components/admin-lte/dist/css/adminlte.min.css">
|
||||
<!-- Google Font: Source Sans Pro -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
|
||||
@hasSection('header')
|
||||
@yield('header')
|
||||
@endif
|
||||
</head>
|
||||
@@ -31,4 +31,7 @@
|
||||
<!-- /.sidebar-menu -->
|
||||
</div>
|
||||
<!-- /.sidebar -->
|
||||
@hasSection('sidebar')
|
||||
@yeild('sidebar')
|
||||
@endif
|
||||
</aside>
|
||||
@@ -9,6 +9,9 @@
|
||||
<a href="/dashboard" class="nav-link">Dashboard</a>
|
||||
</li>
|
||||
</ul>
|
||||
@hasSection('navbar-upper-left')
|
||||
@yeild('navbar-upper-left')
|
||||
@endif
|
||||
|
||||
<!-- Right navbar links -->
|
||||
<ul class="navbar-nav ml-auto">
|
||||
@@ -27,5 +30,8 @@
|
||||
class="fas fa-th-large"></i></a>
|
||||
</li>
|
||||
</ul>
|
||||
@hasSection('navbar-upper-right')
|
||||
@yeild('navbar-upper-right')
|
||||
@endif
|
||||
</nav>
|
||||
<!-- /.navbar -->
|
||||
@@ -6,3 +6,6 @@
|
||||
<script src="/bower_components/admin-lte/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="/bower_components/admin-lte/dist/js/adminlte.min.js"></script>
|
||||
@hasSection('scripts')
|
||||
@yield('scripts')
|
||||
@endif
|
||||
@@ -1,11 +1,11 @@
|
||||
<!-- Main Footer -->
|
||||
<footer class="main-footer">
|
||||
<!-- To the right -->
|
||||
|
||||
<div class="float-right d-none d-sm-inline">
|
||||
@hasSection('footer-right')
|
||||
@yield('footer-right')
|
||||
@endif
|
||||
<div class="float-right d-none d-sm-inline">
|
||||
|
||||
</div>
|
||||
@hasSection('footer-center')
|
||||
@yield('footer-center')
|
||||
|
||||
@@ -25,5 +25,7 @@
|
||||
<link rel="stylesheet" href="/bower_components/admin-lte/dist/css/adminlte.min.css">
|
||||
<!-- Google Font: Source Sans Pro -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
|
||||
@hasSection('header')
|
||||
@yield('header')
|
||||
@endif
|
||||
</head>
|
||||
@@ -45,7 +45,7 @@
|
||||
<!-- /.sidebar-menu -->
|
||||
</div>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
@hasSection('sidebar')
|
||||
@yield('sidebar')
|
||||
@endif
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user