2020-05-01 04:42:19 +00:00
|
|
|
@extends('adminlte::page')
|
|
|
|
|
|
|
|
@section('title', 'Raspberry Network | Profile')
|
|
|
|
|
|
|
|
@section('content_header')
|
|
|
|
|
|
|
|
<h4>Application Management / Outstanding Applications</h4>
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('js')
|
|
|
|
|
|
|
|
<script type="text/javascript" src="/js/app.js"></script>
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
<div class="callout callout-info">
|
|
|
|
<p>Seeing no applications? Check with an Administrator to make sure that there are available open positions.</p>
|
|
|
|
<p>Advertising on relevant forums made for this purpose is also a good idea.</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2020-05-01 04:42:19 +00:00
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<div class="card-header">
|
|
|
|
|
|
|
|
<div class="card-title"><h4>Outstanding Applications</h4></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
@if (!$applications->isEmpty())
|
|
|
|
<table class="table" style="white-space: nowrap">
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<thead>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>Applicant Name</th>
|
|
|
|
<th>Status</th>
|
2020-05-22 02:49:16 +00:00
|
|
|
<th>Application Date</th>
|
|
|
|
<th>Last Updated</th>
|
2020-05-01 04:42:19 +00:00
|
|
|
<th>Actions</th>
|
|
|
|
</tr>
|
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</thead>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<tbody>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
@foreach($applications as $application)
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<tr>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<td>{{$application->id}}</td>
|
|
|
|
<td>{{$application->user->name}}</td>
|
|
|
|
<td><span class="badge badge-warning">{{($application->applicationStatus == 'STAGE_SUBMITTED') ? 'Outstanding' : 'Unknown Status'}}</span></td>
|
|
|
|
<td>{{$application->created_at}}</td>
|
|
|
|
<td>{{$application->updated_at}}</td>
|
|
|
|
<td>
|
2020-07-16 20:21:28 +00:00
|
|
|
<button type="button" class="btn btn-sm btn-warning" onclick="window.location.href='{{route('showUserApp', ['application' => $application->id])}}'"><i class="fas fa-clipboard-check"></i> Review</button>
|
2020-05-22 02:49:16 +00:00
|
|
|
</td>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</tr>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
@endforeach
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</tbody>
|
2020-05-01 05:21:44 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</table>
|
|
|
|
@else
|
2020-05-01 05:21:44 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<div class="alert alert-warning">
|
|
|
|
<i class="fas fa-exclamation-triangle"></i><b> There are no pending applications</b>
|
|
|
|
<p>It seems like no one new has applied yet. Checkout the interview and approval queues for applications that might have moved up the ladder by now.</p>
|
|
|
|
</div>
|
2020-05-01 05:21:44 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
@endif
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</div>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<div class="card-footer text-center">
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<button type="button" class="btn btn-success" onclick="window.location.href='{{route('pendingInterview')}}'">View Interview Queue</button>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
|
|
|
</div>
|
2020-05-22 02:49:16 +00:00
|
|
|
|
2020-05-01 04:42:19 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|
2020-07-16 05:46:20 +00:00
|
|
|
|
|
|
|
@section('footer')
|
|
|
|
@include('breadcrumbs.dashboard.footer')
|
|
|
|
@stop
|