myvideogamelist.com/resources/views/partials/widgets/tables/_widget-3.blade.php

127 lines
4.7 KiB
PHP
Raw Normal View History

<?php
// Table rows
$tableRows = array(
array(
'icon' => 'icons/duotune/ecommerce/ecm002.svg',
'color' => 'success',
'title' => 'Top Authors',
'description' => 'Best Customers',
'technologies' => 'ReactJs, HTML',
'users' => '4600 Users',
'size' => '5.4MB'
),
array(
'icon' => 'icons/duotune/general/gen024.svg',
'color' => 'danger',
'title' => 'Popular Authors',
'description' => 'Best Customers',
'technologies' => 'Python, MySQL',
'users' => '7200 Users',
'size' => '2.8MB'
),
array(
'icon' => 'icons/duotune/finance/fin006.svg',
'color' => 'info',
'title' => 'New Users',
'description' => 'Communication/Group.svg',
'technologies' => 'Laravel, Metronic',
'users' => '890 Users',
'size' => '1.5MB'
),
array(
'icon' => 'icons/duotune/abstract/abs027.svg',
'color' => 'warning',
'title' => 'Active Customers',
'description' => 'Best Customers',
'technologies' => 'AngularJS, C#',
'users' => '4600 Users',
'size' => '5.4MB'
),
array(
'icon' => 'icons/duotune/abstract/abs042.svg',
'color' => 'primary',
'title' => 'Active Customers',
'description' => 'Best Customers',
'technologies' => 'ReactJS, Ruby',
'users' => '354 Users',
'size' => '500KB'
)
);
?>
<!--begin::Tables Widget 3-->
<div class="card {{ $class }}">
<!--begin::Header-->
<div class="card-header border-0 pt-5">
<h3 class="card-title align-items-start flex-column">
<span class="card-label fw-bolder fs-3 mb-1">Files</span>
<span class="text-muted mt-1 fw-bold fs-7">Over 100 pending files</span>
</h3>
<div class="card-toolbar">
<!--begin::Menu-->
<button type="button" class="btn btn-sm btn-icon btn-color-primary btn-active-light-primary" data-kt-menu-trigger="click" data-kt-menu-placement="bottom-end">
{!! theme()->getSvgIcon("icons/duotune/general/gen024.svg", "svg-icon-2") !!}
</button>
{{ theme()->getView('partials/menus/_menu-3') }}
<!--end::Menu-->
</div>
</div>
<!--end::Header-->
<!--begin::Body-->
<div class="card-body py-3">
<!--begin::Table container-->
<div class="table-responsive">
<!--begin::Table-->
<table class="table align-middle gs-0 gy-3">
<!--begin::Table head-->
<thead>
<tr>
<th class="p-0 w-50px"></th>
<th class="p-0 min-w-150px"></th>
<th class="p-0 min-w-140px"></th>
<th class="p-0 min-w-120px"></th>
<th class="p-0 min-w-40px"></th>
</tr>
</thead>
<!--end::Table head-->
<!--begin::Table body-->
<tbody>
@foreach($tableRows as $row)
<tr>
<td>
<div class="symbol symbol-50px me-2">
<span class="symbol-label bg-light-{{ $row['color'] }}">
{!! theme()->getSvgIcon($row['icon'], "svg-icon-2x svg-icon-" . $row['color']); !!}
</span>
</div>
</td>
<td>
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">
{{ $row['title'] }}
</a>
</td>
<td class="text-end text-muted fw-bold">
{{ $row['technologies'] }}
</td>
<td class="text-end text-muted fw-bold">
{{ $row['users'] }}
</td>
<td class="text-end text-dark fw-bolder fs-6 pe-0">
{{ $row['size'] }}
</td>
</tr>
@endforeach
</tbody>
<!--end::Table body-->
</table>
<!--end::Table-->
</div>
<!--end::Table container-->
</div>
<!--begin::Body-->
</div>
<!--end::Tables Widget 3-->