iclop_v1/resources/views/admin/uisummaryres/index.blade.php
2022-08-17 19:44:54 +07:00

69 lines
3.2 KiB
PHP
Raw Blame History

@extends('admin/admin')
@section('content')
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h3 class="card-title">UI Validation Result of Learning Result</h3>
<div class="card-tools">
</div>
</div>
<div class="card-body">
@if (Session::has('message'))
<div id="alert-msg" class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true"><EFBFBD></button>
{{ Session::get('message') }}
</div>
@endif
{{ Form::open(['method' => 'GET']) }}
<div class="form-group">
{!! Form::label('student', 'Student:') !!}
<select class="form-control" id="stdList" name="stdList" onChange='this.form.submit();'>
@foreach($items as $item)
<option value="{{ $item->id }}" {{ $item->id == $filter ? 'selected' : '' }}>{{ '[ '.$item->classname.' / '.$item->teacher.' ] '.$item->name }}</option>
@endforeach
</select>
{{ Form::close() }}
<div class="row">
<div class="col-md-12">
<table class="table table-bordered table-hover">
<thead>
<tr class="text-center">
<th>Topic Name</th>
<th>Number of Submissions</th>
<th>Validation Detail</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@php($number=1)
@foreach($entities as $entity)
<tr>
<td>{{ $number }} . {{ $entity->{'name'} }}</td>
<td>{{ $entity->{'jumlah_submit'} }}</td>
<td>{{ $entity->{'checkresult'} }}</td>
<td>{{ $entity->{'checkstat'} }}</td>
<td class="text-center">
<div class="btn-group">
<a class="btn btn-warning " href="{{ URL::to('/admin/uiresview/'.$filter.'/'.$entity->{'id'}) }}"><i class="fa fa-eye"></i>&nbsp;History</a>
</div>
</td>
</tr>
@php($number++)
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection