Add peer review tab

This commit is contained in:
2020-05-01 06:21:44 +01:00
parent b5e6a4a94b
commit e0e417e631
5 changed files with 102 additions and 2 deletions

View File

@@ -66,6 +66,12 @@
</div>
<div class="card-footer text-center">
<button type="button" class="btn btn-success" onclick="window.location.href='{{route('peerReview')}}'">View Approval Queue</button>
</div>
</div>
</div>

View File

@@ -0,0 +1,86 @@
@extends('adminlte::page')
@section('title', 'Raspberry Network | Applications')
@section('content_header')
<h4>My Account / Peer Review</h4>
@stop
@section('content')
<div class="row">
<div class="col">
<div class="callout callout-info">
<h4>Voting Reminder</h4>
<p>Applications which gain more than 50% of positive votes are automatically approved after one day.</p>
<p>Conversely, applications that do not reach this number are automatically denied.</p>
<p>Please note that the vote system can be overriden.</p>
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="card">
<div class="card-header">
<div class="card-title"><h3>Review Queue</h3></div>
</div>
<div class="card-body">
<table class="table" style="white-space: nowrap">
<thead>
<tr>
<th>#</th>
<th>Applicant Name</th>
<th>Last Acted On</th>
<th>Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Jonathan Doe</td>
<td>2020-04-01</td>
<td><span class="badge badge-warning">Under Review</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-success btn-sm"><i class="fas fa-user-check"></i> Vote: Next Stage</button>
<button type="button" class="btn btn-danger btn-sm"><i class="fas fa-user-times"></i> Vote: Deny</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
@stop