78 lines
3.6 KiB
PHP
78 lines
3.6 KiB
PHP
@extends('layout.main')
|
|
@section('body')
|
|
@php
|
|
$menu = 'Data Riwayat';
|
|
$pageTitle = 'Hasil Riwayat';
|
|
@endphp
|
|
|
|
@include('layout.navbar')
|
|
@include('layout.sidebar')
|
|
|
|
{{-- Main Content --}}
|
|
<div class="main-container">
|
|
<div class="pd-ltr-20 xs-pd-20-10">
|
|
<div class="min-height-200px">
|
|
<div class="page-header">
|
|
<div class="row">
|
|
<div class="col-md-6 col-sm-12">
|
|
<div class="title">
|
|
<h4>{{ $menu }}</h4>
|
|
</div>
|
|
<nav aria-label="breadcrumb" role="navigation">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item"><a href="{{ route('dashboard.index') }}">Dashboard</a></li>
|
|
@if (isset($pageTitle))
|
|
<li class="breadcrumb-item active" aria-current="page">{{ $pageTitle }}</li>
|
|
@else
|
|
<li class="breadcrumb-item active" aria-current="page"></li>
|
|
@endif
|
|
</ol>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-box mb-30">
|
|
<div class="pd-20">
|
|
<h4 class="text-blue h4 mb-0">Hasil Riwayat</h4>
|
|
</div>
|
|
<form method="POST" action="">
|
|
@csrf
|
|
<div class="pb-10">
|
|
<div class="table-responsive">
|
|
<table class="data-table table stripe hover nowrap">
|
|
<thead>
|
|
<tr>
|
|
<th>No</th>
|
|
<th>Nama</th>
|
|
<th>Pilihan Ekstrakurikuler</th>
|
|
<th>Nilai Akhir</th>
|
|
{{-- <th>Tanggal Perangkingan</th> --}}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@forelse ($logs as $log)
|
|
<tr>
|
|
<td>{{ $loop->iteration }}</td>
|
|
<td>{{ $log->user->name }}</td>
|
|
<td>{{ $log->extracuricullar->nama }}</td>
|
|
<td>{{ $log->final_score }}</td>
|
|
</tr>
|
|
@empty
|
|
<tr>
|
|
<td colspan="5" class="text-center">Tidak ada data.</td>
|
|
</tr>
|
|
@endforelse
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="footer-wrap pd-20 mb-20 card-box">
|
|
<strong>Sistem Pendukung Keputusan Pemilihan Ekstrakurikuler Metode SMARTER</strong>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|