website_search_products: traducida tabla castellano, añadida regla para permitir consultar productos no publicados en el portal. Añadida cabecera

This commit is contained in:
Luis 2023-01-16 12:12:50 +01:00
parent 2257656412
commit 03d72f473d
4 changed files with 23 additions and 8 deletions

View file

@ -18,8 +18,9 @@
Products not found
</div>
</t>
<div class="col-md-12" style="text-align: center;"><h2>In this table you can consult all the products available in the store</h2></div>
<div class="col-md-12" style="margin-top: 50px;">
<table id="productTable" class="table table-stripped" >
<table id="productTable" class="table stripe" >
<thead>
<tr>
<th>Name</th>
@ -45,12 +46,15 @@
</div>
</div>
</div>
<script src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js" />
<link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css" />
<script src="https://cdn.datatables.net/1.13.1/js/jquery.dataTables.min.js" />
<link rel="stylesheet" href="https://cdn.datatables.net/1.13.1/css/jquery.dataTables.min.css" />
<script>
$('#productTable').DataTable({
"pageLength": 100,
"order": [[1, "asc"], [0, "asc"], [2, "desc"]]
"order": [[1, "asc"], [0, "asc"], [2, "desc"]],
"language": {
"url": "https://cdn.datatables.net/plug-ins/1.13.1/i18n/es-ES.json"
}
});
console.log("table init");
</script>