Add producers
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
<div class="row">
|
||||
<div class="col-8">
|
||||
<h1 style="font-size: 2em;">{{ $category['name'] }}</h1>
|
||||
<h3 style="font-size: 1.2em;">{!! $category['description'] !!}</h3>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
@include('Shop.layout.partials.category_add')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@include('Shop.layout.partials.category_articles')
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,48 +0,0 @@
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<button type="button" class="btn btn-success shadow">
|
||||
<i class="fa fa-3x fa-seedling float-left"></i>
|
||||
Ajouter au panier<br>la liste des <strong>semences</strong>
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<button type="button" class="btn btn-warning shadow">
|
||||
<i class="fab fa-3x fa-pagelines float-left"></i>
|
||||
Ajouter au panier<br>la liste des <strong>plants</strong>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row pt-3">
|
||||
<div class="col-12">
|
||||
Il y a {{ $articles ? count($articles) : 0 }} article(s) dans la liste
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
@include('components.form.button', ['id' => 'by_cards', 'icon' => 'fa-th', 'class' => 'btn-success'])
|
||||
@include('components.form.button', ['id' => 'by_rows', 'icon' => 'fa-list', 'class' => 'btn-success'])
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<!--
|
||||
<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 = "{{ route('Shop.Categories.show', ['id' => $category['id'], 'by_rows' => true]) }}";
|
||||
window.location = url;
|
||||
})
|
||||
$('#by_cards').click(function() {
|
||||
var url = "{{ route('Shop.Categories.show', ['id' => $category['id']]) }}";
|
||||
window.location = url;
|
||||
})
|
||||
</script>
|
||||
@endpush
|
||||
@@ -1,9 +0,0 @@
|
||||
<div class="row">
|
||||
@if ($articles)
|
||||
@foreach ($articles as $product_name => $article)
|
||||
<div class="col-3 mb-3">
|
||||
@include('Shop.Articles.partials.article')
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
@@ -1,5 +0,0 @@
|
||||
@if ($articles)
|
||||
@foreach ($articles as $product_name => $article)
|
||||
@include('Shop.Articles.partials.article_rows')
|
||||
@endforeach
|
||||
@endif
|
||||
Reference in New Issue
Block a user