2017-06-22 02:44:30 +08:00
|
|
|
@extends('admin.app')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<section class="content-header">
|
|
|
|
<h1 class="pull-left">Pilot Ranks</h1>
|
|
|
|
<h1 class="pull-right">
|
|
|
|
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" href="{!! route('admin.ranks.create') !!}">Add New</a>
|
|
|
|
</h1>
|
|
|
|
</section>
|
|
|
|
<div class="content">
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
|
|
@include('flash::message')
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<div class="box box-primary">
|
|
|
|
<div class="box-body">
|
2017-07-03 04:03:25 +08:00
|
|
|
@include('admin.ranks.table')
|
2017-06-22 02:44:30 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
2017-06-22 09:18:01 +08:00
|
|
|
@section('scripts')
|
2017-06-22 02:44:30 +08:00
|
|
|
<script type="text/javascript">
|
2017-07-03 04:03:25 +08:00
|
|
|
$(document).ready(function () {
|
|
|
|
$(document).on('submit', 'form.add_rank', function (event) {
|
|
|
|
event.preventDefault();
|
|
|
|
$.pjax.submit(event, '#ranks_table_wrapper', {push: false});
|
2017-06-22 02:44:30 +08:00
|
|
|
});
|
2017-07-03 04:03:25 +08:00
|
|
|
});
|
2017-06-22 02:44:30 +08:00
|
|
|
</script>
|
|
|
|
@endsection
|