added a few columns for scheduling, styling in admin

This commit is contained in:
Nabeel Shahzad
2018-04-08 20:51:27 -05:00
parent f842e86885
commit 86d28aafd6
14 changed files with 219 additions and 128 deletions

View File

@@ -5,19 +5,23 @@
@include('flash::message')
<div class="row">
<div class="row-sm-12">
<h2 class="description">Downloads</h2>
<h2>Downloads</h2>
</div>
</div>
@foreach($grouped_files as $group => $files)
<div class="row" style="margin-bottom: 40px;">
<div class="col-12">
<h4 class="description">{{ $group }}</h4>
</div>
@if(!$grouped_files || \count($grouped_files) === 0)
<div class="jumbotron text-center">There are no downloads!</div>
@else
@foreach($grouped_files as $group => $files)
<div class="row" style="margin-bottom: 40px;">
<div class="col-12">
<h4 class="description">{{ $group }}</h4>
</div>
<div class="col-12">
@include('downloads.table', ['files' => $files])
<div class="col-12">
@include('downloads.table', ['files' => $files])
</div>
</div>
</div>
@endforeach
@endforeach
@endif
@endsection

View File

@@ -5,7 +5,7 @@
<div class="row">
@include('flash::message')
<div class="col-md-9">
<h2 class="description">{{ $title ?? 'Flights' }}</h2>
<h2>{{ $title ?? 'Flights' }}</h2>
@include('flights.table')
</div>
<div class="col-md-3">

View File

@@ -9,7 +9,7 @@
style="margin-top: -10px;margin-bottom: 5px"
href="{{ route('frontend.pireps.create') }}">File New PIREP</a>
</div>
<h2 class="description">pilot reports</h2>
<h2>Pilot Reports</h2>
@include('flash::message')
@include('pireps.table')
</div>

View File

@@ -4,13 +4,13 @@
@section('content')
<div class="row">
<div class="col-md-12">
<h2 class="description">pilots</h2>
@include("users.table")
<h2>Pilots</h2>
@include('users.table')
</div>
</div>
<div class="row">
<div class="col-12 text-center">
{{ $users->links("pagination.default") }}
{{ $users->links('pagination.default') }}
</div>
</div>
@endsection

View File

@@ -1,6 +1,5 @@
<div class="row">
<div class="col-md-12">
<h2 class="description">Current Flights</h2>
<div class="box-body">
<div id="map" style="width: {{ $config['width'] }}; height: {{ $config['height'] }}"></div>
</div>
@@ -11,9 +10,8 @@
<div id="flights_table" class="row">
<div class="col-md-12">
<h3 class="description">flights</h3>
@if(!filled($pireps))
<div class="text-center">There are no flights</div>
<div class="jumbotron text-center">There are no flights</div>
@endif
<table class="table">
@foreach($pireps as $pirep)