add datatbles for invoices, add pdf icon, refactor icons components, add autocomplete on search, adapt searching to meilisearch
This commit is contained in:
@@ -9,49 +9,53 @@
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>Jardin'enVie</title>
|
||||
<meta name="description" content="Vente de semences, variété anciennes">
|
||||
<meta name="keywords" content="">
|
||||
<title>Jardin'enVie</title>
|
||||
<meta name="description" content="Vente de semences, variété anciennes">
|
||||
<meta name="keywords" content="">
|
||||
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="img/favicon.ico">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
|
||||
<link rel="stylesheet" href="/css/site.min.css?{{ date('Ymd') }}" type="text/css" media="all">
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="img/favicon.ico">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
|
||||
<link rel="stylesheet" href="/css/site.min.css?{{ date('Ymd') }}" type="text/css" media="all">
|
||||
|
||||
@stack('css')
|
||||
@stack('css')
|
||||
|
||||
</head>
|
||||
|
||||
<body class="bg-green-dark">
|
||||
|
||||
<div class="container bg-light" style="min-height: 100vh;">
|
||||
<main>
|
||||
@include("Shop.layout.partials.header")
|
||||
<div class="content-wrapper">
|
||||
<section>
|
||||
<div class="container-fluid p-0">
|
||||
@yield('content')
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@include("Shop.layout.partials.footer")
|
||||
<div class="container bg-light" style="min-height: 100vh;">
|
||||
<main>
|
||||
@include('Shop.layout.partials.header')
|
||||
<div class="content-wrapper">
|
||||
<section>
|
||||
<div class="container-fluid p-0">
|
||||
@yield('content')
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@include('Shop.layout.partials.footer')
|
||||
@include('cookie-consent::index')
|
||||
</main>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="/js/site.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="/js/site.min.js" ></script>
|
||||
|
||||
@stack('scripts')
|
||||
|
||||
|
||||
<script>
|
||||
$.ajaxSetup({headers: {'X-CSRF-TOKEN': '{{ csrf_token() }}'}});
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': '{{ csrf_token() }}'
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@if(Session::has('growl'))
|
||||
@if (Session::has('growl'))
|
||||
<script>
|
||||
$(function() {
|
||||
@if(is_array(Session::get('growl')))
|
||||
@if (is_array(Session::get('growl')))
|
||||
growl("{!! Session::get('growl')[0] !!}", "{{ Session::get('growl')[1] }}");
|
||||
@else
|
||||
growl("{{Session::get('growl')}}");
|
||||
growl("{{ Session::get('growl') }}");
|
||||
@endif
|
||||
});
|
||||
</script>
|
||||
@@ -70,4 +74,4 @@
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
<span class="green ml-3">Variétés Paysannes de la Semence à l'Assiette</span>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-lg-3 pt-2">
|
||||
<div class="col-sm-12 col-lg-4 pt-2">
|
||||
@include('Shop.layout.partials.search')
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-lg-4 pt-2 text-right">
|
||||
<div class="col-sm-12 col-lg-3 pt-2 text-right">
|
||||
@include('Shop.layout.partials.header-catalog')
|
||||
@include('Shop.layout.partials.header-profile')
|
||||
@include('Shop.layout.partials.header-basket')
|
||||
|
||||
@@ -1,18 +1,26 @@
|
||||
<form method="method" action="{{ route('Shop.Searches.search') }}" id="search-general">
|
||||
<div class="input-group">
|
||||
<input type="text" name="search" value="{{ $search['search'] ?? null }}" class="form-control search-btn" aria-label="Chercher">
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text"><i class="btn btn-sm fa fa-search"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="input-group">
|
||||
@include('components.form.autocomplete', [
|
||||
'name' => 'search',
|
||||
'url' => route('Admin.Shop.Articles.autocomplete'),
|
||||
'data' => [
|
||||
'name' => $search['search_name'] ?? '',
|
||||
],
|
||||
])
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text"><i class="btn btn-sm fa fa-search"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$(function() {
|
||||
$('#search-general .fa-search').click(function() {
|
||||
$('#search-general').submit();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
<script>
|
||||
$(function() {
|
||||
$('#search-general .fa-search').click(function() {
|
||||
$('#search-general').submit();
|
||||
});
|
||||
|
||||
initAutocomplete('#search_name');
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
Reference in New Issue
Block a user