Initial Commit
The initial public commit of MVGL website code.
This commit is contained in:
commit
b39ecf1638
2043 changed files with 215154 additions and 0 deletions
149
resources/views/partials/widgets/tables/_widget-1.blade.php
Normal file
149
resources/views/partials/widgets/tables/_widget-1.blade.php
Normal file
|
@ -0,0 +1,149 @@
|
|||
<?php
|
||||
// Table rows
|
||||
$tableRows = array(
|
||||
array(
|
||||
'image' => 'svg/brand-logos/plurk.svg',
|
||||
'info' => array(
|
||||
'title' => 'Top Authors',
|
||||
'description' => 'Successful Fellas'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '70',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
|
||||
array(
|
||||
'image' => 'svg/brand-logos/telegram.svg',
|
||||
'info' => array(
|
||||
'title' => 'Popular Authors',
|
||||
'description' => 'Most Successful'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '50',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
|
||||
array(
|
||||
'image' => 'svg/brand-logos/vimeo.svg',
|
||||
'info' => array(
|
||||
'title' => 'New Users',
|
||||
'description' => 'Awesome Users'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '80',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
|
||||
array(
|
||||
'image' => 'svg/brand-logos/bebo.svg',
|
||||
'info' => array(
|
||||
'title' => 'Active Customers',
|
||||
'description' => 'Best Customers'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '90',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
|
||||
array(
|
||||
'image' => 'svg/brand-logos/kickstarter.svg',
|
||||
'info' => array(
|
||||
'title' => 'Bestseller Theme',
|
||||
'description' => 'Amazing Templates'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '70',
|
||||
'color' => 'primary'
|
||||
)
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
||||
<!--begin::Tables Widget 1-->
|
||||
<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">Tasks Overview</span>
|
||||
|
||||
<span class="text-muted fw-bold fs-7">Pending 10 tasks</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-1') }}
|
||||
<!--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-5">
|
||||
<!--begin::Table head-->
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="p-0 w-50px"></th>
|
||||
<th class="p-0 min-w-200px"></th>
|
||||
<th class="p-0 min-w-100px"></th>
|
||||
<th class="p-0 min-w-40px"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!--end::Table head-->
|
||||
|
||||
<!--begin::Table body-->
|
||||
<tbody>
|
||||
@foreach($tableRows as $row)
|
||||
<tr>
|
||||
<th>
|
||||
<div class="symbol symbol-50px me-2">
|
||||
<span class="symbol-label">
|
||||
<img src="{{ asset(theme()->getMediaUrlPath() . $row['image']) }}" class="h-50 align-self-center" alt=""/>
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
|
||||
<td >
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">{{ $row['info']['title'] }}</a>
|
||||
<span class="text-muted fw-bold d-block fs-7">{{ $row['info']['description'] }}</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<div class="d-flex flex-column w-100 me-2">
|
||||
<div class="d-flex flex-stack mb-2">
|
||||
<span class="text-muted me-2 fs-7 fw-bold">
|
||||
{{ $row['progress']['value'] }}%
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="progress h-6px w-100">
|
||||
<div class="progress-bar bg-{{ $row['progress']['color'] }}" role="progressbar" style="width: {{ $row['progress']['value'] }}%" aria-valuenow="{{ $row['progress']['value'] }}" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-sm btn-icon btn-bg-light btn-active-color-primary">
|
||||
{!! theme()->getSvgIcon("icons/duotune/arrows/arr064.svg", "svg-icon-2"); !!}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Table container-->
|
||||
</div>
|
||||
</div>
|
||||
<!--endW::Tables Widget 1-->
|
155
resources/views/partials/widgets/tables/_widget-10.blade.php
Normal file
155
resources/views/partials/widgets/tables/_widget-10.blade.php
Normal file
|
@ -0,0 +1,155 @@
|
|||
<?php
|
||||
// Table rows
|
||||
$tableRows = array(
|
||||
array(
|
||||
'price' => '$560,000',
|
||||
'technologies' => 'Laravel, Metronic',
|
||||
'status' => array(
|
||||
'label' => 'Approved',
|
||||
'color' => 'success'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'price' => '$2,000,000',
|
||||
'technologies' => 'ReactJs, HTML',
|
||||
'status' => array(
|
||||
'label' => 'In Progress',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'price' => '$760,000',
|
||||
'technologies' => 'Python, MySQL',
|
||||
'status' => array(
|
||||
'label' => 'Success',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'price' => '$257,000',
|
||||
'technologies' => 'ReactJS, Ruby',
|
||||
'status' => array(
|
||||
'label' => 'Rejected',
|
||||
'color' => 'info'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'price' => '$560,000',
|
||||
'technologies' => 'AngularJS, C#',
|
||||
'status' => array(
|
||||
'label' => 'In Progress',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
);
|
||||
?>
|
||||
|
||||
<!--begin::Tables Widget 10-->
|
||||
<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">New Products</span>
|
||||
|
||||
<span class="text-muted mt-1 fw-bold fs-7">Over 500 new products</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-2') }}
|
||||
<!--end::Menu-->
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
|
||||
<!--begin::Body-->
|
||||
<div class="card-body pt-3">
|
||||
<!--begin::Table container-->
|
||||
<div class="table-responsive">
|
||||
<!--begin::Table-->
|
||||
<table class="table table-row-dashed table-row-gray-300 align-middle gs-0 gy-4">
|
||||
<!--begin::Table head-->
|
||||
<thead>
|
||||
<tr class="border-0">
|
||||
<th class="p-0 "></th>
|
||||
<th class="p-0 min-w-150px"></th>
|
||||
<th class="p-0 min-w-200px"></th>
|
||||
<th class="p-0 min-w-150px"></th>
|
||||
<th class="p-0 min-w-100px text-end"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!--end::Table head-->
|
||||
|
||||
<!--begin::Table body-->
|
||||
<tbody>
|
||||
@foreach($tableRows as $index => $row)
|
||||
<?php
|
||||
$user = \App\Core\Data::getSampleUserInfo($index);
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="d-flex align-items-center">
|
||||
<!--begin::Avatar-->
|
||||
<div class="symbol symbol-45px me-5">
|
||||
@if (isset($user['avatar']))
|
||||
<img alt="Pic" src="{{ asset(theme()->getMediaUrlPath() . $user['avatar']) }}" />
|
||||
@else
|
||||
<span class="symbol-label bg-light-{{ $user['initials']['state'] }} text-{{ $user['initials']['state'] }} fw-bolder">
|
||||
{{ $user['initials']['label'] }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<!--end::Avatar-->
|
||||
|
||||
<!--begin::Name-->
|
||||
<div class="d-flex justify-content-start flex-column">
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">{{ $user['name'] }}</a>
|
||||
|
||||
<a href="#" class="text-muted text-hover-primary fw-bold text-muted d-block fs-7">
|
||||
<span class="text-dark">Email</span>: {{ $user['email'] }}
|
||||
</a>
|
||||
</div>
|
||||
<!--end::Name-->
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td class="text-end">
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block mb-1 fs-6">{{ $row['price'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">Paid</span>
|
||||
</td>
|
||||
|
||||
<td class="text-muted fw-bold text-end">
|
||||
{{ $row['technologies'] }}
|
||||
</td>
|
||||
|
||||
<td class="text-end">
|
||||
<span class="badge badge-light-{{ $row['status']['color'] }}">{{ $row['status']['label'] }}</span>
|
||||
</td>
|
||||
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm me-1">
|
||||
{!! theme()->getSvgIcon("icons/duotune/general/gen019.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm me-1">
|
||||
{!! theme()->getSvgIcon("icons/duotune/art/art005.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm">
|
||||
{!! theme()->getSvgIcon("icons/duotune/general/gen027.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Table container-->
|
||||
</div>
|
||||
<!--begin::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 10-->
|
189
resources/views/partials/widgets/tables/_widget-11.blade.php
Normal file
189
resources/views/partials/widgets/tables/_widget-11.blade.php
Normal file
|
@ -0,0 +1,189 @@
|
|||
<?php
|
||||
// Table rows
|
||||
$tableRows = array(
|
||||
array(
|
||||
'product' => array(
|
||||
'image' => 'stock/600x400/img-26.jpg',
|
||||
'name' => 'Sant Extreanet Solution',
|
||||
'specs' => 'HTML, JS, ReactJS'
|
||||
),
|
||||
'price' => '$2,790',
|
||||
'deposit' => '$520',
|
||||
'agent' => array(
|
||||
'name' => 'Bradly Beal',
|
||||
'position' => 'Insurance'
|
||||
),
|
||||
'status' => array(
|
||||
'label' => 'Approved',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'product' => array(
|
||||
'image' => 'stock/600x400/img-3.jpg',
|
||||
'name' => 'Telegram Development',
|
||||
'specs' => 'C#, ASP.NET, MS SQL'
|
||||
),
|
||||
'price' => '$4,790',
|
||||
'deposit' => '$240',
|
||||
'agent' => array(
|
||||
'name' => 'Chris Thompson',
|
||||
'position' => 'NBA Player'
|
||||
),
|
||||
'status' => array(
|
||||
'label' => 'In Progress',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'product' => array(
|
||||
'image' => 'stock/600x400/img-9.jpg',
|
||||
'name' => 'Payroll Application',
|
||||
'specs' => 'PHP, Laravel, VueJS'
|
||||
),
|
||||
'price' => '$4,390',
|
||||
'deposit' => '$593',
|
||||
'agent' => array(
|
||||
'name' => 'Zoey McGee',
|
||||
'position' => 'Ruby Developer'
|
||||
),
|
||||
'status' => array(
|
||||
'label' => 'Success',
|
||||
'color' => 'success'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'product' => array(
|
||||
'image' => 'stock/600x400/img-18.jpg',
|
||||
'name' => 'HR Management System',
|
||||
'specs' => 'Python, PostgreSQL, ReactJS'
|
||||
),
|
||||
'price' => '$7,990',
|
||||
'deposit' => '$980',
|
||||
'agent' => array(
|
||||
'name' => 'Brandon Ingram',
|
||||
'position' => 'Insurance'
|
||||
),
|
||||
'status' => array(
|
||||
'label' => 'Rejected',
|
||||
'color' => 'info'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'product' => array(
|
||||
'image' => 'stock/600x400/img-8.jpg',
|
||||
'name' => 'Telegram Mobile',
|
||||
'specs' => 'HTML, JS, ReactJS'
|
||||
),
|
||||
'price' => '$5,790',
|
||||
'deposit' => '$750',
|
||||
'agent' => array(
|
||||
'name' => 'Natali Trump',
|
||||
'position' => 'Insurance'
|
||||
),
|
||||
'status' => array(
|
||||
'label' => 'Approved',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
);
|
||||
?>
|
||||
|
||||
<!--begin::Tables Widget 11-->
|
||||
<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">New Arrivals</span>
|
||||
|
||||
<span class="text-muted mt-1 fw-bold fs-7">Over 500 new products</span>
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<a href="#" class="btn btn-sm btn-light-primary">
|
||||
{!! theme()->getSvgIcon("icons/duotune/arrows/arr075.svg", "svg-icon-2") !!}
|
||||
New Member
|
||||
</a>
|
||||
</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-4">
|
||||
<!--begin::Table head-->
|
||||
<thead>
|
||||
<tr class="fw-bolder text-muted bg-light">
|
||||
<th class="ps-4 min-w-325px rounded-start">Product</th>
|
||||
<th class="min-w-125px">Price</th>
|
||||
<th class="min-w-125px">Deposit</th>
|
||||
<th class="min-w-200px">Agent</th>
|
||||
<th class="min-w-150px">Status</th>
|
||||
<th class="min-w-200px text-end rounded-end"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!--end::Table head-->
|
||||
|
||||
<!--begin::Table body-->
|
||||
<tbody>
|
||||
@foreach($tableRows as $row)
|
||||
<tr>
|
||||
<td>
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="symbol symbol-50px me-5">
|
||||
<img src="{{ asset(theme()->getMediaUrlPath() . $row['product']['image']) }}" class="" alt=""/>
|
||||
</div>
|
||||
|
||||
<div class="d-flex justify-content-start flex-column">
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">{{ $row['product']['name'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">{{ $row['product']['specs'] }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block mb-1 fs-6">{{ $row['price'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">Paid</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block mb-1 fs-6">{{ $row['deposit'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">Rejected</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block mb-1 fs-6">{{ $row['agent']['name'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">{{ $row['agent']['position'] }}</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<span class="badge badge-light-{{ $row['status']['color'] }} fs-7 fw-bold">{{ $row['status']['label'] }}</span>
|
||||
</td>
|
||||
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm me-1">
|
||||
{!! theme()->getSvgIcon("icons/duotune/general/gen019.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm me-1">
|
||||
{!! theme()->getSvgIcon("icons/duotune/art/art005.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm">
|
||||
{!! theme()->getSvgIcon("icons/duotune/general/gen027.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Table container-->
|
||||
</div>
|
||||
<!--begin::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 11-->
|
227
resources/views/partials/widgets/tables/_widget-12.blade.php
Normal file
227
resources/views/partials/widgets/tables/_widget-12.blade.php
Normal file
|
@ -0,0 +1,227 @@
|
|||
<?php
|
||||
// Table rows
|
||||
$tableRows = array(
|
||||
array(
|
||||
'agent' => array(
|
||||
'image' => 'svg/avatars/001-boy.svg',
|
||||
'name' => 'Brad Simmons',
|
||||
'skills' => 'HTML, JS, ReactJS'
|
||||
),
|
||||
'earnings' => array(
|
||||
'value' => '$8,000,000',
|
||||
'remarks' => 'Pending'
|
||||
),
|
||||
'comission' => array(
|
||||
'value' => '$5,400',
|
||||
'remarks' => 'Paid'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'Intertico',
|
||||
'fields' => 'Web, UI/UX Design'
|
||||
),
|
||||
'rating' => array(
|
||||
'value' => 5,
|
||||
'remarks' => 'Best Rated'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'agent' => array(
|
||||
'image' => 'svg/avatars/047-girl-25.svg',
|
||||
'name' => 'Lebron Wayde',
|
||||
'skills' => 'PHP, Laravel, VueJS'
|
||||
),
|
||||
'earnings' => array(
|
||||
'value' => '$8,750,000',
|
||||
'remarks' => 'Paid'
|
||||
),
|
||||
'comission' => array(
|
||||
'value' => '$7,400',
|
||||
'remarks' => 'Paid'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'Agoda',
|
||||
'fields' => 'Houses & Hotels'
|
||||
),
|
||||
'rating' => array(
|
||||
'value' => 4,
|
||||
'remarks' => 'Above Avarage'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'agent' => array(
|
||||
'image' => 'svg/avatars/006-girl-3.svg',
|
||||
'name' => 'Brad Simmons',
|
||||
'skills' => 'HTML, JS, ReactJS'
|
||||
),
|
||||
'earnings' => array(
|
||||
'value' => '$8,000,000',
|
||||
'remarks' => 'In Proccess'
|
||||
),
|
||||
'comission' => array(
|
||||
'value' => '$2,500',
|
||||
'remarks' => 'Rejected'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'RoadGee',
|
||||
'fields' => 'Paid'
|
||||
),
|
||||
'rating' => array(
|
||||
'value' => 5,
|
||||
'remarks' => 'Best Rated'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'agent' => array(
|
||||
'image' => 'svg/avatars/014-girl-7.svg',
|
||||
'name' => 'Natali Trump',
|
||||
'skills' => 'HTML, JS, ReactJS'
|
||||
),
|
||||
'earnings' => array(
|
||||
'value' => '$700,000',
|
||||
'remarks' => 'Pending'
|
||||
),
|
||||
'comission' => array(
|
||||
'value' => '$7,760',
|
||||
'remarks' => 'Paid'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'The Hill',
|
||||
'fields' => 'Insurance'
|
||||
),
|
||||
'rating' => array(
|
||||
'value' => 3,
|
||||
'remarks' => 'Avarage'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'agent' => array(
|
||||
'image' => 'svg/avatars/020-girl-11.svg',
|
||||
'name' => ' Jessie Clarcson',
|
||||
'skills' => 'HTML, JS, ReactJS'
|
||||
),
|
||||
'earnings' => array(
|
||||
'value' => '$1,320,000',
|
||||
'remarks' => 'Pending'
|
||||
),
|
||||
'comission' => array(
|
||||
'value' => '$6,250',
|
||||
'remarks' => 'Paid'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'Intertico',
|
||||
'fields' => 'Web, UI/UX Design'
|
||||
),
|
||||
'rating' => array(
|
||||
'value' => 5,
|
||||
'remarks' => 'Best Rated'
|
||||
)
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
||||
<!--begin::Tables Widget 12-->
|
||||
<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">Member Statistics</span>
|
||||
|
||||
<span class="text-muted mt-1 fw-bold fs-7">Over 500 new members</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-2') }}
|
||||
<!--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-4">
|
||||
<!--begin::Table head-->
|
||||
<thead>
|
||||
<tr class="fw-bolder text-muted bg-light">
|
||||
<th class="ps-4 min-w-300px rounded-start">Agent</th>
|
||||
<th class="min-w-125px">Earnings</th>
|
||||
<th class="min-w-125px">Comission</th>
|
||||
<th class="min-w-200px">Company</th>
|
||||
<th class="min-w-150px">Rating</th>
|
||||
<th class="min-w-200px text-end rounded-end"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!--end::Table head-->
|
||||
|
||||
<!--begin::Table body-->
|
||||
<tbody>
|
||||
@foreach($tableRows as $row)
|
||||
<tr>
|
||||
<td>
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="symbol symbol-50px me-5">
|
||||
<span class="symbol-label bg-light">
|
||||
<img src="{{ asset(theme()->getMediaUrlPath() . $row['agent']['image']) }}" class="h-75 align-self-end" alt=""/>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="d-flex justify-content-start flex-column">
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">{{ $row['agent']['name'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">{{ $row['agent']['skills'] }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block mb-1 fs-6">{{ $row['earnings']['value'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">{{ $row['earnings']['remarks'] }}</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block mb-1 fs-6">{{ $row['comission']['value'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">{{ $row['comission']['remarks'] }}</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block mb-1 fs-6">{{ $row['company']['name'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">{{ $row['company']['fields'] }}</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<div class="rating">
|
||||
<?php for($i = 1; $i <= 5; $i++):?>
|
||||
<div class="rating-label me-2 <?php echo ($row["rating"]['value'] >= $i ? 'checked' : '')?>">
|
||||
<i class="bi bi-star-fill fs-5"></i>
|
||||
</div>
|
||||
<?php endfor?>
|
||||
</div>
|
||||
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7 mt-1">{{ $row['rating']['remarks'] }}</span>
|
||||
</td>
|
||||
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-bg-light btn-color-muted btn-active-color-primary btn-sm px-4 me-2">
|
||||
View
|
||||
</a>
|
||||
|
||||
<a href="#" class="btn btn-bg-light btn-color-muted btn-active-color-primary btn-sm px-4">
|
||||
Edit
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Table container-->
|
||||
</div>
|
||||
<!--begin::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 12-->
|
233
resources/views/partials/widgets/tables/_widget-13.blade.php
Normal file
233
resources/views/partials/widgets/tables/_widget-13.blade.php
Normal file
|
@ -0,0 +1,233 @@
|
|||
<?php
|
||||
// Table rows
|
||||
$tableRows = array(
|
||||
array(
|
||||
'orderid' => '56037-XDER',
|
||||
'country' => array(
|
||||
'name' => 'Brasil',
|
||||
'code' => 'PH'
|
||||
),
|
||||
'date' => array(
|
||||
'value' => '05/28/2020',
|
||||
'remarks' => 'Paid'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '50',
|
||||
'color' => 'primary'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'Intertico',
|
||||
'fields' => 'Web, UI/UX Design'
|
||||
),
|
||||
'status' => array(
|
||||
'label' => 'Approved',
|
||||
'color' => 'success'
|
||||
),
|
||||
'total' => '$3560'
|
||||
),
|
||||
array(
|
||||
'orderid' => '05822-FXSP',
|
||||
'country' => array(
|
||||
'name' => 'Belarus',
|
||||
'code' => 'BY'
|
||||
),
|
||||
'date' => array(
|
||||
'value' => '04/18/2021',
|
||||
'remarks' => 'Paid'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '50',
|
||||
'color' => 'primary'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'Agoda',
|
||||
'fields' => 'Houses & Hotels'
|
||||
),
|
||||
'status' => array(
|
||||
'label' => 'In Progress',
|
||||
'color' => 'warning'
|
||||
),
|
||||
'total' => '$4850'
|
||||
),
|
||||
array(
|
||||
'orderid' => '4472-QREX',
|
||||
'country' => array(
|
||||
'name' => 'Phillipines',
|
||||
'code' => 'BH'
|
||||
),
|
||||
'date' => array(
|
||||
'value' => '07/23/2019',
|
||||
'remarks' => 'Paid'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '50',
|
||||
'color' => 'primary'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'RoadGee',
|
||||
'fields' => 'Transportation'
|
||||
),
|
||||
'status' => array(
|
||||
'label' => 'Success',
|
||||
'color' => 'danger'
|
||||
),
|
||||
'total' => '$8376'
|
||||
),
|
||||
array(
|
||||
'orderid' => '00347-BCLQ',
|
||||
'country' => array(
|
||||
'name' => 'Argentina',
|
||||
'code' => 'BR'
|
||||
),
|
||||
'date' => array(
|
||||
'value' => '12/21/2021',
|
||||
'remarks' => 'Paid'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '50',
|
||||
'color' => 'primary'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'The Hill',
|
||||
'fields' => 'Insurance'
|
||||
),
|
||||
'status' => array(
|
||||
'label' => 'Rejected',
|
||||
'color' => 'info'
|
||||
),
|
||||
'total' => '$9486'
|
||||
),
|
||||
array(
|
||||
'orderid' => '59486-XDER',
|
||||
'country' => array(
|
||||
'name' => 'Agoda',
|
||||
'code' => 'BT'
|
||||
),
|
||||
'date' => array(
|
||||
'value' => '05/28/2020',
|
||||
'remarks' => 'Paid'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '50',
|
||||
'color' => 'primary'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'Phillipines',
|
||||
'fields' => 'Transportation'
|
||||
),
|
||||
'status' => array(
|
||||
'label' => 'Approved',
|
||||
'color' => 'primary'
|
||||
),
|
||||
'total' => '$8476'
|
||||
),
|
||||
);
|
||||
?>
|
||||
|
||||
<!--begin::Tables Widget 13-->
|
||||
<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">Recent Orders</span>
|
||||
|
||||
<span class="text-muted mt-1 fw-bold fs-7">Over 500 orders</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-2') }}
|
||||
<!--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 table-row-bordered table-row-gray-100 align-middle gs-0 gy-3">
|
||||
<!--begin::Table head-->
|
||||
<thead>
|
||||
<tr class="fw-bolder text-muted">
|
||||
<th class="w-25px">
|
||||
<div class="form-check form-check-sm form-check-custom form-check-solid">
|
||||
<input class="form-check-input" type="checkbox" value="1" data-kt-check="true" data-kt-check-target=".widget-13-check"/>
|
||||
</div>
|
||||
</th>
|
||||
<th class="min-w-150px">Order Id</th>
|
||||
<th class="min-w-140px">Country</th>
|
||||
<th class="min-w-120px">Date</th>
|
||||
<th class="min-w-120px">Company</th>
|
||||
<th class="min-w-120px">Total</th>
|
||||
<th class="min-w-120px">Status</th>
|
||||
<th class="min-w-100px text-end">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!--end::Table head-->
|
||||
|
||||
<!--begin::Table body-->
|
||||
<tbody>
|
||||
@foreach($tableRows as $row)
|
||||
<tr>
|
||||
<td>
|
||||
<div class="form-check form-check-sm form-check-custom form-check-solid">
|
||||
<input class="form-check-input widget-13-check" type="checkbox" value="1"/>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary fs-6">{{ $row['orderid'] }}</a>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block mb-1 fs-6">{{ $row['country']['name'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">Code: {{ $row['country']['code'] }}</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block mb-1 fs-6">{{ $row['date']['value'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">Code: {{ $row['date']['remarks'] }}</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block mb-1 fs-6">{{ $row['company']['name'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">{{ $row['company']['fields'] }}</span>
|
||||
</td>
|
||||
|
||||
<td class="text-dark fw-bolder text-hover-primary fs-6">
|
||||
{{ $row['total'] }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<span class="badge badge-light-{{ $row['status']['color'] }}">{{ $row['status']['label'] }}</span>
|
||||
</td>
|
||||
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm me-1">
|
||||
{!! theme()->getSvgIcon("icons/duotune/general/gen019.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm me-1">
|
||||
{!! theme()->getSvgIcon("icons/duotune/art/art005.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm">
|
||||
{!! theme()->getSvgIcon("icons/duotune/general/gen027.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Table container-->
|
||||
</div>
|
||||
<!--begin::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 13-->
|
150
resources/views/partials/widgets/tables/_widget-2.blade.php
Normal file
150
resources/views/partials/widgets/tables/_widget-2.blade.php
Normal file
|
@ -0,0 +1,150 @@
|
|||
<?php
|
||||
// Table rows
|
||||
$tableRows = array(
|
||||
array(
|
||||
'image' => 'svg/brand-logos/plurk.svg',
|
||||
'info' => array(
|
||||
'title' => 'Top Authors',
|
||||
'description' => 'Successful Fellas'
|
||||
),
|
||||
'badges' => array(
|
||||
array('label' => 'Angular', 'color' => 'danger'),
|
||||
array('label' => 'PHP', 'color' => 'info')
|
||||
),
|
||||
'remarks' => '4600 Users'
|
||||
),
|
||||
|
||||
array(
|
||||
'image' => 'svg/brand-logos/telegram.svg',
|
||||
'info' => array(
|
||||
'title' => 'Popular Authors',
|
||||
'description' => 'Most Successful'
|
||||
),
|
||||
'badges' => array(
|
||||
array('label' => 'HTML', 'color' => 'danger'),
|
||||
array('label' => 'CSS', 'color' => 'info')
|
||||
),
|
||||
'remarks' => '7200 Users'
|
||||
),
|
||||
|
||||
array(
|
||||
'image' => 'svg/brand-logos/vimeo.svg',
|
||||
'info' => array(
|
||||
'title' => 'New Users',
|
||||
'description' => 'Awesome Users'
|
||||
),
|
||||
'badges' => array(
|
||||
array('label' => 'React', 'color' => 'danger'),
|
||||
array('label' => 'SASS', 'color' => 'info')
|
||||
),
|
||||
'remarks' => '890 Users'
|
||||
),
|
||||
|
||||
array(
|
||||
'image' => 'svg/brand-logos/bebo.svg',
|
||||
'info' => array(
|
||||
'title' => 'Active Customers',
|
||||
'description' => 'Best Customers'
|
||||
),
|
||||
'badges' => array(
|
||||
array('label' => 'Java', 'color' => 'danger'),
|
||||
array('label' => 'PHP', 'color' => 'info')
|
||||
),
|
||||
'remarks' => '6370 Users'
|
||||
),
|
||||
|
||||
array(
|
||||
'image' => 'svg/brand-logos/kickstarter.svg',
|
||||
'info' => array(
|
||||
'title' => 'Bestseller Theme',
|
||||
'description' => 'Amazing Templates'
|
||||
),
|
||||
'badges' => array(
|
||||
array('label' => 'Python', 'color' => 'danger'),
|
||||
array('label' => 'MySQL', 'color' => 'info')
|
||||
),
|
||||
'remarks' => '354 Users'
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
||||
<!--begin::Tables Widget 2-->
|
||||
<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">Latest Arrivals</span>
|
||||
|
||||
<span class="text-muted mt-1 fw-bold fs-7">More than 100 new products</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-1') }}
|
||||
<!--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-5">
|
||||
<!--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">
|
||||
<img src="{{ asset(theme()->getMediaUrlPath() . $row['image']) }}" class="h-50 align-self-center" alt=""/>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">{{ $row['info']['title'] }}</a>
|
||||
<span class="text-muted fw-bold d-block fs-7">{{ $row['info']['description'] }}</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
@foreach($row['badges'] as $badge)
|
||||
<span class="badge badge-light-{{ $badge['color'] }} fw-bold me-1">{{ $badge['label'] }}</span>
|
||||
@endforeach
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<span class="text-muted fw-bold">
|
||||
{{ $row['remarks'] }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-sm btn-icon btn-bg-light btn-active-color-primary">
|
||||
{!! theme()->getSvgIcon("icons/duotune/arrows/arr064.svg", "svg-icon-2"); !!}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Table container-->
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 2-->
|
126
resources/views/partials/widgets/tables/_widget-3.blade.php
Normal file
126
resources/views/partials/widgets/tables/_widget-3.blade.php
Normal file
|
@ -0,0 +1,126 @@
|
|||
<?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-->
|
217
resources/views/partials/widgets/tables/_widget-4.blade.php
Normal file
217
resources/views/partials/widgets/tables/_widget-4.blade.php
Normal file
|
@ -0,0 +1,217 @@
|
|||
<?php
|
||||
// Tab 1 table rows
|
||||
$tableRows = array(
|
||||
// Tab 1
|
||||
array(
|
||||
array(
|
||||
'image' => 'avatars/300-14.jpg',
|
||||
'user' => array(
|
||||
'name' => 'Brad Simmons',
|
||||
'position' => 'Movie Creator'
|
||||
),
|
||||
'rating' => 5
|
||||
),
|
||||
array(
|
||||
'image' => 'avatars/300-5.jpg',
|
||||
'user' => array(
|
||||
'name' => 'Jessie Clarcson',
|
||||
'position' => 'HTML, CSS Coding'
|
||||
),
|
||||
'rating' => 5
|
||||
),
|
||||
array(
|
||||
'image' => 'avatars/300-20.jpg',
|
||||
'user' => array(
|
||||
'name' => 'Lebron Wayde',
|
||||
'position' => 'ReactJS Developer'
|
||||
),
|
||||
'rating' => 4
|
||||
),
|
||||
array(
|
||||
'image' => 'avatars/300-23.jpg',
|
||||
'user' => array(
|
||||
'name' => 'Natali Trump',
|
||||
'position' => 'UI/UX Designer'
|
||||
),
|
||||
'rating' => 5
|
||||
),
|
||||
array(
|
||||
'image' => 'avatars/300-10.jpg',
|
||||
'user' => array(
|
||||
'name' => 'Kevin Leonard',
|
||||
'position' => 'Art Director'
|
||||
),
|
||||
'rating' => 3
|
||||
)
|
||||
),
|
||||
|
||||
// Tab 2
|
||||
array(
|
||||
array(
|
||||
'image' => 'svg/avatars/043-boy-18.svg',
|
||||
'user' => array(
|
||||
'name' => 'Kevin Leonard',
|
||||
'position' => 'Art Director'
|
||||
),
|
||||
'rating' => 3
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/014-girl-7.svg',
|
||||
'user' => array(
|
||||
'name' => 'Natali Trump',
|
||||
'position' => 'UI/UX Designer'
|
||||
),
|
||||
'rating' => 5
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/018-girl-9.svg',
|
||||
'user' => array(
|
||||
'name' => 'Jessie Clarcson',
|
||||
'position' => 'HTML, CSS Coding'
|
||||
),
|
||||
'rating' => 5
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/001-boy.svg',
|
||||
'user' => array(
|
||||
'name' => 'Brad Simmons',
|
||||
'position' => 'Movie Creator'
|
||||
),
|
||||
'rating' => 5
|
||||
),
|
||||
),
|
||||
|
||||
// Tab 3
|
||||
array(
|
||||
array(
|
||||
'image' => 'svg/avatars/018-girl-9.svg',
|
||||
'user' => array(
|
||||
'name' => 'Jessie Clarcson',
|
||||
'position' => 'HTML, CSS Coding'
|
||||
),
|
||||
'rating' => 5
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/047-girl-25.svg',
|
||||
'user' => array(
|
||||
'name' => 'Lebron Wayde',
|
||||
'position' => 'ReactJS Developer'
|
||||
),
|
||||
'rating' => 4
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/014-girl-7.svg',
|
||||
'user' => array(
|
||||
'name' => 'Natali Trump',
|
||||
'position' => 'UI/UX Designer'
|
||||
),
|
||||
'rating' => 5
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
$loopIndex = 0;
|
||||
?>
|
||||
|
||||
<!--begin::Tables Widget 4-->
|
||||
<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">New Members</span>
|
||||
|
||||
<span class="text-muted mt-1 fw-bold fs-7">More than 400 new members</span>
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<ul class="nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary active fw-bolder px-4 me-1" data-bs-toggle="tab" href="#kt_table_widget_4_tab_1">Month</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4 me-1" data-bs-toggle="tab" href="#kt_table_widget_4_tab_2">Week</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4" data-bs-toggle="tab" href="#kt_table_widget_4_tab_3">Day</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
|
||||
<!--begin::Body-->
|
||||
<div class="card-body py-3">
|
||||
<div class="tab-content">
|
||||
@foreach($tableRows as $tableRows)
|
||||
<?php
|
||||
$loopIndex++;
|
||||
$activeClass = $loopIndex === 1 ? 'show active' : '';
|
||||
?>
|
||||
|
||||
<!--begin::Tap pane-->
|
||||
<div class="tab-pane fade {{ $activeClass }}" id="kt_table_widget_4_tab_{{ $loopIndex }}">
|
||||
<!--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>
|
||||
</tr>
|
||||
</thead>
|
||||
<!--end::Table head-->
|
||||
|
||||
<!--begin::Table body-->
|
||||
<tbody>
|
||||
@foreach($tableRows as $row)
|
||||
<tr>
|
||||
<td>
|
||||
<div class="symbol symbol-50px">
|
||||
<img src="{{ asset(theme()->getMediaUrlPath() . $row['image']) }}" alt=""/>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">{{ $row['user']['name'] }}</a>
|
||||
<span class="text-muted fw-bold d-block fs-7">{{ $row['user']['position'] }}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted fw-bold d-block fs-7">
|
||||
Rating
|
||||
</span>
|
||||
|
||||
<div class="rating">
|
||||
<?php for($i = 1; $i <= 5; $i++):?>
|
||||
<div class="rating-label me-2 <?php echo ($row["rating"] >= $i ? 'checked' : '')?>">
|
||||
<i class="bi bi-star-fill fs-5"></i>
|
||||
</div>
|
||||
<?php endfor?>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-icon btn-light-twitter btn-sm me-3">
|
||||
<i class="bi bi-twitter fs-4"></i>
|
||||
</a>
|
||||
<a href="#" class="btn btn-icon btn-light-facebook btn-sm">
|
||||
<i class="bi bi-facebook fs-4"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
</div>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Tap pane-->
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 4-->
|
258
resources/views/partials/widgets/tables/_widget-5.blade.php
Normal file
258
resources/views/partials/widgets/tables/_widget-5.blade.php
Normal file
|
@ -0,0 +1,258 @@
|
|||
<?php
|
||||
// Table rows
|
||||
$tableRows = array(
|
||||
// Tab 1
|
||||
array(
|
||||
array(
|
||||
'image' => 'svg/brand-logos/plurk.svg',
|
||||
'info' => array(
|
||||
'title' => 'Brad Simmons',
|
||||
'description' => 'Movie Creator'
|
||||
),
|
||||
'technologies' => 'React, HTML',
|
||||
'status' => array(
|
||||
'label' => 'Approved',
|
||||
'color' => 'success'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/brand-logos/telegram.svg',
|
||||
'info' => array(
|
||||
'title' => 'Popular Authors',
|
||||
'description' => 'Most Successful'
|
||||
),
|
||||
'technologies' => 'Python, MySQL',
|
||||
'status' => array(
|
||||
'label' => 'In Progress',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/brand-logos/vimeo.svg',
|
||||
'info' => array(
|
||||
'title' => 'New Users',
|
||||
'description' => 'Awesome Users'
|
||||
),
|
||||
'technologies' => 'Laravel,Metronic',
|
||||
'status' => array(
|
||||
'label' => 'Success',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/brand-logos/bebo.svg',
|
||||
'info' => array(
|
||||
'title' => 'Active Customers',
|
||||
'description' => 'Movie Creator'
|
||||
),
|
||||
'technologies' => 'AngularJS, C#',
|
||||
'status' => array(
|
||||
'label' => 'Rejected',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/brand-logos/kickstarter.svg',
|
||||
'info' => array(
|
||||
'title' => 'Bestseller Theme',
|
||||
'description' => 'Best Customers'
|
||||
),
|
||||
'technologies' => 'ReactJS, Ruby ',
|
||||
'status' => array(
|
||||
'label' => 'In Progress',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
),
|
||||
|
||||
// Tab 2
|
||||
array(
|
||||
array(
|
||||
'image' => 'svg/brand-logos/plurk.svg',
|
||||
'info' => array(
|
||||
'title' => 'Brad Simmons',
|
||||
'description' => 'Movie Creator'
|
||||
),
|
||||
'technologies' => 'React, HTML',
|
||||
'status' => array(
|
||||
'label' => 'Approved',
|
||||
'color' => 'success'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/brand-logos/telegram.svg',
|
||||
'info' => array(
|
||||
'title' => 'Popular Authors',
|
||||
'description' => 'Most Successful'
|
||||
),
|
||||
'technologies' => 'Python, MySQL',
|
||||
'status' => array(
|
||||
'label' => 'In Progress',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/brand-logos/bebo.svg',
|
||||
'info' => array(
|
||||
'title' => 'Active Customers',
|
||||
'description' => 'Movie Creator'
|
||||
),
|
||||
'technologies' => 'AngularJS, C#',
|
||||
'status' => array(
|
||||
'label' => 'Rejected',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
),
|
||||
|
||||
// Tab 3
|
||||
array(
|
||||
array(
|
||||
'image' => 'svg/brand-logos/kickstarter.svg',
|
||||
'info' => array(
|
||||
'title' => 'Bestseller Theme',
|
||||
'description' => 'Best Customers'
|
||||
),
|
||||
'technologies' => 'ReactJS, Ruby ',
|
||||
'status' => array(
|
||||
'label' => 'In Progress',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/brand-logos/bebo.svg',
|
||||
'info' => array(
|
||||
'title' => 'Active Customers',
|
||||
'description' => 'Movie Creator'
|
||||
),
|
||||
'technologies' => 'AngularJS, C#',
|
||||
'status' => array(
|
||||
'label' => 'Rejected',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/brand-logos/vimeo.svg',
|
||||
'info' => array(
|
||||
'title' => 'New Users',
|
||||
'description' => 'Awesome Users'
|
||||
),
|
||||
'technologies' => 'Laravel,Metronic',
|
||||
'status' => array(
|
||||
'label' => 'Success',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/brand-logos/telegram.svg',
|
||||
'info' => array(
|
||||
'title' => 'Popular Authors',
|
||||
'description' => 'Most Successful'
|
||||
),
|
||||
'technologies' => 'Python, MySQL',
|
||||
'status' => array(
|
||||
'label' => 'In Progress',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
$loopIndex = 0;
|
||||
?>
|
||||
|
||||
<!--begin::Tables Widget 5-->
|
||||
<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">Latest Products</span>
|
||||
|
||||
<span class="text-muted mt-1 fw-bold fs-7">More than 400 new products</span>
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<ul class="nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary active fw-bolder px-4 me-1" data-bs-toggle="tab" href="#kt_table_widget_5_tab_1">Month</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4 me-1" data-bs-toggle="tab" href="#kt_table_widget_5_tab_2">Week</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4" data-bs-toggle="tab" href="#kt_table_widget_5_tab_3">Day</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
|
||||
<!--begin::Body-->
|
||||
<div class="card-body py-3">
|
||||
<div class="tab-content">
|
||||
@foreach($tableRows as $tableRows)
|
||||
<?php
|
||||
$loopIndex++;
|
||||
$activeClass = $loopIndex === 1 ? 'show active' : '';
|
||||
?>
|
||||
|
||||
<!--begin::Tap pane-->
|
||||
<div class="tab-pane fade {{ $activeClass }}" id="kt_table_widget_5_tab_{{ $loopIndex }}">
|
||||
<!--begin::Table container-->
|
||||
<div class="table-responsive">
|
||||
<!--begin::Table-->
|
||||
<table class="table table-row-dashed table-row-gray-200 align-middle gs-0 gy-4">
|
||||
<!--begin::Table head-->
|
||||
<thead>
|
||||
<tr class="border-0">
|
||||
<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-110px"></th>
|
||||
<th class="p-0 min-w-50px"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!--end::Table head-->
|
||||
|
||||
<!--begin::Table body-->
|
||||
<tbody>
|
||||
@foreach($tableRows as $row)
|
||||
<tr>
|
||||
<td>
|
||||
<div class="symbol symbol-45px me-2">
|
||||
<span class="symbol-label">
|
||||
<img src="{{ asset(theme()->getMediaUrlPath() . $row['image']) }}" class="h-50 align-self-center" alt=""/>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">{{ $row['info']['title'] }}</a>
|
||||
<span class="text-muted fw-bold d-block">{{ $row['info']['description'] }}</span>
|
||||
</td>
|
||||
<td class="text-end text-muted fw-bold">
|
||||
{{ $row['technologies'] }}
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<span class="badge badge-light-{{ $row['status']['color'] }}">{{ $row['status']['label'] }}</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-sm btn-icon btn-bg-light btn-active-color-primary">
|
||||
{!! theme()->getSvgIcon("icons/duotune/arrows/arr064.svg", "svg-icon-2"); !!}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
</div>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Tap pane-->
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 5-->
|
257
resources/views/partials/widgets/tables/_widget-6.blade.php
Normal file
257
resources/views/partials/widgets/tables/_widget-6.blade.php
Normal file
|
@ -0,0 +1,257 @@
|
|||
<?php
|
||||
// Tab 1 table rows
|
||||
$tableRows = array(
|
||||
// Tab 1
|
||||
array(
|
||||
array(
|
||||
'image' => 'svg/avatars/001-boy.svg',
|
||||
'user' => array(
|
||||
'name' => 'Brad Simmons',
|
||||
'position' => 'Successful Fellas'
|
||||
),
|
||||
'paid' => '$200,500',
|
||||
'progress' => array(
|
||||
'value' => '+28%',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/018-girl-9.svg',
|
||||
'user' => array(
|
||||
'name' => 'Jessie Clarcson',
|
||||
'position' => 'HTML, CSS Coding'
|
||||
),
|
||||
'paid' => '$1,200,000',
|
||||
'progress' => array(
|
||||
'value' => '+52%',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/047-girl-25.svg',
|
||||
'user' => array(
|
||||
'name' => 'Jessie Clarcson',
|
||||
'position' => 'PHP, Laravel, VueJS'
|
||||
),
|
||||
'paid' => '$1,200,000',
|
||||
'progress' => array(
|
||||
'value' => '+52%',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/014-girl-7.svg',
|
||||
'user' => array(
|
||||
'name' => 'Natali Trump',
|
||||
'position' => 'UI/UX Designer'
|
||||
),
|
||||
'paid' => '$3,400,000',
|
||||
'progress' => array(
|
||||
'value' => '-34%',
|
||||
'color' => 'success'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/043-boy-18.svg',
|
||||
'user' => array(
|
||||
'name' => 'Kevin Leonard',
|
||||
'position' => 'Art Director'
|
||||
),
|
||||
'paid' => '$35,600,000',
|
||||
'progress' => array(
|
||||
'value' => '+230%',
|
||||
'color' => 'info'
|
||||
)
|
||||
),
|
||||
),
|
||||
|
||||
// Tab 2
|
||||
array(
|
||||
array(
|
||||
'image' => 'svg/avatars/018-girl-9.svg',
|
||||
'user' => array(
|
||||
'name' => 'Jessie Clarcson',
|
||||
'position' => 'HTML, CSS Coding'
|
||||
),
|
||||
'paid' => '$1,200,000',
|
||||
'progress' => array(
|
||||
'value' => '+52%',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/014-girl-7.svg',
|
||||
'user' => array(
|
||||
'name' => 'Natali Trump',
|
||||
'position' => 'UI/UX Designer'
|
||||
),
|
||||
'paid' => '$3,400,000',
|
||||
'progress' => array(
|
||||
'value' => '-34%',
|
||||
'color' => 'success'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/001-boy.svg',
|
||||
'user' => array(
|
||||
'name' => 'Brad Simmons',
|
||||
'position' => 'Successful Fellas'
|
||||
),
|
||||
'paid' => '$200,500',
|
||||
'progress' => array(
|
||||
'value' => '+28%',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
),
|
||||
|
||||
// Tab 3
|
||||
array(
|
||||
array(
|
||||
'image' => 'svg/avatars/047-girl-25.svg',
|
||||
'user' => array(
|
||||
'name' => 'Jessie Clarcson',
|
||||
'position' => 'HTML, CSS Coding'
|
||||
),
|
||||
'paid' => '$1,200,000',
|
||||
'progress' => array(
|
||||
'value' => '+52%',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/014-girl-7.svg',
|
||||
'user' => array(
|
||||
'name' => 'Natali Trump',
|
||||
'position' => 'UI/UX Designer'
|
||||
),
|
||||
'paid' => '$3,400,000',
|
||||
'progress' => array(
|
||||
'value' => '-34%',
|
||||
'color' => 'success'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/043-boy-18.svg',
|
||||
'user' => array(
|
||||
'name' => 'Kevin Leonard',
|
||||
'position' => 'Art Director'
|
||||
),
|
||||
'paid' => '$35,600,000',
|
||||
'progress' => array(
|
||||
'value' => '+230%',
|
||||
'color' => 'info'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'image' => 'svg/avatars/001-boy.svg',
|
||||
'user' => array(
|
||||
'name' => 'Brad Simmons',
|
||||
'position' => 'Successful Fellas'
|
||||
),
|
||||
'paid' => '$200,500',
|
||||
'progress' => array(
|
||||
'value' => '+28%',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
$loopIndex = 0;
|
||||
?>
|
||||
|
||||
<!--begin::Table Widget 6-->
|
||||
<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">Authors Earnings</span>
|
||||
<span class="text-muted mt-1 fw-bold fs-7">More than 400 new authors</span>
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<ul class="nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary active fw-bolder px-4 me-1" data-bs-toggle="tab" href="#kt_table_widget_6_tab_1">Month</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4 me-1" data-bs-toggle="tab" href="#kt_table_widget_6_tab_2">Week</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4" data-bs-toggle="tab" href="#kt_table_widget_6_tab_3">Day</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
|
||||
<!--begin::Body-->
|
||||
<div class="card-body py-3">
|
||||
<div class="tab-content">
|
||||
@foreach($tableRows as $tableRows)
|
||||
<?php
|
||||
$loopIndex++;
|
||||
$activeClass = $loopIndex === 1 ? 'show active' : '';
|
||||
?>
|
||||
|
||||
<!--begin::Tap pane-->
|
||||
<div class="tab-pane fade {{ $activeClass }}" id="kt_table_widget_6_tab_{{ $loopIndex }}">
|
||||
<!--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>
|
||||
</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">
|
||||
<img src="{{ asset(theme()->getMediaUrlPath() . $row['image']) }}" class="h-75 align-self-end" alt=""/>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">{{ $row['user']['name'] }}</a>
|
||||
<span class="text-muted fw-bold d-block">{{ $row['user']['position'] }}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted fw-bold d-block fs-7">Paid</span>
|
||||
<span class="text-dark fw-bolder d-block fs-5">{{ $row['paid'] }}</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<span class="text-{{ $row['progress']['color'] }} fs-7 fw-bolder">{{ $row['progress']['value'] }}</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-sm btn-icon btn-bg-light btn-active-color-primary">
|
||||
{!! theme()->getSvgIcon("icons/duotune/arrows/arr064.svg", "svg-icon-2"); !!}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
</div>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Tap pane-->
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 6-->
|
295
resources/views/partials/widgets/tables/_widget-7.blade.php
Normal file
295
resources/views/partials/widgets/tables/_widget-7.blade.php
Normal file
|
@ -0,0 +1,295 @@
|
|||
<?php
|
||||
// Tab 1 table rows
|
||||
$tableRows = array(
|
||||
// Tab 1
|
||||
array(
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/coding/cod002.svg',
|
||||
'color' => 'success'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Media Device',
|
||||
'description' => 'Voice and video recorder'
|
||||
),
|
||||
'date' => '5 day ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'success'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/general/gen024.svg',
|
||||
'color' => 'danger'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Special Meal',
|
||||
'description' => 'Quona Rice'
|
||||
),
|
||||
'date' => '2 day ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/maps/map004.svg',
|
||||
'color' => 'primary'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'New Users',
|
||||
'description' => 'Awesome Users'
|
||||
),
|
||||
'date' => '4 day ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/abstract/abs027.svg',
|
||||
'color' => 'warning'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Active Customers',
|
||||
'description' => 'Best Customers'
|
||||
),
|
||||
'date' => '1 day ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/art/art007.svg',
|
||||
'color' => 'info'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Strawberry Boxes',
|
||||
'description' => 'From Spain'
|
||||
),
|
||||
'date' => '7 day ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'info'
|
||||
)
|
||||
),
|
||||
),
|
||||
|
||||
// Tab 2
|
||||
array(
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/abstract/abs042.svg',
|
||||
'color' => 'info'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Strawberry Boxes',
|
||||
'description' => 'From Spain'
|
||||
),
|
||||
'date' => '4 week ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'info'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/general/gen024.svg',
|
||||
'color' => 'danger'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Special Meal',
|
||||
'description' => 'Quona Rice'
|
||||
),
|
||||
'date' => '2 week ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/abstract/abs027.svg',
|
||||
'color' => 'warning'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Active Customers',
|
||||
'description' => 'Best Customers'
|
||||
),
|
||||
'date' => '5 week ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
),
|
||||
|
||||
// Tab 3
|
||||
array(
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/ecommerce/ecm002.svg',
|
||||
'color' => 'success'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Media Device',
|
||||
'description' => 'Voice and video recorder'
|
||||
),
|
||||
'date' => '3 month ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'success'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/general/gen024.svg',
|
||||
'color' => 'danger'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Special Meal',
|
||||
'description' => 'Quona Rice'
|
||||
),
|
||||
'date' => '5 month ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/abstract/abs027.svg',
|
||||
'color' => 'warning'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Active Customers',
|
||||
'description' => 'Best Customers'
|
||||
),
|
||||
'date' => '6 month ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/abstract/abs042.svg',
|
||||
'color' => 'info'
|
||||
),
|
||||
'info' => array(
|
||||
'title' => 'Strawberry Boxes',
|
||||
'description' => 'From Spain'
|
||||
),
|
||||
'date' => '4 month ago',
|
||||
'badge' => array(
|
||||
'label' => 'Delivered',
|
||||
'color' => 'info'
|
||||
)
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
$loopIndex = 0;
|
||||
?>
|
||||
|
||||
<!--begin::Table Widget 7-->
|
||||
<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">Latest Orders</span>
|
||||
|
||||
<span class="text-muted mt-1 fw-bold fs-7">More than 100 new orders</span>
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<ul class="nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary active fw-bolder px-4 me-1" data-bs-toggle="tab" href="#kt_table_widget_7_tab_1">Month</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4 me-1" data-bs-toggle="tab" href="#kt_table_widget_7_tab_2">Week</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4" data-bs-toggle="tab" href="#kt_table_widget_7_tab_3">Day</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
|
||||
<!--begin::Body-->
|
||||
<div class="card-body py-3">
|
||||
<div class="tab-content">
|
||||
@foreach($tableRows as $tableRows)
|
||||
<?php
|
||||
$loopIndex++;
|
||||
$activeClass = $loopIndex === 1 ? 'show active' : '';
|
||||
?>
|
||||
|
||||
<!--begin::Tap pane-->
|
||||
<div class="tab-pane fade {{ $activeClass }}" id="kt_table_widget_7_tab_{{ $loopIndex }}">
|
||||
<!--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>
|
||||
</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['icon']['color'] }}">
|
||||
{!! theme()->getSvgIcon($row['icon']['file'], "svg-icon-2x svg-icon-" . $row['icon']['color']); !!}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">{{ $row['info']['title'] }}</a>
|
||||
<span class="text-muted fw-bold d-block fs-7">{{ $row['info']['description'] }}</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<span class="text-muted fw-bold d-block fs-8">Ordered</span>
|
||||
|
||||
<span class="text-dark fw-bolder d-block fs-7">{{ $row['date'] }}</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<span class="badge badge-light-{{ $row['badge']['color'] }} fs-7 fw-bolder">{{ $row['badge']['label'] }}</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-sm btn-icon btn-bg-light btn-active-color-primary">
|
||||
<i class="bi bi-three-dots fs-5"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
</div>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Tap pane-->
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 7-->
|
242
resources/views/partials/widgets/tables/_widget-8.blade.php
Normal file
242
resources/views/partials/widgets/tables/_widget-8.blade.php
Normal file
|
@ -0,0 +1,242 @@
|
|||
<?php
|
||||
// Tab 1 table rows
|
||||
$tableRows = array(
|
||||
// Tab 1
|
||||
array(
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/coding/cod002.svg',
|
||||
'color' => 'danger'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'School Music Festival',
|
||||
'user' => 'by Rose Liam'
|
||||
),
|
||||
'date' => '4:20PM, 03 Sep'
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/general/gen024.svg',
|
||||
'color' => 'warning'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'Maths Championship',
|
||||
'user' => 'By Tom Gere'
|
||||
),
|
||||
'date' => '10:05PM, 25 Oct'
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/maps/map004.svg',
|
||||
'color' => 'info'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'Who Knows Geography',
|
||||
'user' => 'By Zoey Dylan'
|
||||
),
|
||||
'date' => '3:22PM, 07 Sep'
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/abstract/abs027.svg',
|
||||
'color' => 'primary'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'Napoleon Days',
|
||||
'user' => 'By Luke Owen'
|
||||
),
|
||||
'date' => '1:20PM, 02 Dec'
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/art/art007.svg',
|
||||
'color' => 'success'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'The School Art Leads',
|
||||
'user' => 'By Ellie Cole'
|
||||
),
|
||||
'date' => '6:20PM, 07 Sep'
|
||||
),
|
||||
),
|
||||
|
||||
// Tab 2
|
||||
array(
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/maps/map004.svg',
|
||||
'color' => 'info'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'Who Knows Geography',
|
||||
'user' => 'By Zoey Dylan'
|
||||
),
|
||||
'date' => '3:22PM, 07 Sep'
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/general/gen024.svg',
|
||||
'color' => 'warning'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'Maths Championship',
|
||||
'user' => 'By Tom Gere'
|
||||
),
|
||||
'date' => '10:05PM, 25 Oct'
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/coding/cod002.svg',
|
||||
'color' => 'danger'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'School Music Festival',
|
||||
'user' => 'by Rose Liam'
|
||||
),
|
||||
'date' => '4:20PM, 03 Sep'
|
||||
),
|
||||
),
|
||||
|
||||
// Tab 3
|
||||
array(
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/general/gen024.svg',
|
||||
'color' => 'warning'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'Maths Championship',
|
||||
'user' => 'By Tom Gere'
|
||||
),
|
||||
'date' => '10:05PM, 25 Oct'
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/maps/map004.svg',
|
||||
'color' => 'info'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'Who Knows Geography',
|
||||
'user' => 'By Zoey Dylan'
|
||||
),
|
||||
'date' => '3:22PM, 07 Sep'
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/abstract/abs027.svg',
|
||||
'color' => 'primary'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'Napoleon Days',
|
||||
'user' => 'By Luke Owen'
|
||||
),
|
||||
'date' => '1:20PM, 02 Dec'
|
||||
),
|
||||
array(
|
||||
'icon' => array(
|
||||
'file' => 'icons/duotune/coding/cod002.svg',
|
||||
'color' => 'danger'
|
||||
),
|
||||
'info' => array(
|
||||
'event' => 'School Music Festival',
|
||||
'user' => 'by Rose Liam'
|
||||
),
|
||||
'date' => '4:20PM, 03 Sep'
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
$loopIndex = 0;
|
||||
?>
|
||||
|
||||
<!--begin::Table Widget 8-->
|
||||
<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">Latest Products</span>
|
||||
<span class="text-muted mt-1 fw-bold fs-7">More than 100 new orders</span>
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<ul class="nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary active fw-bolder px-4 me-1" data-bs-toggle="tab" href="#kt_table_widget_8_tab_1">Month</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4 me-1" data-bs-toggle="tab" href="#kt_table_widget_8_tab_2">Week</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4" data-bs-toggle="tab" href="#kt_table_widget_8_tab_3">Day</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
|
||||
<!--begin::Body-->
|
||||
<div class="card-body py-3">
|
||||
<div class="tab-content">
|
||||
@foreach($tableRows as $tableRows)
|
||||
<?php
|
||||
$loopIndex++;
|
||||
$activeClass = $loopIndex === 1 ? 'show active' : '';
|
||||
?>
|
||||
|
||||
<!--begin::Tap pane-->
|
||||
<div class="tab-pane fade {{ $activeClass }}" id="kt_table_widget_8_tab_{{ $loopIndex }}">
|
||||
<!--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-120px"></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['icon']['color'] }}">
|
||||
{!! theme()->getSvgIcon($row['icon']['file'], "svg-icon-2x svg-icon-" . $row['icon']['color']); !!}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary mb-1 fs-6">{{ $row['info']['event'] }}</a>
|
||||
<span class="text-muted fw-bold d-block fs-7">{{ $row['info']['user'] }}</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<span class="text-dark fw-bolder d-block fs-7">{{ $row['date'] }}</span>
|
||||
|
||||
<span class="text-muted fw-bold d-block fs-8">Date</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-sm btn-icon btn-bg-light btn-active-color-primary">
|
||||
<i class="bi bi-three-dots fs-5"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
</div>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Tap pane-->
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 8-->
|
189
resources/views/partials/widgets/tables/_widget-9.blade.php
Normal file
189
resources/views/partials/widgets/tables/_widget-9.blade.php
Normal file
|
@ -0,0 +1,189 @@
|
|||
<?php
|
||||
// Table rows
|
||||
$tableRows = array(
|
||||
array(
|
||||
'user' => array(
|
||||
'image' => 'avatars/300-14.jpg',
|
||||
'name' => 'Ana Simmons',
|
||||
'skills' => 'HTML, JS, ReactJS'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'Intertico',
|
||||
'skills' => 'Web, UI/UX Design'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '50',
|
||||
'color' => 'primary'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'user' => array(
|
||||
'image' => 'avatars/300-2.jpg',
|
||||
'name' => 'Jessie Clarcson',
|
||||
'skills' => 'C#, ASP.NET, MS SQL'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'Agoda',
|
||||
'skills' => 'Houses & Hotels'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '70',
|
||||
'color' => 'danger'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'user' => array(
|
||||
'image' => 'avatars/300-5.jpg',
|
||||
'name' => 'Lebron Wayde',
|
||||
'skills' => 'PHP, Laravel, VueJS'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'RoadGee',
|
||||
'skills' => 'Transportation'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '60',
|
||||
'color' => 'success'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'user' => array(
|
||||
'image' => 'avatars/300-20.jpg',
|
||||
'name' => 'Natali Goodwin',
|
||||
'skills' => 'Python, PostgreSQL, ReactJS'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'The Hill',
|
||||
'skills' => 'Insurance'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '50',
|
||||
'color' => 'warning'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'user' => array(
|
||||
'image' => 'avatars/300-23.jpg',
|
||||
'name' => 'Kevin Leonard',
|
||||
'skills' => 'HTML, JS, ReactJS'
|
||||
),
|
||||
'company' => array(
|
||||
'name' => 'RoadGee',
|
||||
'skills' => 'Art Director'
|
||||
),
|
||||
'progress' => array(
|
||||
'value' => '90',
|
||||
'color' => 'info'
|
||||
)
|
||||
),
|
||||
);
|
||||
?>
|
||||
|
||||
<!--begin::Tables Widget 9-->
|
||||
<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">Members Statistics</span>
|
||||
|
||||
<span class="text-muted mt-1 fw-bold fs-7">Over 500 members</span>
|
||||
</h3>
|
||||
|
||||
<div class="card-toolbar" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-trigger="hover" title="Click to add a user">
|
||||
<a href="#" class="btn btn-sm btn-light-primary" data-bs-toggle="modal" data-bs-target="#kt_modal_invite_friends">
|
||||
{!! theme()->getSvgIcon("icons/duotune/arrows/arr075.svg", "svg-icon-3") !!}
|
||||
New Member
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
|
||||
<!--begin::Body-->
|
||||
<div class="card-body py-3">
|
||||
<!--begin::Table container-->
|
||||
<div class="table-responsive">
|
||||
<!--begin::Table-->
|
||||
<table class="table table-row-dashed table-row-gray-300 align-middle gs-0 gy-4">
|
||||
<!--begin::Table head-->
|
||||
<thead>
|
||||
<tr class="fw-bolder text-muted">
|
||||
<th class="w-25px">
|
||||
<div class="form-check form-check-sm form-check-custom form-check-solid">
|
||||
<input class="form-check-input" type="checkbox" value="1" data-kt-check="true" data-kt-check-target=".widget-9-check"/>
|
||||
</div>
|
||||
</th>
|
||||
<th class="min-w-150px">Authors</th>
|
||||
<th class="min-w-140px">Company</th>
|
||||
<th class="min-w-120px">Progress</th>
|
||||
<th class="min-w-100px text-end">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!--end::Table head-->
|
||||
|
||||
<!--begin::Table body-->
|
||||
<tbody>
|
||||
@foreach($tableRows as $row)
|
||||
<tr>
|
||||
<td>
|
||||
<div class="form-check form-check-sm form-check-custom form-check-solid">
|
||||
<input class="form-check-input widget-9-check" type="checkbox" value="1"/>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="symbol symbol-45px me-5">
|
||||
<img src="{{ asset(theme()->getMediaUrlPath() . $row['user']['image']) }}" alt=""/>
|
||||
</div>
|
||||
<div class="d-flex justify-content-start flex-column">
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary fs-6">{{ $row['user']['name'] }}</a>
|
||||
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">{{ $row['user']['skills'] }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-dark fw-bolder text-hover-primary d-block fs-6">{{ $row['company']['name'] }}</a>
|
||||
<span class="text-muted fw-bold text-muted d-block fs-7">{{ $row['company']['skills'] }}</span>
|
||||
</td>
|
||||
|
||||
<td class="text-end">
|
||||
<div class="d-flex flex-column w-100 me-2">
|
||||
<div class="d-flex flex-stack mb-2">
|
||||
<span class="text-muted me-2 fs-7 fw-bold">
|
||||
{{ $row['progress']['value'] }}%
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="progress h-6px w-100">
|
||||
<div class="progress-bar bg-{{ $row['progress']['color'] }}" role="progressbar" style="width: {{ $row['progress']['value'] }}%" aria-valuenow="{{ $row['progress']['value'] }}" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm me-1">
|
||||
{!! theme()->getSvgIcon("icons/duotune/general/gen019.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm me-1">
|
||||
{!! theme()->getSvgIcon("icons/duotune/art/art005.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
|
||||
<a href="#" class="btn btn-icon btn-bg-light btn-active-color-primary btn-sm">
|
||||
{!! theme()->getSvgIcon("icons/duotune/general/gen027.svg", "svg-icon-3") !!}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<!--end::Table body-->
|
||||
</table>
|
||||
<!--end::Table-->
|
||||
</div>
|
||||
<!--end::Table container-->
|
||||
</div>
|
||||
<!--begin::Body-->
|
||||
</div>
|
||||
<!--end::Tables Widget 9-->
|
Loading…
Add table
Add a link
Reference in a new issue