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
45
resources/views/partials/search/_base.blade.php
Normal file
45
resources/views/partials/search/_base.blade.php
Normal file
|
@ -0,0 +1,45 @@
|
|||
<!--begin::Search-->
|
||||
<div
|
||||
id="kt_header_search"
|
||||
class="d-flex align-items-stretch"
|
||||
|
||||
data-kt-search-keypress="true"
|
||||
data-kt-search-min-length="2"
|
||||
data-kt-search-enter="enter"
|
||||
data-kt-search-layout="menu"
|
||||
|
||||
data-kt-menu-trigger="auto"
|
||||
data-kt-menu-overflow="false"
|
||||
data-kt-menu-permanent="true"
|
||||
data-kt-menu-placement="bottom-end"
|
||||
>
|
||||
|
||||
<!--begin::Search toggle-->
|
||||
<div class="d-flex align-items-center" data-kt-search-element="toggle" id="kt_header_search_toggle">
|
||||
<div class="btn btn-icon btn-active-light-primary btn-custom">
|
||||
{!! theme()->getSvgIcon("icons/duotune/general/gen021.svg", "svg-icon-1") !!}
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Search toggle-->
|
||||
|
||||
<!--begin::Menu-->
|
||||
<div data-kt-search-element="content" class="menu menu-sub menu-sub-dropdown p-7 w-325px w-md-375px">
|
||||
<!--begin::Wrapper-->
|
||||
<div data-kt-search-element="wrapper">
|
||||
{{ theme()->getView('partials/search/partials/_form') }}
|
||||
|
||||
{{ theme()->getView('partials/search/partials/_results') }}
|
||||
|
||||
{{ theme()->getView('partials/search/partials/_main') }}
|
||||
|
||||
{{ theme()->getView('partials/search/partials/_empty') }}
|
||||
</div>
|
||||
<!--end::Wrapper-->
|
||||
|
||||
{{ theme()->getView('partials/search/partials/_advanced-options') }}
|
||||
|
||||
{{ theme()->getView('partials/search/partials/_preferences') }}
|
||||
</div>
|
||||
<!--end::Menu-->
|
||||
</div>
|
||||
<!--end::Search-->
|
47
resources/views/partials/search/_dropdown.blade.php
Normal file
47
resources/views/partials/search/_dropdown.blade.php
Normal file
|
@ -0,0 +1,47 @@
|
|||
<!--begin::Search-->
|
||||
<div
|
||||
id="kt_header_search"
|
||||
class="d-flex align-items-stretch"
|
||||
|
||||
data-kt-search-keypress="true"
|
||||
data-kt-search-min-length="2"
|
||||
data-kt-search-enter="enter"
|
||||
data-kt-search-layout="menu"
|
||||
|
||||
data-kt-menu-trigger="auto"
|
||||
data-kt-menu-overflow="false"
|
||||
data-kt-menu-permanent="true"
|
||||
data-kt-menu-placement="bottom-end"
|
||||
|
||||
{{ isset($attributes) ? util()->putHtmlAttributes($attributes) : '' }}
|
||||
>
|
||||
|
||||
<!--begin::Search toggle-->
|
||||
<div class="d-flex align-items-center" data-kt-search-element="toggle" id="kt_header_search_toggle">
|
||||
<div class="{{ $toggleBtnClass }}">
|
||||
{!! $toggleBtnIcon ?? theme()->getSvgIcon('icons/duotune/general/gen021.svg', $toggleBtnIconClass ?? 'svg-icon-1') !!}
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Search toggle-->
|
||||
|
||||
<!--begin::Menu-->
|
||||
<div data-kt-search-element="content" class="menu menu-sub menu-sub-dropdown p-7 w-325px w-md-375px">
|
||||
<!--begin::Wrapper-->
|
||||
<div data-kt-search-element="wrapper">
|
||||
{{ theme()->getView('partials/search/partials/_form') }}
|
||||
|
||||
{{ theme()->getView('partials/search/partials/_results') }}
|
||||
|
||||
{{ theme()->getView('partials/search/partials/_main', array('mode' => 'dropdown')) }}
|
||||
|
||||
{{ theme()->getView('partials/search/partials/_empty') }}
|
||||
</div>
|
||||
<!--end::Wrapper-->
|
||||
|
||||
{{ theme()->getView('partials/search/partials/_advanced-options') }}
|
||||
|
||||
{{ theme()->getView('partials/search/partials/_preferences') }}
|
||||
</div>
|
||||
<!--end::Menu-->
|
||||
</div>
|
||||
<!--end::Search-->
|
|
@ -0,0 +1,135 @@
|
|||
<!--begin::Preferences-->
|
||||
<form data-kt-search-element="advanced-options-form" class="pt-1 d-none">
|
||||
<!--begin::Heading-->
|
||||
<h3 class="fw-bold text-dark mb-7">Advanced Search</h3>
|
||||
<!--end::Heading-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="mb-5">
|
||||
<input type="text" class="form-control form-control-sm form-control-solid" placeholder="Contains the word" name="query"/>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="mb-5">
|
||||
<!--begin::Radio group-->
|
||||
<div class="nav-group nav-group-fluid">
|
||||
<!--begin::Option-->
|
||||
<label>
|
||||
<input type="radio" class="btn-check" name="type" value="has" checked="checked"/>
|
||||
<span class="btn btn-sm btn-color-muted btn-active btn-active-primary">
|
||||
All
|
||||
</span>
|
||||
</label>
|
||||
<!--end::Option-->
|
||||
|
||||
<!--begin::Option-->
|
||||
<label>
|
||||
<input type="radio" class="btn-check" name="type" value="users"/>
|
||||
<span class="btn btn-sm btn-color-muted btn-active btn-active-primary px-4">
|
||||
Users
|
||||
</span>
|
||||
</label>
|
||||
<!--end::Option-->
|
||||
|
||||
<!--begin::Option-->
|
||||
<label>
|
||||
<input type="radio" class="btn-check" name="type" value="orders"/>
|
||||
<span class="btn btn-sm btn-color-muted btn-active btn-active-primary px-4">
|
||||
Orders
|
||||
</span>
|
||||
</label>
|
||||
<!--end::Option-->
|
||||
|
||||
<!--begin::Option-->
|
||||
<label>
|
||||
<input type="radio" class="btn-check" name="type" value="projects"/>
|
||||
<span class="btn btn-sm btn-color-muted btn-active btn-active-primary px-4">
|
||||
Projects
|
||||
</span>
|
||||
</label>
|
||||
<!--end::Option-->
|
||||
</div>
|
||||
<!--end::Radio group-->
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="mb-5">
|
||||
<input type="text" name="assignedto" class="form-control form-control-sm form-control-solid" placeholder="Assigned to" value=""/>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="mb-5">
|
||||
<input type="text" name="collaborators" class="form-control form-control-sm form-control-solid" placeholder="Collaborators" value=""/>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="mb-5">
|
||||
<!--begin::Radio group-->
|
||||
<div class="nav-group nav-group-fluid">
|
||||
<!--begin::Option-->
|
||||
<label>
|
||||
<input type="radio" class="btn-check" name="attachment" value="has" checked="checked"/>
|
||||
<span class="btn btn-sm btn-color-muted btn-active btn-active-primary">
|
||||
Has attachment
|
||||
</span>
|
||||
</label>
|
||||
<!--end::Option-->
|
||||
|
||||
<!--begin::Option-->
|
||||
<label>
|
||||
<input type="radio" class="btn-check" name="attachment" value="any"/>
|
||||
<span class="btn btn-sm btn-color-muted btn-active btn-active-primary px-4">
|
||||
Any
|
||||
</span>
|
||||
</label>
|
||||
<!--end::Option-->
|
||||
</div>
|
||||
<!--end::Radio group-->
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="mb-5">
|
||||
<select name="timezone" aria-label="Select a Timezone" data-control="select2" data-placeholder="date_period" class="form-select form-select-sm form-select-solid">
|
||||
<option value="next">Within the next</option>
|
||||
<option value="last">Within the last</option>
|
||||
<option value="between">Between</option>
|
||||
<option value="on">On</option>
|
||||
</select>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="row mb-8">
|
||||
<!--begin::Col-->
|
||||
<div class="col-6">
|
||||
<input type="number" name="date_number" class="form-control form-control-sm form-control-solid" placeholder="Lenght" value=""/>
|
||||
</div>
|
||||
<!--end::Col-->
|
||||
|
||||
<!--begin::Col-->
|
||||
<div class="col-6">
|
||||
<select name="date_typer" aria-label="Select a Timezone" data-control="select2" data-placeholder="Period" class="form-select form-select-sm form-select-solid">
|
||||
<option value="days">Days</option>
|
||||
<option value="weeks">Weeks</option>
|
||||
<option value="months">Months</option>
|
||||
<option value="years">Years</option>
|
||||
</select>
|
||||
</div>
|
||||
<!--end::Col-->
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Actions-->
|
||||
<div class="d-flex justify-content-end">
|
||||
<button type="reset" class="btn btn-sm btn-white fw-bolder btn-active-light-primary me-2" data-kt-search-element="advanced-options-form-cancel">Cancel</button>
|
||||
|
||||
<button type="submit" class="btn btn-sm fw-bolder btn-primary" data-kt-search-element="advanced-options-form-search">Search</button>
|
||||
</div>
|
||||
<!--end::Actions-->
|
||||
</form>
|
||||
<!--end::Preferences-->
|
16
resources/views/partials/search/partials/_empty.blade.php
Normal file
16
resources/views/partials/search/partials/_empty.blade.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!--begin::Empty-->
|
||||
<div data-kt-search-element="empty" class="text-center d-none">
|
||||
<!--begin::Icon-->
|
||||
<div class="pt-10 pb-10">
|
||||
{!! theme()->getSvgIcon("icons/duotune/files/fil024.svg", "svg-icon-4x opacity-50") !!}
|
||||
</div>
|
||||
<!--end::Icon-->
|
||||
|
||||
<!--begin::Message-->
|
||||
<div class="pb-15 fw-bold">
|
||||
<h3 class="text-gray-600 fs-5 mb-2">No result found</h3>
|
||||
<div class="text-muted fs-7">Please try again with a different query</div>
|
||||
</div>
|
||||
<!--end::Message-->
|
||||
</div>
|
||||
<!--end::Empty-->
|
43
resources/views/partials/search/partials/_form.blade.php
Normal file
43
resources/views/partials/search/partials/_form.blade.php
Normal file
|
@ -0,0 +1,43 @@
|
|||
<!--begin::Form-->
|
||||
<form data-kt-search-element="form" class="w-100 position-relative mb-3" autocomplete="off">
|
||||
<!--begin::Icon-->
|
||||
{!! theme()->getSvgIcon("icons/duotune/general/gen021.svg", "svg-icon-2 svg-icon-lg-1 svg-icon-gray-500 position-absolute top-50 translate-middle-y ms-0") !!}
|
||||
<!--end::Icon-->
|
||||
|
||||
<!--begin::Input-->
|
||||
<input type="text" class="form-control form-control-flush ps-10" name="search" value="" placeholder="Search..." data-kt-search-element="input"/>
|
||||
<!--end::Input-->
|
||||
|
||||
<!--begin::Spinner-->
|
||||
<span class="position-absolute top-50 end-0 translate-middle-y lh-0 d-none me-1" data-kt-search-element="spinner">
|
||||
<span class="spinner-border h-15px w-15px align-middle text-gray-400"></span>
|
||||
</span>
|
||||
<!--end::Spinner-->
|
||||
|
||||
<!--begin::Reset-->
|
||||
<span class="btn btn-flush btn-active-color-primary position-absolute top-50 end-0 translate-middle-y lh-0 d-none" data-kt-search-element="clear">
|
||||
{!! theme()->getSvgIcon("icons/duotune/arrows/arr061.svg", "svg-icon-2 svg-icon-lg-1 me-0") !!}
|
||||
</span>
|
||||
<!--end::Reset-->
|
||||
|
||||
<!--begin::Toolbar-->
|
||||
<div class="position-absolute top-50 end-0 translate-middle-y" data-kt-search-element="toolbar">
|
||||
<!--begin::Preferences toggle-->
|
||||
<div data-kt-search-element="preferences-show" class="btn btn-icon w-20px btn-sm btn-active-color-primary me-1" data-bs-toggle="tooltip" title="Show search preferences">
|
||||
{!! theme()->getSvgIcon("icons/duotune/coding/cod001.svg", "svg-icon-1") !!}
|
||||
</div>
|
||||
<!--end::Preferences toggle-->
|
||||
|
||||
<!--begin::Advanced search toggle-->
|
||||
<div data-kt-search-element="advanced-options-form-show" class="btn btn-icon w-20px btn-sm btn-active-color-primary" data-bs-toggle="tooltip" title="Show more search options">
|
||||
{!! theme()->getSvgIcon("icons/duotune/arrows/arr072.svg", "svg-icon-2") !!}
|
||||
</div>
|
||||
<!--end::Advanced search toggle-->
|
||||
</div>
|
||||
<!--end::Toolbar-->
|
||||
</form>
|
||||
<!--end::Form-->
|
||||
|
||||
<!--begin::Separator-->
|
||||
<div class="separator border-gray-200 mb-6"></div>
|
||||
<!--end::Separator-->
|
76
resources/views/partials/search/partials/_main.blade.php
Normal file
76
resources/views/partials/search/partials/_main.blade.php
Normal file
|
@ -0,0 +1,76 @@
|
|||
<?php
|
||||
// List items
|
||||
$items = array(
|
||||
array(
|
||||
'icon' => 'icons/duotune/electronics/elc004.svg',
|
||||
'title' => 'BoomApp by Keenthemes',
|
||||
'number' => '#45789'
|
||||
),
|
||||
array(
|
||||
'icon' => 'icons/duotune/graphs/gra001.svg',
|
||||
'title' => '"Kept API Project Meeting',
|
||||
'number' => '#84050'
|
||||
),
|
||||
array(
|
||||
'icon' => 'icons/duotune/graphs/gra006.svg',
|
||||
'title' => '"KPI Monitoring App Launch',
|
||||
'number' => '#84250'
|
||||
),
|
||||
array(
|
||||
'icon' => 'icons/duotune/graphs/gra003.svg',
|
||||
'title' => 'Project Reference FAQ',
|
||||
'number' => '#67945'
|
||||
),
|
||||
array(
|
||||
'icon' => 'icons/duotune/communication/com010.svg',
|
||||
'title' => '"FitPro App Development',
|
||||
'number' => '#84250'
|
||||
),
|
||||
array(
|
||||
'icon' => 'icons/duotune/finance/fin001.svg',
|
||||
'title' => 'Shopix Mobile App',
|
||||
'number' => '#45690'
|
||||
),
|
||||
array(
|
||||
'icon' => 'icons/duotune/graphs/gra002.svg',
|
||||
'title' => '"Landing UI Design" Launch',
|
||||
'number' => '#24005'
|
||||
),
|
||||
);
|
||||
?>
|
||||
<!--begin::Recently viewed-->
|
||||
<div class="mb-4" data-kt-search-element="main">
|
||||
<!--begin::Heading-->
|
||||
<div class="d-flex flex-stack fw-bold mb-4">
|
||||
<!--begin::Label-->
|
||||
<span class="text-muted fs-6 me-2">Recently Searched:</span>
|
||||
<!--end::Label-->
|
||||
</div>
|
||||
<!--end::Heading-->
|
||||
|
||||
<!--begin::Items-->
|
||||
<div class="scroll-y mh-200px mh-lg-325px">
|
||||
<?php foreach($items as $item):?>
|
||||
<!--begin::Item-->
|
||||
<div class="d-flex align-items-center mb-5">
|
||||
<!--begin::Symbol-->
|
||||
<div class="symbol symbol-40px me-4">
|
||||
<span class="symbol-label bg-light">
|
||||
{!! theme()->getSvgIcon($item['icon'], "svg-icon-2 svg-icon-primary") !!}
|
||||
</span>
|
||||
</div>
|
||||
<!--end::Symbol-->
|
||||
|
||||
<!--begin::Title-->
|
||||
<div class="d-flex flex-column">
|
||||
<a href="#" class="fs-6 text-gray-800 text-hover-primary fw-bold">{{ $item['title'] }}</a>
|
||||
<span class="fs-7 text-muted fw-bold">{{ $item['number'] }}</span>
|
||||
</div>
|
||||
<!--end::Title-->
|
||||
</div>
|
||||
<!--end::Item-->
|
||||
<?php endforeach?>
|
||||
</div>
|
||||
<!--end::Items-->
|
||||
</div>
|
||||
<!--end::Recently viewed-->
|
|
@ -0,0 +1,70 @@
|
|||
<!--begin::Preferences-->
|
||||
<form data-kt-search-element="preferences" class="pt-1 d-none">
|
||||
<!--begin::Heading-->
|
||||
<h3 class="fw-bold text-dark mb-7">Search Preferences</h3>
|
||||
<!--end::Heading-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="pb-4 border-bottom">
|
||||
<label class="form-check form-switch form-switch-sm form-check-custom form-check-solid flex-stack">
|
||||
<span class="form-check-label text-gray-700 fs-6 fw-bold ms-0 me-2">
|
||||
Projects
|
||||
</span>
|
||||
|
||||
<input class="form-check-input" type="checkbox" value="1" checked="checked"/>
|
||||
</label>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="py-4 border-bottom">
|
||||
<label class="form-check form-switch form-switch-sm form-check-custom form-check-solid flex-stack">
|
||||
<span class="form-check-label text-gray-700 fs-6 fw-bold ms-0 me-2">
|
||||
Targets
|
||||
</span>
|
||||
<input class="form-check-input" type="checkbox" value="1" checked="checked"/>
|
||||
</label>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="py-4 border-bottom">
|
||||
<label class="form-check form-switch form-switch-sm form-check-custom form-check-solid flex-stack">
|
||||
<span class="form-check-label text-gray-700 fs-6 fw-bold ms-0 me-2">
|
||||
Affiliate Programs
|
||||
</span>
|
||||
<input class="form-check-input" type="checkbox" value="1" />
|
||||
</label>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="py-4 border-bottom">
|
||||
<label class="form-check form-switch form-switch-sm form-check-custom form-check-solid flex-stack">
|
||||
<span class="form-check-label text-gray-700 fs-6 fw-bold ms-0 me-2">
|
||||
Referrals
|
||||
</span>
|
||||
<input class="form-check-input" type="checkbox" value="1" checked="checked"/>
|
||||
</label>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="py-4 border-bottom">
|
||||
<label class="form-check form-switch form-switch-sm form-check-custom form-check-solid flex-stack">
|
||||
<span class="form-check-label text-gray-700 fs-6 fw-bold ms-0 me-2">
|
||||
Users
|
||||
</span>
|
||||
<input class="form-check-input" type="checkbox" value="1" />
|
||||
</label>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Actions-->
|
||||
<div class="d-flex justify-content-end pt-7">
|
||||
<button type="reset" class="btn btn-sm btn-white fw-bolder btn-active-light-primary me-2" data-kt-search-element="preferences-dismiss">Cancel</button>
|
||||
<button type="submit" class="btn btn-sm fw-bolder btn-primary">Save Changes</button>
|
||||
</div>
|
||||
<!--end::Actions-->
|
||||
</form>
|
||||
<!--end::Preferences-->
|
167
resources/views/partials/search/partials/_results.blade.php
Normal file
167
resources/views/partials/search/partials/_results.blade.php
Normal file
|
@ -0,0 +1,167 @@
|
|||
<?php
|
||||
// List items
|
||||
$items = array(
|
||||
'users' => array(
|
||||
array(
|
||||
'avatar' => 'avatars/300-6.jpg',
|
||||
'name' => 'Karina Clark',
|
||||
'position' => 'Marketing Manager'
|
||||
),
|
||||
array(
|
||||
'avatar' => 'avatars/300-2.jpg',
|
||||
'name' => 'Olivia Bold',
|
||||
'position' => 'Software Engineer'
|
||||
),
|
||||
array(
|
||||
'avatar' => 'avatars/300-9.jpg',
|
||||
'name' => 'Ana Clark',
|
||||
'position' => 'UI/UX Designer'
|
||||
),
|
||||
array(
|
||||
'avatar' => 'avatars/300-14.jpg',
|
||||
'name' => 'Nick Pitola',
|
||||
'position' => 'Art Director'
|
||||
),
|
||||
array(
|
||||
'avatar' => 'avatars/300-11.jpg',
|
||||
'name' => 'Edward Kulnic',
|
||||
'position' => 'System Administrator'
|
||||
)
|
||||
),
|
||||
|
||||
'customers' => array(
|
||||
array(
|
||||
'logo' => 'svg/brand-logos/volicity-9.svg',
|
||||
'title' => 'Company Rbranding',
|
||||
'category' => 'UI Design'
|
||||
),
|
||||
array(
|
||||
'logo' => 'svg/brand-logos/tvit.svg',
|
||||
'title' => 'Company Re-branding',
|
||||
'category' => 'Web Development'
|
||||
),
|
||||
array(
|
||||
'logo' => 'svg/misc/infography.svg',
|
||||
'title' => 'Business Analytics App',
|
||||
'category' => 'Administration'
|
||||
),
|
||||
array(
|
||||
'logo' => 'svg/brand-logos/leaf.svg',
|
||||
'title' => 'EcoLeaf App Launch',
|
||||
'category' => 'Marketing'
|
||||
),
|
||||
array(
|
||||
'logo' => 'svg/brand-logos/tower.svg',
|
||||
'title' => 'Tower Group Website',
|
||||
'category' => 'Google Adwords'
|
||||
)
|
||||
),
|
||||
|
||||
'projects' => array(
|
||||
array(
|
||||
'icon' => 'icons/duotune/general/gen005.svg',
|
||||
'title' => 'Si-Fi Project by AU Themes',
|
||||
'number' => '#45670'
|
||||
),
|
||||
array(
|
||||
'icon' => 'icons/duotune/general/gen032.svg',
|
||||
'title' => 'Shopix Mobile App Planning',
|
||||
'number' => '#45690'
|
||||
),
|
||||
array(
|
||||
'icon' => 'icons/duotune/communication/com012.svg',
|
||||
'title' => 'Finance Monitoring SAAS Discussion',
|
||||
'number' => '#21090'
|
||||
),
|
||||
array(
|
||||
'icon' => 'cons/duotune/communication/com006.svg',
|
||||
'title' => 'Dashboard Analitics Launch',
|
||||
'number' => '#34560'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
$loop = 0;
|
||||
?>
|
||||
<!--begin::Recently viewed-->
|
||||
<div data-kt-search-element="results" class="d-none">
|
||||
<!--begin::Items-->
|
||||
<div class="scroll-y mh-200px mh-lg-325px">
|
||||
<?php foreach($items as $category => $categoryItems):?>
|
||||
<!--begin::Category title-->
|
||||
<h3 class="fs-5 text-muted m-0 {{ ($loop > 1 ? 'pt-5' : '') }} pb-5" data-kt-search-element="category-title">
|
||||
{{ ucfirst($category) }}
|
||||
</h3>
|
||||
<!--end::Category title-->
|
||||
|
||||
<?php foreach($categoryItems as $item):?>
|
||||
<?php
|
||||
$loop++;
|
||||
?>
|
||||
|
||||
<?php if ($category == 'projects'):?>
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="d-flex text-dark text-hover-primary align-items-center mb-5">
|
||||
<!--begin::Symbol-->
|
||||
<div class="symbol symbol-40px me-4">
|
||||
<span class="symbol-label bg-light">
|
||||
{!! theme()->getSvgIcon($item['icon'], "svg-icon-2 svg-icon-primary") !!}
|
||||
</span>
|
||||
</div>
|
||||
<!--end::Symbol-->
|
||||
|
||||
<!--begin::Title-->
|
||||
<div class="d-flex flex-column">
|
||||
<span class="fs-6 fw-bold">{{ $item['title'] }}</span>
|
||||
<span class="fs-7 fw-bold text-muted">{{ $item['number'] }}</span>
|
||||
</div>
|
||||
<!--end::Title-->
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<?php endif?>
|
||||
|
||||
<?php if ($category == 'customers'):?>
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="d-flex text-dark text-hover-primary align-items-center mb-5">
|
||||
<!--begin::Symbol-->
|
||||
<div class="symbol symbol-40px me-4">
|
||||
<span class="symbol-label bg-light">
|
||||
<img class="w-20px h-20px" src="{{ asset(theme()->getMediaUrlPath() . $item['logo']) }}" alt=""/>
|
||||
</span>
|
||||
</div>
|
||||
<!--end::Symbol-->
|
||||
|
||||
<!--begin::Title-->
|
||||
<div class="d-flex flex-column justify-content-start fw-bold">
|
||||
<span class="fs-6 fw-bold">{{ $item['title'] }}</span>
|
||||
<span class="fs-7 fw-bold text-muted">{{ $item['category'] }}</span>
|
||||
</div>
|
||||
<!--end::Title-->
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<?php endif?>
|
||||
|
||||
<?php if ($category == 'users'):?>
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="d-flex text-dark text-hover-primary align-items-center mb-5">
|
||||
<!--begin::Symbol-->
|
||||
<div class="symbol symbol-40px me-4">
|
||||
<img src="{{ asset(theme()->getMediaUrlPath() . $item['avatar']) }}" alt=""/>
|
||||
</div>
|
||||
<!--end::Symbol-->
|
||||
|
||||
<!--begin::Title-->
|
||||
<div class="d-flex flex-column justify-content-start fw-bold">
|
||||
<span class="fs-6 fw-bold">{{ $item['name'] }}</span>
|
||||
<span class="fs-7 fw-bold text-muted">{{ $item['position'] }}</span>
|
||||
</div>
|
||||
<!--end::Title-->
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<?php endif?>
|
||||
<?php endforeach?>
|
||||
<?php endforeach?>
|
||||
</div>
|
||||
<!--end::Items-->
|
||||
</div>
|
||||
<!--end::Recently viewed-->
|
Loading…
Add table
Add a link
Reference in a new issue