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
b68174fa
Commit
b68174fa
authored
Feb 14, 2023
by
Farendi Giotivano R.P
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
button lihat proposal
parent
40b7e7c7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
app/Http/Controllers/Mahasiswa/ProposalController.php
+1
-0
resources/views/backend/dosen/proposal/index.blade.php
+2
-1
resources/views/layouts/master.blade.php
+2
-1
No files found.
app/Http/Controllers/Mahasiswa/ProposalController.php
View file @
b68174fa
...
...
@@ -123,6 +123,7 @@ class ProposalController extends Controller
'jenis_id'
=>
$proposal
[
'jenis'
],
'periode_id'
=>
$proposal
[
'periode_id'
],
'judul'
=>
$proposal
[
'judul'
],
'status'
=>
'0'
,
'upload_dokumen'
=>
$file_nama
,
'date_upload'
=>
now
(),
'created_user'
=>
Auth
::
user
()
->
id
...
...
resources/views/backend/dosen/proposal/index.blade.php
View file @
b68174fa
...
...
@@ -137,7 +137,8 @@
<th>Proposal</th>
<td>
@if(
$item->upload_dokumen
)
<iframe id="
view
-
pdf
" width="
100
%
" height="
400
px
" src="
https
://
statik
.
unesa
.
ac
.
id
/
simpkm
/
proposal
/
{{
$item
->
rPeriode
->
nama
}}
/
{{
$item
->
upload_dokumen
}}
" frameborder="
0
"></iframe>
<a href="
https
://
statik
.
unesa
.
ac
.
id
/
simpkm
/
proposal
/
{{
$item
->
rPeriode
->
nama
}}
/
{{
$item
->
upload_dokumen
}}
" target="
_blank
" class="
btn
btn
-
success
btn
-
sm
"> <i class="
far
fa
-
eye
"></i> Lihat Proposal</a>
{{-- <embed id="
view
-
pdf
" width="
100
%
" height="
400
px
" src="
https
://
statik
.
unesa
.
ac
.
id
/
simpkm
/
proposal
/
{{
$item
->
rPeriode
->
nama
}}
/
{{
$item
->
upload_dokumen
}}
" frameborder="
0
"></embed> --}}
@else
<div class="
alert
alert
-
danger
alert
-
dismissible
fade
show
mb
-
0
" role="
alert
">
<strong>Informasi!</strong><br/> File tidak ditemukan.
...
...
resources/views/layouts/master.blade.php
View file @
b68174fa
...
...
@@ -41,8 +41,9 @@
<
div
class
="
dropdown
d
-
inline
-
block
">
<button type="
button
" class="
btn
header
-
item
waves
-
effect
" id="
page
-
header
-
user
-
dropdown
" data-bs-toggle="
dropdown
" aria-haspopup="
true
" aria-expanded="
false
">
{{-- @php dd(Auth::user()->roles->first()); @endphp --}}
@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
" >
@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
" >
...
...
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