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,6 +1,6 @@
@extends('layouts.default.app')
@extends("layouts.${SKIN_NAME}.app")
@section('title', 'dashboard')
@section('content')
<div class="row">
<div class="col-sm-8">
@@ -54,7 +54,7 @@
<div class="nav nav-tabs" role="tablist" style="background: #067ec1; color: #FFF;">
Your Last Report
</div>
@include('layouts.default.pireps.pirep_card', ['pirep' => $last_pirep])
@include("layouts.${SKIN_NAME}.pireps.pirep_card", ['pirep' => $last_pirep])
@endif
{{ Widget::latestNews(['count' => 1]) }}