Significant changes

Added several components and features too long to list here
This commit is contained in:
2020-05-22 03:49:16 +01:00
parent 2ff0da3e4f
commit cc8c293cc6
36 changed files with 6051 additions and 613 deletions

View File

@@ -36,14 +36,15 @@
<div class="card">
<div class="card-header">
<div class="card-title"><h3>Review Queue</h3></div>
<div class="card-title"><h3>Vote Backlog</h3></div>
</div>
<div class="card-body">
<table class="table" style="white-space: nowrap">
@if(!$applications->isEmpty())
<table class="table" style="white-space: nowrap">
<thead>
<thead>
<tr>
<th>#</th>
@@ -53,27 +54,36 @@
<th>Actions</th>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<td>1</td>
<td>Jonathan Doe</td>
<td>2020-04-01</td>
<td><span class="badge badge-warning">Under Review</span></td>
@foreach($applications as $application)
<td>{{$application->id}}</td>
<td>{{$application->user->name}}</td>
<td>{{$application->created_at}}</td>
<td><span class="badge badge-warning">{{($application->applicationStatus == 'STAGE_PEERAPPROVAL') ? 'Peer Review' : 'Unknown'}}</span></td>
<td>
<button type="button" class="btn btn-info btn-sm"><i class="far fa-clipboard"></i> Review</button>
<button type="button" class="btn btn-info btn-sm" onclick="window.location.href='{{route('showUserApp', ['id' => $application->id])}}'"><i class="far fa-clipboard"></i> Review</button>
<button type="button" class="btn btn-success btn-sm"><i class="fas fa-user-check"></i> Vote: Approve</button>
<button type="button" class="btn btn-danger btn-sm"><i class="fas fa-user-times"></i> Vote: Deny</button>
</td>
</tr>
@endforeach
</tbody>
</tbody>
</table>
</table>
@else
<x-alert alert-type="warning">
<p class="text-bold"><i class="fa fa-exclamation-triangle"></i> There are no applications pending review</p>
Check the other queues for any applications! Applications will be shown here as soon as their interview is completed.
You'll be able to view meeting notes and vote based on your observations.
</x-alert>
@endif
</div>