cleanup some templates
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
<table id="flight_fares"
|
<table id="flight_fares"
|
||||||
class="table table-hover"
|
class="table table-hover"
|
||||||
role="grid" aria-describedby="aircraft_fares_info">
|
role="grid" aria-describedby="aircraft_fares_info">
|
||||||
|
@if(count($flight->fares))
|
||||||
<thead>
|
<thead>
|
||||||
<tr role="row">
|
<tr role="row">
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
@@ -26,6 +27,7 @@
|
|||||||
<th>Actions</th>
|
<th>Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@endif
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($flight->fares as $atf)
|
@foreach($flight->fares as $atf)
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-sm-2">
|
<div class="form-group col-sm-2">
|
||||||
{!! Form::label('distance', 'Distance:') !!} <span class="small">in miles</span>
|
{!! Form::label('distance', 'Distance:') !!} <span class="small">in nautical miles</span>
|
||||||
{!! Form::text('distance', null, ['class' => 'form-control']) !!}
|
{!! Form::text('distance', null, ['class' => 'form-control']) !!}
|
||||||
<p class="text-danger">{{ $errors->first('distance') }}</p>
|
<p class="text-danger">{{ $errors->first('distance') }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<div id="flight_fields_wrapper">
|
<div id="flight_fields_wrapper">
|
||||||
<h3>custom fields</h3><br />
|
<h3>custom fields</h3><br />
|
||||||
<table class="table table-responsive" id="flight-fields-table">
|
<table class="table table-responsive" id="flight-fields-table">
|
||||||
|
@if(count($flight->fields))
|
||||||
<thead>
|
<thead>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Value</th>
|
<th style="text-align: center;">Value</th>
|
||||||
<th style="text-align: center;">Actions</th>
|
<th style="text-align: center;">Actions</th>
|
||||||
</thead>
|
</thead>
|
||||||
|
@endif
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($flight->fields as $field)
|
@foreach($flight->fields as $field)
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
<div id="subfleet_flight_wrapper">
|
<div id="subfleet_flight_wrapper">
|
||||||
<h3>assigned subfleets</h3>
|
<h3>subfleets</h3>
|
||||||
@component('admin.components.info')
|
@component('admin.components.info')
|
||||||
The subfleets that are assigned to this flight.
|
The subfleets that are assigned to this flight.
|
||||||
@endcomponent
|
@endcomponent
|
||||||
<table class="table table-responsive" id="aircrafts-table">
|
<table class="table table-responsive" id="aircrafts-table">
|
||||||
|
@if(count($flight->subfleets))
|
||||||
<thead>
|
<thead>
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th style="text-align: center;">Actions</th>
|
<th style="text-align: center;">Actions</th>
|
||||||
</thead>
|
</thead>
|
||||||
|
@endif
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($flight->subfleets as $sf)
|
@foreach($flight->subfleets as $sf)
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<div id="rank_subfleet_wrapper" class="dataTables_wrapper form-inline dt-bootstrap col-lg-12">
|
<div id="rank_subfleet_wrapper" class="dataTables_wrapper form-inline dt-bootstrap col-lg-12">
|
||||||
<table class="table table-responsive" id="subfleets-table">
|
<table class="table table-responsive" id="subfleets-table">
|
||||||
|
@if(count($rank->subfleets))
|
||||||
<thead>
|
<thead>
|
||||||
<th>Airline</th>
|
<th>Airline</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
@@ -7,6 +8,7 @@
|
|||||||
<th style="text-align: center;">Manual Pay</th>
|
<th style="text-align: center;">Manual Pay</th>
|
||||||
<th style="text-align: center;">Actions</th>
|
<th style="text-align: center;">Actions</th>
|
||||||
</thead>
|
</thead>
|
||||||
|
@endif
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($rank->subfleets as $sf)
|
@foreach($rank->subfleets as $sf)
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<table id="aircraft_fares" class="table table-hover">
|
<table id="aircraft_fares" class="table table-hover">
|
||||||
|
@if(count($subfleet->fares))
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@endif
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($subfleet->fares as $atf)
|
@foreach($subfleet->fares as $atf)
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -7,7 +7,8 @@
|
|||||||
@endcomponent
|
@endcomponent
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<table id="subfleet_ranks" class="table table-hover dataTable">
|
<table id="subfleet_ranks" class="table table-hover">
|
||||||
|
@if(count($subfleet->ranks))
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
@@ -17,6 +18,7 @@
|
|||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@endif
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($subfleet->ranks as $rank)
|
@foreach($subfleet->ranks as $rank)
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user