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

@@ -0,0 +1,15 @@
@include('components.form.button', [
'id' => 'by_cards',
'icon' => 'fa-th',
'style' => ($display_by_rows ?? false) ? ' font-size: x-small;' : '',
'class' => 'btn-secondary',
'title' => 'Vue par vignettes',
])
@include('components.form.button', [
'id' => 'by_rows',
'icon' => 'fa-list',
'style' => (!$display_by_rows ?? true) ? ' font-size: x-small;' : '',
'class' => 'btn-secondary',
'title' => 'Vue par lignes',
])

View File

@@ -10,13 +10,18 @@
<input type="hidden" id="article_nature" name="article_nature" value="{{ $article_nature ?? false }}">
<div class="row mb-3">
<div class="col-9">
@include('Shop.Shelves.partials.breadcrumb')
</div>
<div class="col-3 text-right">
@include('Shop.Shelves.partials.display-type')
</div>
</div>
<div class="row">
<div class="col-3">
@include('Shop._partials.display_filters')
</div>
<div class="col-6">
@include('Shop.Shelves.partials.breadcrumb')
</div>
<div class="col-3">
<div class="col-9">
@include('Shop.Shelves.partials.category_add')
</div>
</div>