Add a reference to the skin name in the templates to make it easier to create and modify skins
This commit is contained in:
@@ -1,23 +1,24 @@
|
||||
@extends('layouts.default.app')
|
||||
|
||||
@extends("layouts.${SKIN_NAME}.app")
|
||||
@section('title', 'flights')
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
@include('flash::message')
|
||||
<div class="col-md-9">
|
||||
<h2 class="description">flights</h2>
|
||||
@include('layouts.default.flights.table')
|
||||
@include("layouts.${SKIN_NAME}.flights.table")
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
@include('layouts.default.flights.search')
|
||||
@include("layouts.${SKIN_NAME}.flights.search")
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 text-center">
|
||||
{{ $flights->links('layouts.default.pagination.default') }}
|
||||
{{ $flights->links("layouts.${SKIN_NAME}.pagination.default") }}
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('scripts')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
Reference in New Issue
Block a user