phpvms/resources/views/admin/flights/index.blade.php

32 lines
853 B
PHP

@extends('admin.app')
@section('title', 'Flights')
@section('actions')
<li><a href="{{ route('admin.flights.export') }}"><i class="ti-plus"></i>Export to CSV</a></li>
<li><a href="{{ route('admin.flights.import') }}"><i class="ti-plus"></i>Import from CSV</a></li>
<li><a href="{{ route('admin.flightfields.index') }}"><i class="ti-plus"></i>Fields</a></li>
<li>
<a href="{{ route('admin.flights.create') }}">
<i class="ti-plus"></i>
Add Flight</a>
</li>
@endsection
@section('content')
<div class="card">
@include('admin.flights.search')
</div>
<div class="card border-blue-bottom">
<div class="content">
@include('admin.flights.table')
</div>
</div>
<div class="row">
<div class="col-12 text-center">
{{ $flights->links('admin.pagination.default') }}
</div>
</div>
@endsection