2017-06-22 02:44:30 +08:00
|
|
|
@extends('admin.app')
|
2017-08-22 02:59:59 +08:00
|
|
|
@section('title', 'Ranks')
|
|
|
|
@section('actions')
|
|
|
|
<li>
|
|
|
|
<a href="{!! route('admin.ranks.create') !!}">
|
|
|
|
<i class="ti-plus"></i>
|
|
|
|
Add New</a>
|
|
|
|
</li>
|
|
|
|
@endsection
|
2017-06-22 02:44:30 +08:00
|
|
|
|
|
|
|
@section('content')
|
2017-08-22 02:59:59 +08:00
|
|
|
<div class="card">
|
|
|
|
@include('admin.ranks.table')
|
2017-06-22 02:44:30 +08:00
|
|
|
</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
|