Update skinning with more flexible theme module
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@extends("layouts.${SKIN_NAME}.app")
|
||||
@extends('app')
|
||||
@section('title', 'File Flight Report')
|
||||
|
||||
@section('content')
|
||||
@@ -8,11 +8,11 @@
|
||||
@include('flash::message')
|
||||
{!! Form::open(['route' => 'frontend.pireps.store']) !!}
|
||||
|
||||
@include("layouts.${SKIN_NAME}.pireps.fields")
|
||||
@include("pireps.fields")
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@include("layouts.${SKIN_NAME}.pireps.scripts")
|
||||
@include("pireps.scripts")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@extends("layouts.${SKIN_NAME}.app")
|
||||
@extends('app')
|
||||
@section('title', 'Edit Flight Report')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
@@ -7,10 +7,10 @@
|
||||
@include('flash::message')
|
||||
{!! Form::model($pirep, ['route' => ['frontend.pireps.update', $pirep->id], 'method' => 'patch']) !!}
|
||||
|
||||
@include("layouts.${SKIN_NAME}.pireps.fields")
|
||||
@include("pireps.fields")
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@include("layouts.${SKIN_NAME}.pireps.scripts")
|
||||
@include("pireps.scripts")
|
||||
|
||||
@@ -11,7 +11,7 @@ flight reports that have been filed. You've been warned!
|
||||
@if($read_only)
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
@component("layouts.${SKIN_NAME}.components.info")
|
||||
@component("components.info")
|
||||
Once a PIREP has been accepted/rejected, certain fields go into read-only mode.
|
||||
@endcomponent
|
||||
</div>
|
||||
@@ -210,7 +210,7 @@ flight reports that have been filed. You've been warned!
|
||||
<div class="row">
|
||||
{{-- You don't want to change this ID unless you don't want the fares form to work :) --}}
|
||||
<div id="fares_container" class="col-sm-12">
|
||||
@include("layouts.${SKIN_NAME}.pireps.fares")
|
||||
@include("pireps.fares")
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@extends("layouts.${SKIN_NAME}.app")
|
||||
@extends('app')
|
||||
@section('title', 'pireps')
|
||||
|
||||
@section('content')
|
||||
@@ -11,12 +11,12 @@
|
||||
</div>
|
||||
<h2 class="description">pilot reports</h2>
|
||||
@include('flash::message')
|
||||
@include("layouts.${SKIN_NAME}.pireps.table")
|
||||
@include("pireps.table")
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 text-center">
|
||||
{{ $pireps->links("layouts.${SKIN_NAME}.pagination.default") }}
|
||||
{{ $pireps->links("pagination.default") }}
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@extends("layouts.${SKIN_NAME}.app")
|
||||
@extends('app')
|
||||
@section('title', 'PIREP '.$pirep->ident)
|
||||
|
||||
@section('content')
|
||||
@@ -124,7 +124,7 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@include("layouts.${SKIN_NAME}.pireps.map")
|
||||
@include("pireps.map")
|
||||
|
||||
@if(count($pirep->acars_logs) > 0)
|
||||
<br /><br />
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
@each("layouts.${SKIN_NAME}.pireps.pirep_card", $pireps, 'pirep')
|
||||
@each("pireps.pirep_card", $pireps, 'pirep')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user