Add a reference to the skin name in the templates to make it easier to create and modify skins

This commit is contained in:
Nabeel Shahzad
2018-02-03 18:18:09 -06:00
parent 25b86274cf
commit b4908f482e
27 changed files with 117 additions and 105 deletions
@@ -1,8 +1,12 @@
@extends('layouts.default.app')
@extends("layouts.${SKIN_NAME}.app")
@section('title', 'not authorized')
@section('content')
<div class="container registered-page">
<h3>Unauthorized</h3>
<p>Well, this is embarrassing, you are not authorized to access or perform this function. Click <a href="{{ url()->previous() }}">here</a> to go back to the home page.</p>
<h3>Unauthorized</h3>
<p>
Well, this is embarrassing, you are not authorized to access or perform this function.
Click <a href="{{ url()->previous() }}">here</a> to go back to the home page.
</p>
</div>
@endsection
@@ -1,11 +1,13 @@
@extends('layouts.default.app')
@extends("layouts.${SKIN_NAME}.app")
@section('title', 'not found')
@section('content')
<div class="container registered-page">
<h3>Page Not Found</h3>
<p>Well, this is embarrassing, the page you requested does not exist. Click <a href="{{ url()->previous() }}">here</a> to go back to the home page.
{{ $exception->getMessage() }}
</p>
<h3>Page Not Found</h3>
<p>
Well, this is embarrassing, the page you requested does not exist.
Click <a href="{{ url()->previous() }}">here</a> to go back to the home page.
{{ $exception->getMessage() }}
</p>
</div>
@endsection