Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simpkm
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Farendi Giotivano R.P
simpkm
Commits
27e19bc4
Commit
27e19bc4
authored
a year ago
by
Farendi Giotivano R.P
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foto tidak keluar / salah nih
parent
516fd734
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
public/theme/images/users/user-null.jpg
+0
-0
resources/views/backend/mahasiswa/biodata/index.blade.php
+5
-0
resources/views/layouts/master.blade.php
+2
-3
No files found.
public/theme/images/users/user-null.jpg
0 → 100644
View file @
27e19bc4
16.2 KB
This diff is collapsed.
Click to expand it.
resources/views/backend/mahasiswa/biodata/index.blade.php
View file @
27e19bc4
...
@@ -32,12 +32,17 @@
...
@@ -32,12 +32,17 @@
<div class="
card
-
body
">
<div class="
card
-
body
">
<div class="
d
-
flex
">
<div class="
d
-
flex
">
<div class="
flex
-
shrink
-
0
">
<div class="
flex
-
shrink
-
0
">
@if (is_null(
$biodata->noidentitas
))
<img src="
{{
asset
(
'theme/images/users/user-null.jpg'
)
}}
" alt="" class="
img
-
fluid
img
-
thumbnail
rounded
-
circle
avatar
-
lg
">
@else
@if (Auth::user()->roles->first()->name != 'mahasiswa')
@if (Auth::user()->roles->first()->name != 'mahasiswa')
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
fotomhs
/
{{
$biodata
->
noidentitas
}}
.
jpg
" alt="" class="
img
-
fluid
img
-
thumbnail
rounded
-
circle
avatar
-
lg
">
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
fotomhs
/
{{
$biodata
->
noidentitas
}}
.
jpg
" alt="" class="
img
-
fluid
img
-
thumbnail
rounded
-
circle
avatar
-
lg
">
@else
@else
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
{{
$biodata
->
noidentitas
}}
.
jpg
" alt="" class="
img
-
fluid
img
-
thumbnail
rounded
-
circle
avatar
-
lg
">
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
{{
$biodata
->
noidentitas
}}
.
jpg
" alt="" class="
img
-
fluid
img
-
thumbnail
rounded
-
circle
avatar
-
lg
">
@endif
@endif
</div>
</div>
@endif
<div class="
flex
-
grow
-
1
ms
-
3
">
<div class="
flex
-
grow
-
1
ms
-
3
">
<h5 class="
text
-
primary
font
-
size
-
18
mb
-
1
">{{
$biodata->name
}}</h5>
<h5 class="
text
-
primary
font
-
size
-
18
mb
-
1
">{{
$biodata->name
}}</h5>
<p class="
font
-
size
-
12
mb
-
2
">{{
$biodata->noidentitas
}}</p>
<p class="
font
-
size
-
12
mb
-
2
">{{
$biodata->noidentitas
}}</p>
...
...
This diff is collapsed.
Click to expand it.
resources/views/layouts/master.blade.php
View file @
27e19bc4
...
@@ -44,11 +44,10 @@
...
@@ -44,11 +44,10 @@
{{-- @php dd(Auth::user()->roles->first()); @endphp --}}
{{-- @php dd(Auth::user()->roles->first()); @endphp --}}
@if (Auth::user()->roles->first()->name != 'mahasiswa')
@if (Auth::user()->roles->first()->name != 'mahasiswa')
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
fotomhs
/
{{
is_null
(
Auth
::
user
()
->
rBiodata
)
?
'01'
:
Auth
::
user
()
->
rBiodata
->
noidentitas
}}
.
jpg
" alt="
Header
Avatar
" class="
rounded
-
circle
header
-
profile
-
user
" >
<img src="
{{
is_null
(
Auth
::
user
()
->
rBiodata
)
?
asset
(
'theme/images/users/user-null.jpg'
)
:
is_null
(
Auth
::
user
()
->
rBiodata
->
noidentitas
)
?
asset
(
'theme/images/users/user-null'
)
:
'https://siakadu.unesa.ac.id/photo/fotomhs/'
.
Auth
::
user
()
->
rBiodata
->
noidentitas
}}
.
jpg
" alt="
Header
Avatar
" class="
rounded
-
circle
header
-
profile
-
user
" >
@else
@else
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
{{
is_null
(
Auth
::
user
()
->
rBiodata
)
?
'01'
:
Auth
::
user
()
->
rBiodata
->
noidentitas
}}
.
jpg
" alt="
Header
Avatar
" class="
rounded
-
circle
header
-
profile
-
user
" >
<img src="
{{
is_null
(
Auth
::
user
()
->
rBiodata
)
?
asset
(
'theme/images/users/user-null.jpg'
)
:
is_null
(
Auth
::
user
()
->
rBiodata
->
noidentitas
)
?
asset
(
'theme/images/users/user-null'
)
:
'https://siakadu.unesa.ac.id/photo/'
.
Auth
::
user
()
->
rBiodata
->
noidentitas
}}
.
jpg
" alt="
Header
Avatar
" class="
rounded
-
circle
header
-
profile
-
user
" >
@endif
@endif
</button>
</button>
<div class="
dropdown
-
menu
dropdown
-
menu
-
end
">
<div class="
dropdown
-
menu
dropdown
-
menu
-
end
">
<!-- item-->
<!-- item-->
...
...
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