Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simpmw
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
Alfiro Pratama
simpmw
Commits
bc7867ef
Commit
bc7867ef
authored
May 28, 2024
by
Alfiro Pratama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perintilan form proposal
parent
f468b942
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
28 deletions
+57
-28
resources/views/backend/dosen/proposal/index.blade.php
+25
-5
resources/views/backend/dosen/seleksi/index_internal.blade.php
+15
-9
resources/views/backend/mahasiswa/proposal/create.blade.php
+2
-3
resources/views/backend/mahasiswa/seleksi/index_internal.blade.php
+15
-11
No files found.
resources/views/backend/dosen/proposal/index.blade.php
View file @
bc7867ef
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</form>
</form>
<br>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead
style="
text
-
align
:
center
;
vertical
-
align
:
middle
;
"
>
<tr>
<tr>
<th>No</th>
<th>No</th>
<th>Kode Kelompok</th>
<th>Kode Kelompok</th>
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
{{-- <th>Identitas Dosen Pembimbing</th> --}}
{{-- <th>Identitas Dosen Pembimbing</th> --}}
<th>Kategori PMW</th>
<th>Kategori PMW</th>
<th>Judul Proposal</th>
<th>Judul Proposal</th>
<th>Usulan Dana</th>
<th>Status</th>
<th>Status</th>
<th>Aksi</th>
<th>Aksi</th>
</tr>
</tr>
...
@@ -70,12 +71,19 @@
...
@@ -70,12 +71,19 @@
@foreach (
$proposal
as
$item
)
@foreach (
$proposal
as
$item
)
@php
$token
= Str::random(30); @endphp
@php
$token
= Str::random(30); @endphp
<tr id="
row
-
{{
$token
}}
">
<tr id="
row
-
{{
$token
}}
">
<td
>{{
$loop->iteration
}}
</td>
<td
style="
text
-
align
:
center
;
">{{
$loop->iteration
}}.
</td>
<td>{{
$item->rKelompok
->kode }}</td>
<td
style="
text
-
align
:
center
;
"
>{{
$item->rKelompok
->kode }}</td>
<td>{{
$item->rKelompok
->rBiodata->name }} <br> {{
$item->rKelompok
->rBiodata->noidentitas }} <br> {{
$item->rKelompok
->rBiodata->fakultas }} <br> {{
$item->rKelompok
->rBiodata->prodi }}</td>
<td>{{
$item->rKelompok
->rBiodata->name }} <br> {{
$item->rKelompok
->rBiodata->noidentitas }} <br> {{
$item->rKelompok
->rBiodata->fakultas }} <br> {{
$item->rKelompok
->rBiodata->prodi }}</td>
{{-- <td>{{
$item->rKelompok
->nama_dosen }} <br> {{
$item->rKelompok
->nidn_dosen }}</td> --}}
{{-- <td>{{
$item->rKelompok
->nama_dosen }} <br> {{
$item->rKelompok
->nidn_dosen }}</td> --}}
<td>{{
$item->rJenis
->nama }}</td>
<td style="
text
-
align
:
center
;
">{{
$item->rJenis
->nama }}</td>
<td>{{
$item->judul
}}</td>
<td style="
text
-
align
:
center
;
">{{
$item->judul
}}</td>
<td style="
text
-
align
:
center
;
">
@if(substr(number_format(
$item->usulan_dana
, 2, ',', '.'), -3) === ',00')
Rp{{ substr(number_format(
$item->usulan_dana
, 2, ',', '.'), 0, -3) }},-
@else
Rp{{ number_format(
$item->usulan_dana
, 2, ',', '.') }}
@endif
</td>
<td>
<td>
@if(is_null(
$item->upload_dokumen
))
@if(is_null(
$item->upload_dokumen
))
<span class="
badge
bg
-
danger
">Belum Upload Proposal</span> <br>
<span class="
badge
bg
-
danger
">Belum Upload Proposal</span> <br>
...
@@ -280,10 +288,22 @@ function setuju(id, rowId){
...
@@ -280,10 +288,22 @@ function setuju(id, rowId){
open: function() {
open: function() {
// Sembunyikan modal lama saat Magnific Popup dibuka
// Sembunyikan modal lama saat Magnific Popup dibuka
$('#lihatDetail').modal('hide');
$('#lihatDetail').modal('hide');
var iframe = this.content.find('iframe');
if (iframe.length > 0) {
var videoSrc = iframe.attr('src');
iframe.attr('src', videoSrc + '&autoplay=1'); // Tambahkan autoplay=1 ke URL video
}
},
},
close: function() {
close: function() {
// Tampilkan kembali modal setelah Magnific Popup ditutup
// Tampilkan kembali modal setelah Magnific Popup ditutup
$('#lihatDetail').modal('show');
$('#lihatDetail').modal('show');
var iframe = this.content.find('iframe');
if (iframe.length > 0) {
var videoSrc = iframe.attr('src');
iframe.attr('src', videoSrc.replace('&autoplay=1', '')); // Hapus autoplay=1 dari URL video
}
}
}
}
}
});
});
...
...
resources/views/backend/dosen/seleksi/index_internal.blade.php
View file @
bc7867ef
...
@@ -55,13 +55,14 @@
...
@@ -55,13 +55,14 @@
</form>
</form>
<br>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead
style="
text
-
align
:
center
;
vertical
-
align
:
middle
;
"
>
<tr>
<tr>
<th>No</th>
<th>No</th>
<th>Kode Kelompok</th>
<th>Kode Kelompok</th>
<th>Identitas Ketua</th>
<th>Identitas Ketua</th>
<th>Kategori PMW</th>
<th>Kategori PMW</th>
<th>Judul Proposal</th>
<th>Judul Proposal</th>
<th>Usulan Dana</th>
<th>Status</th>
<th>Status</th>
<th>Aksi</th>
<th>Aksi</th>
</tr>
</tr>
...
@@ -70,12 +71,19 @@
...
@@ -70,12 +71,19 @@
@foreach (
$proposal
as
$item
)
@foreach (
$proposal
as
$item
)
@php
$token
= Str::random(30); @endphp
@php
$token
= Str::random(30); @endphp
<tr id="
row
-
{{
$token
}}
">
<tr id="
row
-
{{
$token
}}
">
<td
>{{
$loop->iteration
}}
</td>
<td
style="
text
-
align
:
center
;
">{{
$loop->iteration
}}.
</td>
<td>{{
$item->rKelompok
->kode }}</td>
<td
style="
text
-
align
:
center
;
"
>{{
$item->rKelompok
->kode }}</td>
<td>{{
$item->rKelompok
->rBiodata->name }} <br> {{
$item->rKelompok
->rBiodata->noidentitas }} <br> {{
$item->rKelompok
->rBiodata->fakultas }} <br> {{
$item->rKelompok
->rBiodata->prodi }}</td>
<td>{{
$item->rKelompok
->rBiodata->name }} <br> {{
$item->rKelompok
->rBiodata->noidentitas }} <br> {{
$item->rKelompok
->rBiodata->fakultas }} <br> {{
$item->rKelompok
->rBiodata->prodi }}</td>
<td>{{
$item->rJenis
->nama }}</td>
<td style="
text
-
align
:
center
;
">{{
$item->rJenis
->nama }}</td>
<td>{{
$item->judul
}}</td>
<td style="
text
-
align
:
center
;
">{{
$item->judul
}}</td>
<td>
<td style="
text
-
align
:
center
;
">
@if(substr(number_format(
$item->usulan_dana
, 2, ',', '.'), -3) === ',00')
Rp{{ substr(number_format(
$item->usulan_dana
, 2, ',', '.'), 0, -3) }},-
@else
Rp{{ number_format(
$item->usulan_dana
, 2, ',', '.') }}
@endif
</td>
<td style="
text
-
align
:
center
;
">
@if(is_null(
$item->rDaftarPro
->status_final) ||
$item->rDaftarPro
->status_final == 0)
@if(is_null(
$item->rDaftarPro
->status_final) ||
$item->rDaftarPro
->status_final == 0)
<span class="
badge
bg
-
info
">Menunggu Reviewer</span>
<span class="
badge
bg
-
info
">Menunggu Reviewer</span>
@elseif(
$item->rDaftarPro
->status_final == 1)
@elseif(
$item->rDaftarPro
->status_final == 1)
...
@@ -84,11 +92,9 @@
...
@@ -84,11 +92,9 @@
<span class="
badge
bg
-
danger
">Tidak Lolos Seleksi Internal</span>
<span class="
badge
bg
-
danger
">Tidak Lolos Seleksi Internal</span>
@endif
@endif
</td>
</td>
<td>
<td
style="
text
-
align
:
center
;
"
>
<a data-toggle="
tooltip
" data-id="
{{
$item
->
proposal_id
}}
" data-original-title="
Lihat
" class="
btn
btn
-
info
btn
-
sm
lihatDet
"><i class="
far
fa
-
eye
"></i> Lihat</a>
<a data-toggle="
tooltip
" data-id="
{{
$item
->
proposal_id
}}
" data-original-title="
Lihat
" class="
btn
btn
-
info
btn
-
sm
lihatDet
"><i class="
far
fa
-
eye
"></i> Lihat</a>
</div>
</div>
</td>
</td>
</tr>
</tr>
@endforeach
@endforeach
...
...
resources/views/backend/mahasiswa/proposal/create.blade.php
View file @
bc7867ef
...
@@ -88,13 +88,12 @@
...
@@ -88,13 +88,12 @@
<div class="
col
-
sm
-
10
col
-
lg
-
10
">
<div class="
col
-
sm
-
10
col
-
lg
-
10
">
<div class="
input
-
group
">
<div class="
input
-
group
">
<span class="
input
-
group
-
text
">Rp</span>
<span class="
input
-
group
-
text
">Rp</span>
<input class="
form
-
control
" type="
text
" id="
usulan_dana
" name="
usulan_dana
" value="
{{
old
(
'usulan_dana'
)
}}
" placeholder="
Dana
yang
ingin
diajukan
(
cth
:
12345678
atau
123456.78
)
" required onkeypress="
return
isNumberKey
(
event
)
" onkeyup="
formatRupiah
(
this
)
">
<input class="
form
-
control
" type="
text
" id="
usulan_dana
" name="
usulan_dana
" value="
{{
old
(
'usulan_dana'
)
}}
" placeholder="
Dana
yang
ingin
diajukan
(
cth
:
950000
atau
950000.50
tanda
(
.
)
hanya
untuk
nominal
desimal
)
" required onkeypress="
return
isNumberKey
(
event
)
" onkeyup="
formatRupiah
(
this
)
">
</div>
</div>
<small id="
invalidInput
" class="
text
-
danger
" style="
display
:
none
;
">Harap masukkan angka atau desimal (contoh: 12345678 atau 123456.78
)</small>
<small id="
invalidInput
" class="
text
-
danger
" style="
display
:
none
;
">Harap masukkan angka atau desimal (contoh: 950000 atau 950000.50
)</small>
<small id="
dotWarning
" style="
display
:
none
;
color
:
red
;
">Simbol titik (.) tidak boleh diinputkan lebih dari 1</small>
<small id="
dotWarning
" style="
display
:
none
;
color
:
red
;
">Simbol titik (.) tidak boleh diinputkan lebih dari 1</small>
</div>
</div>
</div>
</div>
</div>
<div class="
mb
-
0
d
-
flex
justify
-
content
-
end
">
<div class="
mb
-
0
d
-
flex
justify
-
content
-
end
">
<div>
<div>
<button type="
submit
" class="
btn
btn
-
primary
waves
-
effect
waves
-
light
me
-
1
"> Submit </button>
<button type="
submit
" class="
btn
btn
-
primary
waves
-
effect
waves
-
light
me
-
1
"> Submit </button>
...
...
resources/views/backend/mahasiswa/seleksi/index_internal.blade.php
View file @
bc7867ef
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
</form>
</form>
<br>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead
style="
text
-
align
:
center
;
vertical
-
align
:
middle
;
"
>
<tr>
<tr>
<th>No</th>
<th>No</th>
<th>Kode Kelompok</th>
<th>Kode Kelompok</th>
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
<th>Identitas Dosen Pembimbing</th>
<th>Identitas Dosen Pembimbing</th>
<th>Kategori PMW</th>
<th>Kategori PMW</th>
<th>Judul Proposal</th>
<th>Judul Proposal</th>
<th>Usulan Anggaran</th>
<th>Status</th>
<th>Status</th>
<th>Aksi</th>
<th>Aksi</th>
</tr>
</tr>
...
@@ -71,13 +72,20 @@
...
@@ -71,13 +72,20 @@
@foreach (
$proposal
as
$item
)
@foreach (
$proposal
as
$item
)
@php
$token
= Str::random(30); @endphp
@php
$token
= Str::random(30); @endphp
<tr id="
row
-
{{
$token
}}
">
<tr id="
row
-
{{
$token
}}
">
<td
>{{
$loop->iteration
}}
</td>
<td
style="
text
-
align
:
center
;
">{{
$loop->iteration
}}.
</td>
<td>{{
$item->rKelompok
->kode }}</td>
<td
style="
text
-
align
:
center
;
"
>{{
$item->rKelompok
->kode }}</td>
<td>{{
$item->rKelompok
->rBiodata->name }} <br> {{
$item->rKelompok
->rBiodata->noidentitas }} <br> {{
$item->rKelompok
->rBiodata->fakultas }} <br> {{
$item->rKelompok
->rBiodata->prodi }}</td>
<td>{{
$item->rKelompok
->rBiodata->name }} <br> {{
$item->rKelompok
->rBiodata->noidentitas }} <br> {{
$item->rKelompok
->rBiodata->fakultas }} <br> {{
$item->rKelompok
->rBiodata->prodi }}</td>
<td>{{
$item->rKelompok
->nama_dosen }} <br> {{
$item->rKelompok
->nidn_dosen }}</td>
<td>{{
$item->rKelompok
->nama_dosen }} <br> {{
$item->rKelompok
->nidn_dosen }}</td>
<td>{{
$item->rJenis
->nama }}</td>
<td style="
text
-
align
:
center
;
">{{
$item->rJenis
->nama }}</td>
<td>{{
$item->judul
}}</td>
<td style="
text
-
align
:
center
;
">{{
$item->judul
}}</td>
<td>
<td style="
text
-
align
:
center
;
">
@if(substr(number_format(
$item->usulan_dana
, 2, ',', '.'), -3) === ',00')
Rp{{ substr(number_format(
$item->usulan_dana
, 2, ',', '.'), 0, -3) }},-
@else
Rp{{ number_format(
$item->usulan_dana
, 2, ',', '.') }}
@endif
</td>
<td style="
text
-
align
:
center
;
">
@if(is_null(
$item->rDaftarPro
->status_final) ||
$item->rDaftarPro
->status_final == 0)
@if(is_null(
$item->rDaftarPro
->status_final) ||
$item->rDaftarPro
->status_final == 0)
<span class="
badge
bg
-
info
">Menunggu Reviewer</span>
<span class="
badge
bg
-
info
">Menunggu Reviewer</span>
@elseif(
$item->rDaftarPro
->status_final == 1)
@elseif(
$item->rDaftarPro
->status_final == 1)
...
@@ -86,11 +94,8 @@
...
@@ -86,11 +94,8 @@
<span class="
badge
bg
-
danger
">Tidak Lolos Seleksi Internal</span>
<span class="
badge
bg
-
danger
">Tidak Lolos Seleksi Internal</span>
@endif
@endif
</td>
</td>
<td>
<td
style="
text
-
align
:
center
;
"
>
<a data-toggle="
tooltip
" data-id="
{{
$item
->
proposal_id
}}
" data-original-title="
Lihat
" class="
btn
btn
-
info
btn
-
sm
lihatDet
"><i class="
far
fa
-
eye
"></i> Lihat</a>
<a data-toggle="
tooltip
" data-id="
{{
$item
->
proposal_id
}}
" data-original-title="
Lihat
" class="
btn
btn
-
info
btn
-
sm
lihatDet
"><i class="
far
fa
-
eye
"></i> Lihat</a>
</div>
</td>
</td>
</tr>
</tr>
@endforeach
@endforeach
...
@@ -116,7 +121,6 @@
...
@@ -116,7 +121,6 @@
<tbody>
<tbody>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
</p>
</p>
...
...
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