Added Under Review page

The user applications page has been added into the app.
This commit is contained in:
Miguel Nogueira 2020-04-30 16:38:54 +01:00
parent 20bb7bbcb5
commit 045b0c42f6
3 changed files with 91 additions and 1 deletions

View File

@ -6,5 +6,10 @@ use Illuminate\Http\Request;
class ApplicationController extends Controller class ApplicationController extends Controller
{ {
//
public function showPendingUserApplications()
{
return view('dashboard.user.applications');
}
} }

View File

@ -0,0 +1,79 @@
@extends('adminlte::page')
@section('title', 'Raspberry Network | Applications')
@section('content_header')
<h4>My Account / Applications</h4>
@stop
@section('content')
<div class="row">
<div class="col">
<div class="callout callout-warning">
<h5>Application Process</h5>
<p>Please allow up to three days for your application to be processed. Your application will be reviewed by every team member, and will move up in stages.</p>
<p>If an interview is scheduled, you'll need to open your application here and confirm the time, date, and location assigned for you.</p>
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="card">
<div class="card-header">
<h3 class="card-title">My Ongoing Applications</h3>
</div>
<!-- /.card-header -->
<div class="card-body p-0"> <!-- move to dedi css -->
<table class="table" style="white-space: nowrap">
<thead>
<tr>
<th style="width: 10px">#</th>
<th>Applicant</th>
<th style="width: 40px">Status</th>
<th style="width: 40px">Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.</td>
<td>Jonathan Smith</td>
<td><span class="badge bg-success">Approved</span></td>
<td>
<button type="button" class="btn btn-success btn-sm">View</button>
<button type="button" class="btn btn-danger btn-sm">Withdraw</button>
</td>
</tr>
</tbody>
</table>
</div>
<!-- /.card-body -->
<div class="card-footer">
<button type="button" class="btn btn-default mr-2">Back</button>
<button type="button" class="btn btn-info mr-2">Approved Applications</button>
<button type="button" class="btn btn-info mr-2">Denied Applications</button>
</div>
</div>
</div>
</div>
@stop

View File

@ -23,6 +23,12 @@ Route::group(['middleware' => 'auth'], function(){
Route::get('/dashboard', 'DashboardController@index'); Route::get('/dashboard', 'DashboardController@index');
Route::group(['prefix' => '/applications'], function (){
Route::get('/pending', 'ApplicationController@showPendingUserApplications');
});
}); });
//Route::get('/dashboard/login', ''); //Route::get('/dashboard/login', '');