diff --git a/app/Http/Controllers/ApplicationController.php b/app/Http/Controllers/ApplicationController.php index 593c40f..4b76111 100644 --- a/app/Http/Controllers/ApplicationController.php +++ b/app/Http/Controllers/ApplicationController.php @@ -17,4 +17,9 @@ class ApplicationController extends Controller return view('dashboard.user.deniedapplications'); } + public function showApprovedApps() + { + return view('dashboard.user.approvedapplications'); + } + } diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 815a14c..4d0587a 100644 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -6,5 +6,12 @@ use Illuminate\Http\Request; class ProfileController extends Controller { - // + + public function index() + { + + return view('dashboard.user.profile.userprofile'); + + } + } diff --git a/public/css/profile.css b/public/css/profile.css new file mode 100644 index 0000000..cfbd62f --- /dev/null +++ b/public/css/profile.css @@ -0,0 +1,17 @@ +/* HIDE RADIO */ +[type=radio] { + position: absolute; + opacity: 0; + width: 0; + height: 0; +} + +/* IMAGE STYLES */ +[type=radio] + img { + cursor: pointer; +} + +/* CHECKED STYLES */ +[type=radio]:checked + img { + outline: 2px solid #4cc633; +} diff --git a/public/img/gravatar.png b/public/img/gravatar.png new file mode 100644 index 0000000..9afa455 Binary files /dev/null and b/public/img/gravatar.png differ diff --git a/public/img/mojang-logo.png b/public/img/mojang-logo.png new file mode 100644 index 0000000..33eec11 Binary files /dev/null and b/public/img/mojang-logo.png differ diff --git a/resources/views/dashboard/user/approvedapplications.blade.php b/resources/views/dashboard/user/approvedapplications.blade.php new file mode 100644 index 0000000..6b22fbc --- /dev/null +++ b/resources/views/dashboard/user/approvedapplications.blade.php @@ -0,0 +1,82 @@ +@extends('adminlte::page') + +@section('title', 'Raspberry Network | Applications') + +@section('content_header') + +
Your approved applications will appear here. Approved applicants will be promoted and notified automatically by the system.
+Moderators will be able to review other applications.
+# | +Applicant | +Application Date | +Approval Date | +Status | +Actions | +
---|---|---|---|---|---|
1. | +Jonathan Smith | +2020-04-28 | +2020-04-30 | +Approved | ++ + + + | +
[short bio]
+