From cfb8e6bbca69c0fc46984e0dac7493e63372001e Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Sun, 3 May 2020 04:10:33 +0100 Subject: [PATCH] Add Staff Member listing --- app/Http/Controllers/UserController.php | 2 +- config/adminlte.php | 2 +- .../administration/staff-members.blade.php | 185 ++++++++++++++++++ routes/web.php | 2 +- 4 files changed, 188 insertions(+), 3 deletions(-) create mode 100644 resources/views/dashboard/administration/staff-members.blade.php diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index b5b9064..98f34dc 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -9,7 +9,7 @@ class UserController extends Controller public function showStaffMembers() { - + return view('dashboard.administration.staff-members'); } public function showPlayers() diff --git a/config/adminlte.php b/config/adminlte.php index 1f0a61f..bef686f 100644 --- a/config/adminlte.php +++ b/config/adminlte.php @@ -341,7 +341,7 @@ return [ 'plugins' => [ [ 'name' => 'Datatables', - 'active' => false, + 'active' => true, 'files' => [ [ 'type' => 'js', diff --git a/resources/views/dashboard/administration/staff-members.blade.php b/resources/views/dashboard/administration/staff-members.blade.php new file mode 100644 index 0000000..471f77a --- /dev/null +++ b/resources/views/dashboard/administration/staff-members.blade.php @@ -0,0 +1,185 @@ +@extends('adminlte::page') + +@section('title', 'Raspberry Network | Applications') + +@section('content_header') + +

Administration / Staff Members

+ +@stop + +@section('content') + +
+ +
+
+
+

11

+ +

Active Staff Members

+
+
+ +
+
+
+ +
+ +
+
+

2

+ +

Former Staff Members

+
+
+ +
+
+ +
+ +
+
+
+

1

+ +

Terminated Staff Member(s)

+
+
+ +
+
+ +
+
+ +
+ +
+ +
+ +
+

Search Active Members

+
+ +
+ +
+ +
+ + + + +
+ +
+ +
+ +
+ +
+ +
+ + +
+ +
+ +
+ +
+ +

Member Listing

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#Full NameIGNRankStatusJoin DateActions
1Monica Smithmssmith223ModeratorActive2020-02-10 + +
2Zak UnknownSkeppyHelperActive2020-02-10 + +
3John Doekjj192AdminActive2020-02-10 + +
4Angela Smithkkrapsody1221ModeratorActive2020-02-10 + +
+ +
+ + + +
+ +
+ +
+ +@stop diff --git a/routes/web.php b/routes/web.php index d2a08ca..42a7f20 100644 --- a/routes/web.php +++ b/routes/web.php @@ -55,7 +55,7 @@ Route::group(['middleware' => 'auth'], function(){ Route::group(['prefix' => '/hr'], function (){ - Route::get('staff-members'); + Route::get('staff-members', 'UserController@showStaffMembers'); });