Add display of shelve

This commit is contained in:
Ludovic CANDELLIER
2022-01-23 22:49:23 +01:00
parent 81b6c87d59
commit 52019357ba
10 changed files with 38 additions and 27 deletions

View File

@@ -1,3 +1,9 @@
<div class="row">
<div class="col-12">
@include('components.form.button', ['id' => 'reset_filters', 'txt' => 'Annuler les filtres', 'class' => 'btn-success w-100'])
</div>
</div>
@foreach ($tags as $group)
<h5>{{ $group['name'] }}</h5>
@foreach ($group['tags'] as $tag)

View File

@@ -14,7 +14,7 @@
<div class="row">
<div class="col-12">
Il y a {{ $nb ?? 0 }} article(s) dans la liste
Il y a {{ count($articles) ?? 0 }} article(s) dans la liste
<form name="product_sorting">
<label>Trier par</label>
@include('components.form.select', ['name' => 'sorting', 'list' => ['Pertinence']])

View File

@@ -5,7 +5,7 @@
@section('content')
<div class="row">
<div class="col-3 col-lg-2">
@include('Shop.layout.partials.category_filters')
@include('Shop.Tags.partials.filter')
</div>
<div class="col-9 col-lg-10">
<div class="row">

View File

@@ -1,6 +1,4 @@
<button type="{{ $type ?? 'button' }}" class="btn {{ $class ?? ''}}" @if (isset($id)) id="{{ $id }}"@endif>
@if ($icon ?? false)
<i class="fa fa-fw {{ $icon ?? '' }}"></i>
@endif
@if ($icon ?? false)<i class="fa fa-fw {{ $icon ?? '' }}"></i>@endif
{{ $txt ?? '' }}
</button>