Filters collapsed, customer auth and register, fix on basket recalculation
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<button type="button" class="btn btn-success">
|
||||
<button type="button" class="btn btn-success shadow">
|
||||
<i class="fa fa-3x fa-seedling float-left"></i>
|
||||
Ajouter au panier la liste des <strong>semences</strong>
|
||||
Ajouter au panier<br>la liste des <strong>semences</strong>
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<button type="button" class="btn btn-warning">
|
||||
<button type="button" class="btn btn-warning shadow">
|
||||
<i class="fab fa-3x fa-pagelines float-left"></i>
|
||||
Ajouter au panier la liste des <strong>plants</strong>
|
||||
Ajouter au panier<br>la liste des <strong>plants</strong>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="row pt-3">
|
||||
<div class="col-12">
|
||||
Il y a {{ $articles ? count($articles) : 0 }} article(s) dans la liste
|
||||
</div>
|
||||
@@ -25,21 +25,23 @@
|
||||
@include('components.form.button', ['id' => 'by_rows', 'icon' => 'fa-list', 'class' => 'btn-success'])
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<form name="product_sorting">
|
||||
<!--
|
||||
<form name="product_sorting" class="mt-0">
|
||||
<label>Trier par</label>
|
||||
@include('components.form.select', ['name' => 'sorting', 'list' => ['Pertinence']])
|
||||
</form>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$('#by_rows').click(function() {
|
||||
var url = "{{ url()->current() }}" + '?by_rows=1';
|
||||
var url = "{{ route('Shop.Categories.show', ['id' => $category['id'], 'by_rows' => true]) }}";
|
||||
window.location = url;
|
||||
})
|
||||
$('#by_cards').click(function() {
|
||||
var url = "{{ url()->current() }}";
|
||||
var url = "{{ route('Shop.Categories.show', ['id' => $category['id']]) }}";
|
||||
window.location = url;
|
||||
})
|
||||
</script>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<ul class="dropdown-menu" aria-labelledby="dLabel">
|
||||
<li>
|
||||
<a href="fr/mon-compte" title="Identifiez-vous" rel="nofollow">
|
||||
<a href="{{ route('Shop.login') }}" title="Identifiez-vous" rel="nofollow">
|
||||
<span>Connexion</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user