Add new component, add flags on filter
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<aside class="main-sidebar float-left d-none" id="sidebar" style="width: 300px;">
|
||||
<section class="sidebar shadow" style="height: auto;">
|
||||
<aside class="main-sidebar float-left @if (!($filter_on ?? false)) d-none" @endif id="sidebar" style="width: 200px;">
|
||||
<section class="sidebar shadow mr-2" style="height: auto;">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@@ -14,8 +14,8 @@
|
||||
'id' => 'tag_group_' . $tag_group_id,
|
||||
])
|
||||
@foreach ($group['tags'] as $tag)
|
||||
<div>
|
||||
@include('components.form.checkbox', [
|
||||
<div class="form-inline">
|
||||
@include('components.form.checkboxes.icheck', [
|
||||
'name' => 'tag[]',
|
||||
'val' => $tag['id'],
|
||||
])
|
||||
@@ -30,6 +30,7 @@
|
||||
</aside>
|
||||
|
||||
@include('load.layout.chevron')
|
||||
@include('load.form.icheck')
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
|
||||
@@ -2,15 +2,18 @@
|
||||
|
||||
<div class="col-3 form-inline">
|
||||
<a href="/"><img src="/img/logo.jpg" class="img-responvive"></a>
|
||||
|
||||
@if (!($no_filter ?? false))
|
||||
<a id="filters" href="#" class="text-white pl-3">
|
||||
<span id="filter-on" class="fa-stack fa-2x">
|
||||
<span id="filter-on" class="fa-stack fa-2x @if ($filter_on ?? false) d-none" @endif">
|
||||
<i class="fa fa-stack-1x fa-filter"></i>
|
||||
</span>
|
||||
<span id="filter-off" class="fa-stack fa-2x d-none">
|
||||
<span id="filter-off" class="fa-stack fa-2x @if (!($filter_on ?? false)) d-none" @endif">
|
||||
<i class="fa fa-stack-1x fa-filter"></i>
|
||||
<i class="fa fa-stack-2x fa-ban" style="color:Tomato"></i>
|
||||
</span>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="col-5 form-inline">
|
||||
|
||||
Reference in New Issue
Block a user