Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Noorindria Mayrien Nariswari
PBL-Diskominfo
Commits
55c2b619
Commit
55c2b619
authored
1 year ago
by
Sekar Auvril Liura Ariesta
Browse files
Options
Download
Email Patches
Plain Diff
.
parent
af83c637
sekar
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
PBL/app/Http/Controllers/Auth/LoginController.php
+5
-0
PBL/app/Http/Controllers/Auth/LoginController.php
PBL/resources/views/admin/dataorganisasi/index-actions.blade.php
+4
-2
...ources/views/admin/dataorganisasi/index-actions.blade.php
PBL/resources/views/admin/dataorganisasi/index.blade.php
+9
-0
PBL/resources/views/admin/dataorganisasi/index.blade.php
PBL/resources/views/admin/profilRelawans/index.blade.php
+11
-2
PBL/resources/views/admin/profilRelawans/index.blade.php
PBL/routes/web.php
+3
-0
PBL/routes/web.php
with
32 additions
and
4 deletions
+32
-4
PBL/app/Http/Controllers/Auth/LoginController.php
View file @
55c2b619
...
...
@@ -5,6 +5,9 @@ namespace App\Http\Controllers\Auth;
use
App\Http\Controllers\Controller
;
use
App\Providers\RouteServiceProvider
;
use
Illuminate\Foundation\Auth\AuthenticatesUsers
;
use
Illuminate\Support\Facades\Hash
;
use
Illuminate\Support\Facades\Validator
;
use
Illuminate\Http\Request
;
class
LoginController
extends
Controller
{
...
...
@@ -37,4 +40,6 @@ class LoginController extends Controller
{
$this
->
middleware
(
'guest'
)
->
except
(
'logout'
);
}
}
This diff is collapsed.
Click to expand it.
PBL/resources/views/admin/dataorganisasi/index-actions.blade.php
View file @
55c2b619
...
...
@@ -8,10 +8,12 @@
'showEdit'
=>
false
])
<
a
href
=
"{{ route('admin.profil-relawan.index',
$item->user_id
) }}"
style
=
"background-color: #605bff;"
class
=
"btn btn-primary"
>
CEK
PROFILE
</
a
>
{{
--
<
a
href
=
"{{ route('admin.profil-relawan.index',
$item->user_id
) }}"
style
=
"background-color: #605bff;"
class
=
"btn btn-primary"
>
CEK
PROFILE
</
a
>
--
}}
{{
--
<
a
href
=
"{{ route('admin.profil-relawan.index', ['profil_relawan' =>
$item->user_id
]) }}"
style
=
"background-color: #605bff;"
class
=
"btn btn-primary"
>
CEK
PROFILE
</
a
>
--
}}
{{
--
<
a
href
=
"{{ route('admin.profil-relawan.show',
$item->user_id
) }}"
class
=
"btn btn-primary"
>
Cek
Profil
</
a
>
--
}}
{{
--
<
a
href
=
"{{ route('admin.profil-relawan.show', ['profil_relawan' =>
$item->user_id
]) }}"
style
=
"background-color: #605bff;"
class
=
"btn btn-primary"
>
CEK
PROFILE
</
a
>
--
}}
\ No newline at end of file
{{
--
<
a
href
=
"{{ route('admin.profil-relawan.show', ['profil_relawan' =>
$item->user_id
]) }}"
style
=
"background-color: #605bff;"
class
=
"btn btn-primary"
>
CEK
PROFILE
</
a
>
--
}}
<
a
href
=
"{{ route('admin.profil-relawan.index', ['profil_relawan' =>
$item->user_id
]) }}"
class
=
"btn btn-primary"
>
Cek
Profil
</
a
>
This diff is collapsed.
Click to expand it.
PBL/resources/views/admin/dataorganisasi/index.blade.php
View file @
55c2b619
...
...
@@ -45,6 +45,15 @@
</
thead
>
<
tbody
>
{{
--
DataTables
relawans
--
}}
{{
--
@
foreach
(
$relawans
as
$relawan
)
<
tr
>
<
td
>
{{
$relawan
->
user
->
name
}}
</
td
>
<
td
>
{{
$relawan
->
user
->
email
}}
</
td
>
<
td
>
@
include
(
'admin.dataorganisasi.index-actions'
,
[
'item'
=>
$relawan
])
</
td
>
</
tr
>
@
endforeach
--
}}
</
tbody
>
</
table
>
</
div
>
...
...
This diff is collapsed.
Click to expand it.
PBL/resources/views/admin/profilRelawans/index.blade.php
View file @
55c2b619
...
...
@@ -17,7 +17,7 @@
<!--
Jika
tidak
ada
gambar
profil
,
tampilkan
ikon
-->
<
i
class
=
"fas fa-user-circle fa-5x text-muted mb-3"
></
i
>
{{
--
@
endif
--
}}
<
h2
class
=
"display-6"
style
=
"font-family: 'Roboto', sans-serif;"
>
{{
$user
->
name
}}
</
h2
>
<
h2
class
=
"display-6"
style
=
"font-family: 'Roboto', sans-serif;"
>
{{
$
relawan
->
user
->
name
}}
</
h2
>
</
div
>
</
div
>
</
div
>
...
...
@@ -38,6 +38,15 @@
Edit
Data
</
a
>
</
div
>
{{
--
@
if
(
$isOwner
)
<
div
class
=
"card mt-3"
>
<
div
class
=
"card-body"
>
<
a
href
=
"{{ route('admin.profil-relawan.edit',
$relawan->id
) }}"
class
=
"btn btn-primary"
>
Edit
Profil
</
a
>
</
div
>
</
div
>
@
endif
--
}}
</
div
>
</
div
>
<
div
class
=
"card-body"
>
...
...
@@ -57,7 +66,7 @@
<
div
class
=
"mb-3 row"
>
<
label
for
=
"email"
class
=
"col-sm-3 col-form-label font-weight-bold"
>
Email
:</
label
>
<
div
class
=
"col-sm-9"
>
<
div
class
=
"pt-2"
>
{{
$user
->
email
}}
</
div
>
<
div
class
=
"pt-2"
>
{{
$
relawan
->
user
->
email
}}
</
div
>
</
div
>
</
div
>
<
div
class
=
"mb-3 row"
>
...
...
This diff is collapsed.
Click to expand it.
PBL/routes/web.php
View file @
55c2b619
...
...
@@ -2,6 +2,7 @@
use
Illuminate\Support\Facades\Auth
;
use
Illuminate\Support\Facades\Route
;
use
App\Http\Controllers\Admin\ProfilRelawanController
;
/*
|--------------------------------------------------------------------------
...
...
@@ -78,6 +79,8 @@ Route::group([
Route
::
get
(
'/profil-relawan/source'
,
'ProfilRelawanController@source'
)
->
name
(
'profil-relawan.source'
);
Route
::
resource
(
'profil-relawan'
,
'ProfilRelawanController'
);
// Route::get('/profil-relawan/{id}', [ProfilRelawanController::class, 'show'])->name('admin.profil-relawan.show');
});
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help