fix css and html structure

This commit is contained in:
Ludovic CANDELLIER
2023-02-05 22:57:47 +01:00
parent 32291dc44a
commit cb488383e0
8 changed files with 42 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
@if (!($no_filter ?? false))
<button type="button" class="btn btn-success" id="filters" title="Filtres" data-toggle="tooltip">
<button type="button" class="btn bg-green text-white" id="filters" title="Filtres" data-toggle="tooltip">
<span id="filter-on" class="fa fa-fw @if ($filter_on ?? false) d-none" @endif">
<i class="fa fa-filter"></i>
</span>
@@ -7,22 +7,6 @@
<i class="fa fa-stack-1x fa-filter"></i>
<i class="fa fa-stack-2x fa-ban" style="color:Tomato"></i>
</span>
<span id="filter-off-text" class="@if (!($filter_on ?? false)) d-none @endif"> Cacher les filtres</span>
</button>
@endif
@if ($display_by_rows ?? false)
@include('components.form.button', [
'id' => 'by_cards',
'icon' => 'fa-th',
'class' => 'btn-secondary',
'title' => 'Vue par vignettes',
])
@else
@include('components.form.button', [
'id' => 'by_rows',
'icon' => 'fa-list',
'class' => 'btn-secondary',
'title' => 'Vue par lignes',
])
@endif