Commit f5dc457a by Alfiro Pratama

Hide Nilai Seleksi Internal & Fix Table Responsive

parent 326181fb
......@@ -13,6 +13,7 @@ use App\Models\Kelompok;
use App\Models\Periode;
use App\Models\MonevInternal;
use App\Models\JadwalKegiatan;
use App\Models\BuktiAnggaran;
use Session;
use Alert;
......@@ -67,7 +68,9 @@ class MonevController extends Controller
if($id[1] == 'logbook'){ $title = 'Upload Logbook'; }
elseif($id[1] == 'kemajuan'){ $title = 'Upload Laporan Kemajuan';}
elseif($id[1] == 'produk'){ $title = 'Upload Video Produk Akhir';}
elseif($id[1] == 'akhir'){ $title = 'Upload Laporan Akhir'; }
elseif($id[2] == 'II'){ $title = 'Upload Revisi Proposal Monev II'; }
else{$title = 'Upload Revisi Proposal Monev I';}
$data = [
......@@ -84,18 +87,35 @@ class MonevController extends Controller
{
//
$id = explode('__', decrypt($id));
$proposal = MonevInternal::with(['rProposal'])->find($id[0]);
// $proposal = MonevInternal::with(['rProposal'])->find($id[0]);
$proposal = MonevInternal::with(['rProposal'])->where('proposal_id', $id[0])->first();
if($id[1] == 'logbook'){ $title = 'Upload Logbook'; }
elseif($id[1] == 'kemajuan'){ $title = 'Upload Laporan Kemajuan';}
elseif($id[1] == 'produk'){ $title = 'Upload Produk Akhir';}
elseif($id[1] == 'akhir'){ $title = 'Upload Laporan Akhir'; }
elseif($id[2] == 'II'){ $title = 'Upload Revisi Proposal Monev II'; }
else{$title = 'Upload Revisi Proposal Monev I';}
$label = '';
if ($id[1] == 'logbook') {
$label = 'Upload Logbook';
} elseif ($id[1] == 'produk') {
$label = 'Upload Video Produk Akhir';
} elseif ($id[1] == 'akhir') {
$label = 'Upload Laporan Akhir';
} elseif ($id[2] == 'II') {
$label = 'Upload Revisi Proposal Monev II';
} else {
$label = 'Upload Revisi Proposal Monev I';
}
$data = [
'proposal' => $proposal,
'title' => $title,
'type' => $id[1],
'monev' => $id[2],
'label' => $label,
];
return view('backend.mahasiswa.monev.upload_monev', $data);
......@@ -131,6 +151,12 @@ class MonevController extends Controller
}elseif($pro['type'] == 'akhir'){
$proposal->akhir_file = $file_nama;
$proposal->akhir_date = now();
}elseif($pro['type'] == 'produk'){
$request->validate([
'produk_url' => 'required|url', // Validasi bahwa produk_url harus berupa URL yang valid
]);
$proposal->produk_url = $request->produk_url;
$proposal->produk_date = now();
}elseif($pro['type'] == 'proposal'){
$proposal->upload_dokumen = $file_nama;
$proposal->date_upload = now();
......@@ -141,4 +167,35 @@ class MonevController extends Controller
return redirect()->route('mahasiswa.monev-index', $pro['monev'])->with('success', 'Proposal Berhasil revisi');
}
public function buktiAnggaran($id)
{
$monev = decrypt($id);
$title = 'Bukti Penggunaan Anggaran';
$anggaran = BuktiAnggaran::with(['rProposal', 'rMonev'])
->where('monev_id', $monev)
// ->paginate(10);
->get();
$data = [
'title' => $title,
'anggaran' => $anggaran
];
return view('backend.mahasiswa.monev.anggaran.index', $data);
}
public function storeAnggaran()
{
$title = 'Bukti Penggunaan Anggaran';
// $proposal = Proposal::with(['rluaran', 'rPeriode'])->find(decrypt($id));
$data = [
// 'proposal' => $proposal,
'title' => $title
];
return view('backend.mahasiswa.monev.anggaran.index', $data);
}
}
......@@ -83,6 +83,8 @@ class ProposalController extends Controller
$jadwal = JadwalKegiatan::where('periode_id', $periode->where('status', 1)->first()->periode_id)
->where('nama','Upload Proposal Seleksi Internal')->first();
// dd($jadwal->tanggal_sekesai);
if(($jadwal->tanggal_mulai <= Carbon::now()) && ($jadwal->tanggal_selesai <= Carbon::now())){
return redirect()->route('mahasiswa.proposal.index')->with('warning', 'Batas Pengajuan telah berakhir!');
}
......@@ -92,7 +94,6 @@ class ProposalController extends Controller
}
if(is_null($kelompok)){
return redirect()->route('mahasiswa.proposal.index')->with('warning', 'Belum ada kelompok!');
}
......@@ -160,8 +161,8 @@ class ProposalController extends Controller
'url' => $proposal['url'],
'deskripsi' => $proposal['deskripsi'],
'proposal_id' => $kel->proposal_id,
'created_at' => null,
'updated_at' => null
'created_at' => $kel->date_upload,
'updated_at' => $kel->date_upload
]);
}
......
......@@ -188,36 +188,42 @@ class SeleksiController extends Controller
$data .= "
<tr>
<td>Judul Proposal</td>
<td>".$item->judul."</td>
<td>" . $item->judul . "</td>
</tr>
<tr>
<td>Kategori PMW</td>
<td>".$item->jenis_pkm."</td>
<td>" . $item->jenis_pkm . "</td>
</tr>
<tr>
<td>Status</td>
<td>".$status."</td>
<td>" . $status . "</td>
</tr>
<tr>
<td>Proposal</td>
<td>".$dokumen."</td>
<td>" . $dokumen . "</td>
</tr>
<tr>
<td>Komentar</td>
<td>
<h4 class='card-title mb-4'>Nilai Total </h4>
<p class='text-muted mb-3 pb-4'>". $rata ."</p>
<h4 class='card-title mb-4'>Status Nilai</h4>";
<h4 class='card-title mb-4'>Reviewer 1 </h4>
<p class='text-muted mb-3 pb-4'>".$item->reviewer_komentar_1."</p>
if (!is_null($rata)) {
$data .= "<p class='mb-4 pb-4'><span class='badge bg-success'>Telah direview.</span></p>";
} else {
$data .= "<p class='mb-4 pb-4'><span class='badge bg-danger'>Belum ada review.</span></p>";
}
<h4 class='card-title mb-4'>Reviewer 2 </h4>
<p class='text-muted mb-3 pb-4'>".$item->reviewer_komentar_2."</p>
$data .= "
<h4 class='card-title mb-4'>Reviewer 1</h4>
<p class='text-muted mb-3 pb-4'>" . $item->reviewer_komentar_1 . "</p>
<h4 class='card-title mb-4'>Reviewer 2</h4>
<p class='text-muted mb-3 pb-4'>" . $item->reviewer_komentar_2 . "</p>
</td>
</tr>
";
// <p class='text-muted mb-3 pb-4'>" . $rata . "</p>
$response['html'] = $data;
echo json_encode($response);
......
......@@ -54,6 +54,7 @@
</div>
</form>
<br>
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -109,7 +110,7 @@
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......@@ -124,6 +125,7 @@
</div>
<div class="modal-body">
<p>
<div class="table-responsive">
<table class="table table-bordered data-table mb-0" id="tableDetail">
<thead>
<tr>
......@@ -139,6 +141,7 @@
</tbody>
</table>
</div>
</p>
</div>
</div>
......
......@@ -34,7 +34,7 @@
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -57,7 +57,7 @@
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......
......@@ -36,7 +36,7 @@
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -118,7 +118,7 @@
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......
......@@ -53,6 +53,7 @@
</form>
<br>
@if(($jadwal->tanggal_mulai <= Carbon\Carbon::now()) && ($jadwal->tanggal_selesai >= Carbon\Carbon::now()))
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -164,6 +165,7 @@
@endforeach
</tbody>
</table>
</div>
@else
<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong>Informasi!</strong> Monev Internal I dilaksanakan pada : <strong>Tanggal {{ Carbon\Carbon::parse($jadwal->tanggal_mulai)->isoFormat('D MMMM Y'); }}</strong> sampai dengan <strong>Tanggal {{ Carbon\Carbon::parse($jadwal->tanggal_selesai)->isoFormat('D MMMM Y'); }}.</strong>
......
......@@ -26,7 +26,6 @@
</div>
</div>
</div>
</div>
<!-- end page title -->
......@@ -53,6 +52,7 @@
</div>
</form>
<br>
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead style="text-align: center; vertical-align: middle;">
<tr>
......@@ -111,20 +111,16 @@
</td>
<td>
<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>
@if($item->status == '0')
<a onclick="setuju('{{ encrypt($item->proposal_id) }}', 'row-{{ $token }}')" class="btn btn-success btn-sm"><i class="fas fa-check"></i> Setuju</a>
<a href="" id="revPro" data-toggle="modal" data-target='#practice_modal' data-id="{{ encrypt($item->proposal_id) }}" class="btn btn-danger btn-sm"><i class="fas fa-times"></i> Tolak</a>
@endif
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......@@ -144,7 +140,6 @@
<tbody>
</tbody>
</table>
</div>
</p>
......
......@@ -54,6 +54,7 @@
</div>
</form>
<br>
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead style="text-align: center; vertical-align: middle;">
<tr>
......@@ -94,13 +95,12 @@
</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>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......
......@@ -12,9 +12,9 @@
@endsection
@section('contents')
@php
@php
$menu = 'dashboard';
@endphp
@endphp
<!-- start page title -->
<div class="page-title-box">
......@@ -42,8 +42,7 @@
</div>
</div>
</div>
@endsection
@endsection
@section('js')
......
......@@ -34,6 +34,7 @@
</div>
</div>
<br/>
<div class="table-responsive">
<table class="table table-hover table-centered table-nowrap mb-0">
<tbody>
<tr class="table-light">
......@@ -48,6 +49,7 @@
</tr>
</tbody>
</table>
</div>
<br/>
<div class="row">
<div class="col-10">
......@@ -58,6 +60,7 @@
</div>
</div>
<br/>
<div class="table-responsive">
<table class="table table-hover table-centered table-nowrap mb-0">
<thead>
<tr class="table-light">
......@@ -93,6 +96,7 @@
</div>
</div>
</div>
</div>
{{ Form::open(['url' => route('mahasiswa.kelompok.kirim'), 'method' => 'post', 'id' => 'addKelompok']) }}
......
......@@ -30,7 +30,6 @@
</div>
</div>
</div>
</div>
<!-- end page title -->
......@@ -57,6 +56,7 @@
</div>
</form>
<br>
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -111,7 +111,6 @@
<p>
<div class="table-responsive">
<table class="table table-striped mb-0">
<thead>
<tr>
<th>No</th>
......@@ -124,7 +123,6 @@
</thead>
<tbody>
<tr>
@foreach ($item->rAnggota as $value)
<tr>
<td>{{ $loop->iteration }}</td>
......@@ -150,14 +148,12 @@
</div>
</div>
</div>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......
......@@ -18,12 +18,13 @@
<h6 class="page-title">{!! $title !!}</h6>
<ol class="breadcrumb m-0">
<li class="breadcrumb-item">Mahasiswa</li>
<li class="breadcrumb-item"><a href="{{ url()->previous() }}">Monev Internal I</a></li>
<li class="breadcrumb-item">{!! $title !!}</li>
</ol>
</div>
<div class="col-md-4">
<div class="float-end d-none d-md-block">
<button type="button" class="btn btn-primary waves-effect waves-light" data-bs-toggle="modal" data-bs-target="#tmbhKel">Tambah Data</button>
<button type="button" class="btn btn-primary waves-effect waves-light" data-bs-toggle="modal" data-bs-target="#tmbhKel"><i class="fas fa-plus-circle me-2"></i> Tambah Data</button>
</div>
</div>
</div>
......@@ -35,10 +36,10 @@
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
<tr align="center" valign="middle">
<th>No</th>
<th>Jenis</th>
<th>Judul</th>
......@@ -47,6 +48,7 @@
</tr>
</thead>
<tbody>
@if ($proposal->rLuaran->count())
@foreach ($proposal->rLuaran as $item)
@php $token = Str::random(30); @endphp
<tr id="row-{{ $token }}">
......@@ -59,13 +61,19 @@
</td>
</tr>
@endforeach
@else
<tr>
<td colspan="5" style="text-align: center; font-style: italic;">Tidak ada data yang dapat diambil.</td>
</tr>
@endif
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
</div> <!-- end row -->
<div id="tmbhKel" class="modal fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
......
......@@ -24,11 +24,9 @@
<div class="col-md-4">
<div class="float-end d-none d-md-block">
<a href="{{ URL::to('mahasiswa/proposal/create') }}" type="button" class="btn btn-primary waves-effect waves-light"> <i class="fas fa-plus-circle"></i> Tambah Data</a>
</div>
</div>
</div>
</div>
<!-- end page title -->
......@@ -36,7 +34,7 @@
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -118,12 +116,11 @@
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -25,7 +25,6 @@
<div class="col-md-4">
</div>
</div>
</div>
<!-- end page title -->
......@@ -53,10 +52,11 @@
</form>
<br>
@if(($jadwal->tanggal_mulai <= Carbon\Carbon::now()) && ($jadwal->tanggal_selesai >= Carbon\Carbon::now()))
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
<th>No</th>
<thead align="center">
<tr valign="middle">
<th>No.</th>
<th>Kode Kelompok</th>
<th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th>
......@@ -64,7 +64,7 @@
<th>Judul Proposal</th>
<th width="10%">Catatan Harian (Logbook)</th>
<th width="10%">Laporan Kemajuan</th>
<th width="10%">Luaran</th>
<th width="10%">Laporan Magang / Lainnya</th>
<th>Aksi</th>
</tr>
</thead>
......@@ -72,32 +72,32 @@
@foreach ($proposal as $item)
@php $token = Str::random(30); @endphp
<tr id="row-{{ $token }}">
<td>{{ $loop->iteration }}</td>
<td>{{ $item->rProposal->rKelompok->kode }}</td>
<td align="center">{{ $loop->iteration }}</td>
<td align="center">{{ $item->rProposal->rKelompok->kode }}</td>
<td>{{ $item->rProposal->rKelompok->rBiodata->name }} <br> {{ $item->rProposal->rKelompok->rBiodata->noidentitas }} <br> {{ $item->rProposal->rKelompok->rBiodata->fakultas }} <br> {{ $item->rProposal->rKelompok->rBiodata->prodi }}</td>
<td>{{ $item->rProposal->rKelompok->nama_dosen }} <br> {{ $item->rProposal->rKelompok->nidn_dosen }}</td>
<td>{{ $item->rProposal->rJenis->nama }}</td>
<td>{{ $item->rProposal->judul }}</td>
<td>
<td align="center">{{ $item->rProposal->rJenis->nama }}</td>
<td align="center">{{ $item->rProposal->judul }}</td>
<td align="center">
@if(is_null($item->logbook_file))
<a href="{{ URL::to('mahasiswa/monev-revisi/'.encrypt($item->id.'__logbook__I')) }}" type="button" class="btn btn-warning btn-sm waves-effect waves-light"> <i class="fas fa-file-upload"></i> Upload</a>
@else
<a href="https://statik.unesa.ac.id/simpmw/monev/I/logbook/{{ $item->logbook_file }}" target="_blank" title="Logbook" class="btn btn-info btn-sm waves-effect waves-light"> <i class="fas fa-search"></i> Lihat</a>
@endif
</td>
<td>
<td align="center">
@if(is_null($item->kemajuan_file))
<a href="{{ URL::to('mahasiswa/monev-revisi/'.encrypt($item->id.'__kemajuan__I')) }}" type="button" class="btn btn-warning btn-sm waves-effect waves-light"> <i class="fas fa-file-upload"></i> Upload</a>
@else
<a href="https://statik.unesa.ac.id/simpmw/monev/I/kemajuan/{{ $item->kemajuan_file }}" target="_blank" title="Laporan Kemajuan" class="btn btn-info btn-sm waves-effect waves-light"> <i class="fas fa-search"></i> Lihat</a>
@endif
</td>
<td>
<a href="{{ URL::to('mahasiswa/luaran/'.encrypt($item->rProposal->proposal_id)) }}" type="button" class="btn btn-success btn-sm waves-effect waves-light"> <i class="fas fa-newspaper"></i> Luaran</a>
<td align="center">
<a href="{{ URL::to('mahasiswa/luaran/'.encrypt($item->rProposal->proposal_id)) }}" type="button" class="btn btn-success btn-sm waves-effect waves-light"><i class="fas fa-newspaper"></i> Laporan</a>
</td>
<td align="center">
<button data-bs-toggle="modal" data-bs-target="{{ '#lihat'.$item->id }}" class="btn btn-success btn-sm"> <i class="fas fa-search"></i> Hasil Penilaian</button>
<a href="{{ URL::to('mahasiswa/monev-revisi/'.encrypt($item->id.'__proposal__I')) }}" type="button" class="btn btn-danger btn-sm waves-effect waves-light"> <i class="fas fa-file-upload"></i> Revisi</a>
<button data-bs-toggle="modal" data-bs-target="{{ '#lihat'.$item->id }}" class="btn btn-success btn-sm form-control mb-2"><i class="fas fa-search"></i> Hasil Penilaian</button>
<a href="{{ URL::to('mahasiswa/monev-revisi/'.encrypt($item->id.'__proposal__I')) }}" type="button" class="btn btn-danger btn-sm waves-effect waves-light form-control" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Revisi Proposal"><i class="fas fa-file-upload"></i> Revisi</a>
<div id="{{ 'lihat'.$item->id }}" class="modal fade" tabindex="-1" role="dialog"
aria-labelledby="lihatLabel" aria-hidden="true">
......@@ -122,10 +122,17 @@
<tr>
<th>Status</th>
<td colspan="2">
@if(is_null($item->rProposal->status))
{{-- @if(is_null($item->rProposal->status))
<span class="badge bg-danger">Lolos Seleksi Internal</span>
@else
<span class="badge bg-success">Tidak Lolos Seleksi Internal</span>
@endif --}}
@if(is_null($item->rProposal->status) || $item->rProposal->status == 0)
<span class="badge bg-info">Menunggu Reviewer</span>
@elseif($item->rProposal->status == 1)
<span class="badge bg-success">Lolos Seleksi Internal</span>
@else
<span class="badge bg-danger">Tidak Lolos Seleksi Internal</span>
@endif
</td>
</tr>
......@@ -164,22 +171,20 @@
@endforeach
</tbody>
</table>
</div>
@else
<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong>Informasi!</strong> Monev Internal I dilaksanakan pada : <strong>Tanggal {{ Carbon\Carbon::parse($jadwal->tanggal_mulai)->isoFormat('D MMMM Y'); }}</strong> sampai dengan <strong>Tanggal {{ Carbon\Carbon::parse($jadwal->tanggal_selesai)->isoFormat('D MMMM Y'); }}.</strong>
</div>
@endif
</div>
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
<script>
function hapus(id, rowId){
Swal.fire({
title: 'Apakah anda yakin untuk menghapus Kelompok?',
......
......@@ -25,6 +25,7 @@
</div>
</div>
<!-- end page title -->
<div class="row">
<div class="col-12">
<div class="card">
......@@ -37,16 +38,16 @@
<input class="form-control" type="hidden" id="monev_id" name="monev_id" value="{{ $proposal->id }}" >
<input class="form-control" type="hidden" id="type" name="type" value="{{ $type }}" >
<input class="form-control" type="hidden" id="monev" name="monev" value="{{ $monev }}" >
<label for="kode" class="col-sm-2 col-form-label">Judul</label>
<label class="col-sm-10 col-form-label">{{ $proposal->rProposal->judul }}</label>
<label for="input-form" class="col-sm-2 col-form-label">Judul</label>
<label for="input-form" class="col-sm-10 col-form-label">{{ $proposal->rProposal->judul }}</label>
</div>
<div class=" row mb-3">
<label class="col-sm-2 col-form-label">Kategori PMW</label>
<label class="col-sm-10 col-form-label">{{ $proposal->rProposal->rJenis->nama }}</label>
<label for="input-form" class="col-sm-2 col-form-label">Kategori PMW</label>
<label for="input-form" class="col-sm-10 col-form-label">{{ $proposal->rProposal->rJenis->nama }}</label>
</div>
<div class=" row mb-3">
<label class="col-sm-2 col-form-label">Komentar Review</label>
<label class="col-sm-10 col-form-label">
<label for="input-form" class="col-sm-2 col-form-label">Komentar Review</label>
<label for="input-form" class="col-sm-10 col-form-label">
<h4 class="card-title mb-4">Reviewer 1 - {{ $proposal->rNilaiMonev->rReviewerBio1 ? $proposal->rNilaiMonev->rReviewerBio1->nama : '' }}</h4>
<p class="text-muted mb-3 pb-4">" {{ $proposal->rNilaiMonev->reviewer_komentar_1 }}"</p>
......@@ -55,17 +56,34 @@
</label>
</div>
<div class="row mb-3" class="dropzone">
<label for="kode" class="col-sm-2 col-form-label">Upload Revisi Proposal</label>
<label for="input-form" class="col-sm-2 col-form-label">{{ $label }}</label>
{{-- <label for="kode" class="col-sm-2 col-form-label">Upload Revisi Proposal</label>
<div class="col-sm-10">
@if ($errors->has('file')) <span class="text-danger">{{ $errors->first('file') }}</span> @endif
<input type="file" name="file" class="form-control" id="input-file">
<iframe id="view-pdf" width="80%" height="80%" src="" frameborder="0"></iframe>
</div> --}}
@if($type == 'produk')
<div class="col-sm-10">
@if ($errors->has('produk_url'))
<span class="text-danger">{{ $errors->first('produk_url') }}</span>
@endif
<input type="text" name="produk_url" class="form-control" id="input-form" value="{{ old('produk_url') }}">
</div>
@else
<div class="col-sm-10">
@if ($errors->has('file'))
<span class="text-danger">{{ $errors->first('file') }}</span>
@endif
<input type="file" name="file" class="form-control" id="input-form">
<iframe id="view-pdf" width="80%" height="80%" src="" frameborder="0"></iframe>
</div>
@endif
</div>
<div class="mb-0">
<div>
<button type="submit" class="btn btn-primary waves-effect waves-light me-1"> Submit </button>
<button type="reset" class="btn btn-secondary waves-effect"> Cancel </button>
<button type="button" onclick="window.location.href='{{ URL::to('/mahasiswa/monev/II') }}'" class="btn btn-secondary waves-effect"> Cancel </button>
</div>
</div>
</form>
......@@ -75,7 +93,6 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -125,7 +125,6 @@
</div>
</div>
</div>
@endsection
@section('js')
......
......@@ -200,7 +200,6 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -27,7 +27,6 @@
</div>
</div>
</div>
</div>
<!-- end page title -->
......@@ -54,6 +53,7 @@
</div>
</form>
<br>
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead style="text-align: center; vertical-align: middle;">
<tr>
......@@ -101,7 +101,7 @@
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......@@ -132,7 +132,6 @@
@section('js')
<script>
function hapus(id, rowId){
Swal.fire({
title: 'Apakah anda yakin untuk menghapus Kelompok?',
......
......@@ -24,6 +24,7 @@
</div>
</div>
<!-- end page title -->
<div class="row">
<div class="col-12">
<div class="card">
......@@ -69,7 +70,6 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -79,6 +79,7 @@
</div>
</div>
<br>
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -97,7 +98,7 @@
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......@@ -106,7 +107,6 @@
@section('js')
<script>
$("#reqJenisPkm, #reqStatus, #reqTahun").select2({
placeholder: "Semua",
allowClear: true
......
......@@ -21,7 +21,7 @@
<div class="col-md-8">
<h6 class="page-title">{!! $title !!}</h6>
<ol class="breadcrumb m-0">
<li class="breadcrumb-item">Seleksi Internal</li>
<li class="breadcrumb-item">Monev Internal I</li>
<li class="breadcrumb-item">{!! $title !!}</li>
</ol>
</div>
......@@ -34,8 +34,6 @@
</div>
<!-- end page title -->
<div class="row">
<div class="col-12">
<div class="card">
......@@ -82,6 +80,7 @@
</div>
</div>
<br>
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -104,7 +103,7 @@
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......@@ -113,7 +112,6 @@
@section('js')
<script>
$("#reqJenisPkm, #reqStatus, #reqTahun").select2({
placeholder: "Semua",
allowClear: true
......
......@@ -34,19 +34,15 @@ Dashboard
</div>
<!-- end page title -->
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
{!! Form::open(array('url' => route('operator.jadwal-kegiatan.store'), 'method' => 'POST', 'id' => 'ff', 'class'
=>
'form-horizontal')) !!}
{!! Form::open(array('url' => route('operator.jadwal-kegiatan.store'), 'method' => 'POST', 'id' => 'ff', 'class' => 'form-horizontal')) !!}
{!! csrf_field() !!}
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive nowrap"
style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
<th>Nama Kegiatan</th>
......@@ -80,6 +76,7 @@ Dashboard
@endforeach
</tbody>
</table>
</div>
<button type="submit" class="btn btn-primary waves-effect waves-light me-1" style="display: none"
id="btnSubmit">
......@@ -90,7 +87,6 @@ Dashboard
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -66,7 +66,6 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -70,7 +70,6 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -30,14 +30,12 @@
</div>
<!-- end page title -->
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
<th>id</th>
......@@ -49,12 +47,11 @@
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -104,7 +104,6 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -25,14 +25,12 @@
</div>
<!-- end page title -->
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
<th>id</th>
......@@ -45,12 +43,11 @@
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -60,8 +60,8 @@
</div>
<br>
{!! csrf_field() !!}
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
<th>No</th>
......@@ -77,7 +77,7 @@
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......@@ -91,6 +91,7 @@
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body">
<div class="table-responsive">
<table class="w-100" id="tblempinfo">
<thead>
<tr>
......@@ -105,6 +106,7 @@
<tbody></tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-bs-dismiss="modal">Close</button>
</div>
......@@ -115,7 +117,6 @@
@section('js')
<script>
$("#reqStatus, #reqTahun").select2({
placeholder: "Semua",
allowClear: true
......
......@@ -60,14 +60,11 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
<script src="{{ asset('theme/libs/tinymce/tinymce.min.js') }}"></script>
<script src="{{ asset('theme/js/pages/form-editor.init.js') }}"></script>
<script>
$(function(){
$('#input-file').change(function(){
......
......@@ -29,8 +29,6 @@
</div>
<!-- end page title -->
<div class="row">
<div class="col-12">
<div class="card">
......@@ -78,8 +76,8 @@
</div>
</div>
<br>
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
<th>No</th>
......@@ -95,7 +93,7 @@
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......@@ -104,7 +102,6 @@
@section('js')
<script>
$("#reqJenisPkm, #reqStatus, #reqTahun").select2({
placeholder: "Semua",
allowClear: true
......
......@@ -33,8 +33,6 @@
</div>
<!-- end page title -->
<div class="row">
<div class="col-12">
<div class="card">
......@@ -56,8 +54,8 @@
</div>
</div>
<br>
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
<th>id</th>
......@@ -72,7 +70,7 @@
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......@@ -99,6 +97,7 @@
</select>
</div>
</div><br>
<div class="table-responsive">
<table id="example1" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -112,6 +111,7 @@
</thead>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
......
......@@ -37,8 +37,6 @@
</div>
<!-- end page title -->
<div class="row">
<div class="col-12">
<div class="card">
......@@ -60,8 +58,8 @@
</div>
</div>
<br>
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
<th>id</th>
......@@ -76,7 +74,7 @@
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
......@@ -93,6 +91,7 @@
aria-label="Close"></button>
</div>
<div class="modal-body" style="min-height: 500px !important">
<div class="table-responsive">
<table id="example1" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -105,6 +104,7 @@
</thead>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
......
......@@ -34,7 +34,7 @@
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -90,18 +90,16 @@
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
<script src="{{ asset('theme/js/pages/datatables.init.js') }}"></script>
<script>
$("body").on("click", ".delete", function (e) {
e.preventDefault();
var id = $(this).data('id');
......
......@@ -93,7 +93,6 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -101,8 +101,7 @@
@section('js')
<script src="{{ asset('theme/js/pages/jquery.validate.min.js') }}"></script>
<script>
$('.check').on('focusout', function() {
$('.check').on('focusout', function() {
var info = $(this).data('info');
if(info == 'email')
var url = "{{url('/operator/checkemail')}}";
......@@ -139,9 +138,9 @@ $('.check').on('focusout', function() {
//error
}
});
});
});
$(document).ready(function() {
$(document).ready(function() {
$(function() {
// [ Initialize validation ]
$('#ff').validate({
......@@ -189,6 +188,6 @@ $(document).ready(function() {
}
});
});
});
});
</script>
@endsection
......@@ -34,7 +34,7 @@
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="table-responsive">
<table id="datatable" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -64,12 +64,11 @@
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......
......@@ -28,13 +28,12 @@
</div>
<!-- end page title -->
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
@if((($jadwal->tanggal_mulai <= Carbon\Carbon::now()) && ($jadwal->tanggal_selesai >= Carbon\Carbon::now())) || $jadwal->tanggal_mulai <= Carbon\Carbon::now())
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -53,6 +52,7 @@
<tbody>
</tbody>
</table>
</div>
@else
<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong>Informasi!</strong> {!! $title !!} dilaksanakan pada : <strong>Tanggal {{ Carbon\Carbon::parse($jadwal->tanggal_mulai)->isoFormat('D MMMM Y HH:mm:ss'); }}</strong> sampai dengan <strong>Tanggal {{ Carbon\Carbon::parse($jadwal->tanggal_selesai)->isoFormat('D MMMM Y HH:mm:ss'); }}.</strong>
......@@ -62,7 +62,6 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......@@ -148,7 +147,5 @@
})
}
</script>
@endsection
......@@ -47,7 +47,7 @@
</div>
<div class="row mb-3">
<label for="kode" class="col-sm-2 col-form-label">Komponen Penilaian : </label>
<div class="col-sm-10">
<div class="col-sm-10 table-responsive">
<table class="table table-striped">
<thead>
<tr style="text-align: center">
......@@ -121,11 +121,9 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
<script>
$(function(){
$('#input-file').change(function(){
......@@ -155,5 +153,4 @@
$('#varTotalNilai').text(sum);
}
</script>
@endsection
......@@ -73,6 +73,7 @@
</div>
</div>
<br>
<div class="table-responsive">
<table id="example" class="table table-bordered dt-responsive wrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
......@@ -82,6 +83,7 @@
<th>Judul Proposal</th>
<th>Status</th>
<th>Proposal</th>
{{-- <th>Video Produk</th> --}}
<th>Administrasi</th>
<th>Nilai Subtansi Proposal</th>
</tr>
......@@ -89,12 +91,11 @@
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
......@@ -120,6 +121,7 @@
{ data: 'judul' },
{ data: 'status' },
{ data: 'proposal' },
// { data: 'video' },
{ data: 'administrasi' },
{ data: 'aksi' },
],
......@@ -218,7 +220,5 @@
})
}
</script>
@endsection
......@@ -72,7 +72,7 @@
</div>
<div class="row mb-3">
<label for="kode" class="col-sm-2 col-form-label">Komponen Penilaian : </label>
<div class="col-sm-10">
<div class="col-sm-10 table-responsive">
<table class="table table-striped">
<thead>
<tr style="text-align: center">
......@@ -142,14 +142,12 @@
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
<script>
// sum();
$(function(){
$('#input-file').change(function(){
var input = this;
......@@ -178,5 +176,4 @@
$('#varTotalNilai').text(sum);
}
</script>
@endsection
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment