StocksNew/Modules/PMS/resources/views/task/partials/menu.blade.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

76 lines
2.9 KiB
PHP

<div class="card">
<div class="card-body">
<div class="row g-2">
<div class="col-sm-8">
{{ html()->form('GET')->route('task.index')->open() }}
<div class="row g-3">
<div class="col-xl-3">
<div class="search-box">
{{ html()->text('search')->class('form-control search')->value(request('search'))->placeholder('Search...') }}
<i class="ri-search-line search-icon"></i>
</div>
</div>
<div class="col-sm-4">
<div class="">
{{ html()->text('date')->class('form-control')->value(request('date'))->placeholder('Date Range')->attributes([
'id' => 'datepicker-range',
'data-provider' => 'flatpickr',
'data-date-format' => 'Y-m-d',
'data-range-date' => 'true',
]) }}
</div>
</div>
<div class="col-sm-3">
<div>
{{ html()->select('status', $statusList)->placeholder('Select Status')->value(request('status'))->class('form-control select2') }}
</div>
</div>
<!--end col-->
<div class="col-sm-2">
<div>
<button type="submit" class="btn btn-primary">
<i class="ri-equalizer-fill me-2"></i>Filters</button>
{{-- <a href="{{ route('task.index') }}" class="btn btn-danger">
<i class="ri-bin-fill me-2"></i>Reset</a> --}}
</div>
</div>
<!--end col-->
</div>
<!--end row-->
{{ html()->form()->close() }}
</div>
<!--end col-->
<div class="col-sm-auto ms-auto">
<div class="list-grid-nav hstack gap-1">
<a href="{{ route('task.index') }}" id="list-view-button"
class="btn btn-soft-info nav-link btn-icon {{ Route::is('task.index') ? 'active' : '' }} fs-14"><i
class="ri-list-unordered"></i></a>
<a href="{{ route('task.kanban') }}" id="grid-view-button"
class="btn btn-soft-info nav-link btn-icon fs-14 {{ Route::is('task.kanban') ? 'active' : '' }}"><i
class="ri-grid-fill"></i></a>
<a href="{{ route('task.create') }}" class="btn btn-success btn-md waves-effect waves-light"><i
class="ri-add-fill me-1 align-bottom"></i> Add</a>
</div>
</div>
<!--end col-->
</div>
<!--end row-->
</div>
</div>
{{-- <div class="d-flex justify-content-end hstack my-2 ms-auto gap-2">
<a href="{{ route('task.index') }}" class="btn btn-primary btn-icon waves-effect waves-light"><i
class="ri-list-unordered"></i></a>
<a href="{{ route('task.kanban') }}" class="btn btn-danger btn-icon waves-effect waves-light"><i
class="ri-grid-fill"></i></a>
<a href="{{ route('task.create') }}" class="btn btn-success btn-md waves-effect waves-light"><i
class="ri-add-fill me-1 align-bottom"></i> Add</a>
</div> --}}