Commit f5dc457a by Alfiro Pratama

Hide Nilai Seleksi Internal & Fix Table Responsive

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