68 lines
4.1 KiB
PHP
68 lines
4.1 KiB
PHP
<x-other.modal id="mWorkload" size="lg" title="Form Workload" subTitle="All User Workload Index" info="" :separator="true">
|
|
<x-slot name="action">
|
|
</x-slot>
|
|
<x-slot name="content">
|
|
<!--begin::Base Table Widget 5-->
|
|
<div class="card card-custom gutter-b card-stretch">
|
|
<!--begin::Header-->
|
|
<div class="card-header border-0 pt-5">
|
|
<h3 class="card-title align-items-start flex-column">
|
|
<span class="card-label font-weight-bolder text-dark">Workload Monitoring</span>
|
|
<span class="text-muted mt-3 font-weight-bold font-size-sm">All Users</span>
|
|
</h3>
|
|
<div class="card-toolbar">
|
|
{{-- <a href="#" id="lihatSemuaWorkload" onclick="znModal('mWorkload')" class="btn btn-light-primary btn-md py-2 font-weight-bolder" >Lihat Semua Workload User</a> --}}
|
|
</div>
|
|
</div>
|
|
<!--end::Header-->
|
|
<!--begin::Body-->
|
|
<div class="card-body pt-2 pb-0">
|
|
<!--begin::Table-->
|
|
<div class="table-responsive">
|
|
<table class="table table-borderless table-vertical-center">
|
|
<thead>
|
|
<tr>
|
|
<th class="p-0" style="width: 50px"></th>
|
|
<th class="p-0" style="min-width: 150px"></th>
|
|
<th class="p-0" style="min-width: 140px"></th>
|
|
<th class="p-0" style="min-width: 110px"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if (count($top5Wi))
|
|
@foreach ($top5Wi as $key => $wi)
|
|
<tr>
|
|
<td class="py-5 pl-0">
|
|
<div class="symbol symbol-50 symbol-light mr-2">
|
|
<span class="symbol-label" style="background-image: url('{{ $wi->image_url }}'); background-size: cover; background-repeat: no-repeat; background-position: center center;">
|
|
{{-- <img src="{{ $wi->image_url }}" class="h-50 align-self-center" alt="" /> --}}
|
|
</span>
|
|
</div>
|
|
</td>
|
|
<td class="pl-0">
|
|
<a href="#" class="text-dark font-weight-bolder text-hover-primary mb-1 font-size-lg">{{ $wi->full_name }}</a>
|
|
{{-- <span class="text-muted font-weight-bold d-block">Successful Fellas</span> --}}
|
|
</td>
|
|
<td class="text-right">
|
|
<span class="text-muted font-weight-500">{{ $wi->unit_name }}</span>
|
|
</td>
|
|
<td class="text-right">
|
|
<span class="label label-lg label-light-primary label-inline">{{ $wi->idx }}</span>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
@else
|
|
<tr>
|
|
<td colspan="4" align="center">Data Tidak Ditemukan</td>
|
|
</tr>
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!--end::Tablet-->
|
|
</div>
|
|
<!--end::Body-->
|
|
</div>
|
|
<!--end::Base Table Widget 5-->
|
|
</x-slot>
|
|
</x-other.modal> |