2017-06-12 00:36:16 +08:00
|
|
|
@extends('admin.app')
|
|
|
|
|
|
|
|
@section('content')
|
2017-06-16 11:45:25 +08:00
|
|
|
<section class="content-header">
|
2018-03-13 06:58:12 +08:00
|
|
|
<h1 class="pull-left">{{ $airport->name }} - {{ $airport->location }}</h1>
|
2017-06-16 11:45:25 +08:00
|
|
|
<h1 class="pull-right">
|
2018-03-13 06:58:12 +08:00
|
|
|
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" href="{{ route('admin.airports.edit', $airport->id) }}">Edit</a>
|
|
|
|
</h1>
|
2017-06-16 11:45:25 +08:00
|
|
|
</section>
|
|
|
|
<section class="content">
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<div class="row">
|
|
|
|
@include('admin.airports.show_fields')
|
|
|
|
</div>
|
|
|
|
<div class="box box-primary">
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<div class="box-body">
|
|
|
|
<div id="map" style="width: 100%; height: 800px"></div>
|
|
|
|
</div>
|
2017-06-12 00:36:16 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-16 11:45:25 +08:00
|
|
|
</section>
|
|
|
|
@endsection
|
|
|
|
@section('scripts')
|
2018-03-13 06:58:12 +08:00
|
|
|
<script type="text/javascript">
|
2017-06-16 11:45:25 +08:00
|
|
|
phpvms_render_airspace_map({
|
2018-03-13 06:58:12 +08:00
|
|
|
lat: {{ $airport->lat }},
|
|
|
|
lon: {{ $airport->lon }},
|
2017-06-16 11:45:25 +08:00
|
|
|
});
|
|
|
|
</script>
|
2017-06-12 00:36:16 +08:00
|
|
|
@endsection
|