TIF_NGANJUK_E41210291/resources/views/backend/user_pdf_result.blade.php

191 lines
6.7 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>{{config('app.name')}}</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Google Fonts -->
<link href="https://fonts.gstatic.com" rel="preconnect">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Nunito:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="{{ asset('admin_backend/assets/vendor/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet">
<link href="{{ asset('admin_backend/assets/css/style.css')}}" rel="stylesheet">
</head>
<body class="bg-white">
<div class="container py-5">
<table class="table table-borderless">
<tbody>
<tr>
<td style="font-weight: bold">Tanggal Pengisian</td>
<td style="font-weight: bold">:</td>
<td>{{ $result->formatted_updated_at }}</td>
</tr>
<tr>
<td style="font-weight: bold">Nama</td>
<td style="font-weight: bold">:</td>
<td>{{ $result->user->nama_lengkap }}</td>
</tr>
<tr>
<td style="font-weight: bold">Golongan</td>
<td style="font-weight: bold">:</td>
<td>{{ $result->user->kelas_user }}</td>
</tr>
<tr>
<td style="font-weight: bold">Jurusan</td>
<td style="font-weight: bold">:</td>
<td>Teknologi Informasi</td>
</tr>
</tbody>
</table>
<h5 style="font-weight: bold">Knowledge of Metacognitif(KM)</h5>
<div>
<table class="table table-bordered">
<thead>
<th colspan="3">Total skor : {{ $result->km_total }}</th>
</thead>
<thead>
<th colspan="3">Kelas skor : {{ $result->km_class }}</th>
</thead>
<thead>
<th>No</th>
<th>Kategori</th>
<th>Nilai</th>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Declarative Knowledge</td>
<td>{{ $result->declarative_knowledge }}</td>
</tr>
<tr>
<td>2</td>
<td>Procedural Knowledge</td>
<td>{{ $result->procedural_knowledge }}</td>
</tr>
<tr>
<td>3</td>
<td>Conditional Knowledge</td>
<td>{{ $result->conditional_knowledge }}</td>
</tr>
</tbody>
</table>
</div>
<h5 style="font-weight: bold" class="pt-5">Regulation of Metacognitif(RM)</h5>
<div>
<table class="table table-bordered">
<thead>
<th colspan="3">Total skor : {{ $result->rm_total }}</th>
</thead>
<thead>
<th colspan="3">Kelas skor : {{ $result->rm_class }}</th>
</thead>
<thead>
<th>No</th>
<th>Kategori</th>
<th>Nilai</th>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Planning</td>
<td>{{ $result->planning }}</td>
</tr>
<tr>
<td>2</td>
<td>Information Management</td>
<td>{{ $result->information_management }}</td>
</tr>
<tr>
<td>3</td>
<td>Monitoring</td>
<td>{{ $result->monitoring }}</td>
</tr>
<tr>
<td>4</td>
<td>Debugging</td>
<td>{{ $result->debugging }}</td>
</tr>
<tr>
<td>5</td>
<td>Evaluation</td>
<td>{{ $result->evaluation }}</td>
</tr>
</tbody>
</table>
</div>
@php
$styleTexts = [
1 => 'Visual',
2 => 'Auditory',
3 => 'Read/Write',
4 => 'Kinesthetic',
5 => 'Multimodal',
];
$styleText = $styleTexts[$result->id_style] ?? 'Unknown';
@endphp
<h5 style="font-weight: bold" class="pt-5">Skor Gaya Belajar (VARK)</h5>
<div>
<table class="table table-bordered">
<thead>
<th colspan="3">Total skor : {{ $result->visual + $result->auditory + $result->readwrite + $result->kinesthetic }}</th>
</thead>
<thead>
<th colspan="3">Gaya Belajar : {{ $styleText }}</th> <!-- Jika kamu punya kelas skor, ganti tanda "-" -->
</thead>
<thead>
<tr>
<th>No</th>
<th>Gaya Belajar</th>
<th>Skor</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Visual</td>
<td>{{ $result->visual }}</td>
</tr>
<tr>
<td>2</td>
<td>Auditory</td>
<td>{{ $result->auditory }}</td>
</tr>
<tr>
<td>3</td>
<td>Read/Write</td>
<td>{{ $result->readwrite }}</td>
</tr>
<tr>
<td>4</td>
<td>Kinesthetic</td>
<td>{{ $result->kinesthetic }}</td>
</tr>
</tbody>
</table>
</div>
</div>
<script src="{{ asset('js/jquery.js')}}"></script>
<script src="{{ asset('admin_backend/assets/vendor/bootstrap/js/bootstrap.bundle.min.js')}}"></script>
<script>
window.print();
</script>
</body>
</html>