phpvms/resources/views/admin/dashboard/index.blade.php
Nabeel S 50dc79bc8d
Refactor and add importer to Installer module #443 (#444)
* Refactor and add importer to Installer module #443

* Refactor for finances to use in import

* Import groups into roles

* Formatting

* Formatting

* Add interface in installer for import

* Notes about importing

* Check for installer folder

* Formatting

* Fix pirep->user mapping

* Unused import

* Formatting
2019-11-27 09:19:20 -05:00

60 lines
1.5 KiB
PHP

@extends('admin.app')
@section('title', 'Dashboard')
@section('content')
<div class="content">
<div class="row">
<div class="col-md-7">
@include('admin.dashboard.news')
</div>
<div class="col-md-5">
@component('admin.components.infobox')
@slot('icon', 'pe-7s-users')
@slot('type', 'Pilots')
@slot('pending', $pending_users)
@slot('link', route('admin.users.index').'?state='.UserState::PENDING)
@endcomponent
@component('admin.components.infobox')
@slot('icon', 'pe-7s-cloud-upload')
@slot('type', 'PIREPs')
@slot('pending', $pending_pireps)
@slot('link', route('admin.pireps.index').'?search=state:'.PirepState::PENDING)
@endcomponent
</div>
</div>
<div class="row">
<div class="col-md-6">
{{--@include('admin.dashboard.pirep_chart')--}}
</div>
<div class="col-md-6">
</div>
</div>
<div class="row">
<div class="col-md-6">
</div>
<div class="col-md-6">
</div>
</div>
</div>
@endsection
@section('scripts')
<script>
$(document).ready(function () {
$(document).on('submit', 'form.pjax_news_form', function (event) {
event.preventDefault();
$.pjax.submit(event, '#pjax_news_wrapper', {push: false});
});
/*$(document).on('pjax:complete', function () {
$(".select2").select2();
});*/
});
</script>
@endsection