Added vacancies list

This commit is contained in:
Miguel Nogueira 2020-05-03 05:04:26 +01:00
parent f5bb92b3c8
commit 27794729b9
4 changed files with 105 additions and 6 deletions

View File

@ -6,5 +6,10 @@ use Illuminate\Http\Request;
class VacancyController extends Controller class VacancyController extends Controller
{ {
//
public function index()
{
return view('dashboard.administration.positions');
}
} }

View File

@ -273,11 +273,6 @@ return [
'icon' => 'fas fa-box-open', 'icon' => 'fas fa-box-open',
'url' => '/admin/positions' 'url' => '/admin/positions'
], ],
[
'text' => 'Add Open Position',
'icon' => 'fas fa-fw fa-align-justify',
'url' => '/admin/positions/add'
],
[ [
'text' => 'Manage Forms', 'text' => 'Manage Forms',
'icon' => 'fab fa-wpforms', 'icon' => 'fab fa-wpforms',

View File

@ -0,0 +1,91 @@
@extends('adminlte::page')
@section('title', 'Raspberry Network | Open Positions')
@section('content_header')
<h4>Administration / Open Positions</h4>
@stop
@section('content')
<div class="row">
<div class="col-md-4 offset-md-4 text-center">
<div class="card">
<div class="card-body">
<button type="button" class="btn btn-primary">NEW POSITION</button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="card bg-gray-dark">
<div class="card-header bg-indigo">
<div class="card-title"><h4 class="text-bold">Open Vacancies</h4></div>
</div>
<div class="card-body">
<table class="table table-active table-borderless">
<thead>
<tr>
<th>#</th>
<th>Vacancy Name</th>
<th>Vacancy Description</th>
<th>Date Created</th>
<th>Date Updated</th>
<th>Total Applicants</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Helper</td>
<td>Help manage the server</td>
<td>2020-04-03</td>
<td>2020-05-01</td>
<td>10</td>
<td>
<button type="button" class="btn btn-sm btn-danger"><i class="fa fa-ban"></i> Close Position</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="card-footer">
<button type="button" class="btn btn-outline-primary">MANAGE APPLICATION FORMS</button>
</div>
</div>
</div>
</div>
@stop

View File

@ -63,6 +63,14 @@ Route::group(['middleware' => 'auth'], function(){
}); });
Route::group(['prefix' => 'admin'], function (){
Route::resource('positions', 'VacancyController');
Route::resource('forms', 'FormController');
});
}); });
//Route::get('/dashboard/login', ''); //Route::get('/dashboard/login', '');