2024-02-09 15:12:22 +01:00
|
|
|
---
|
|
|
|
layout: layouts/parent.njk
|
|
|
|
---
|
2024-09-13 22:58:39 +02:00
|
|
|
<main id="skip" class="visible">
|
2024-02-09 15:12:22 +01:00
|
|
|
<div>
|
|
|
|
{{ content | safe }}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<aside id="more-info">
|
|
|
|
<div class="card">
|
|
|
|
<h2>Sommaire</h2>
|
|
|
|
{{ content | toc | safe }}
|
|
|
|
</div>
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
const myTable = document.querySelector("table.pokedex, .pokedex table");
|
|
|
|
|
|
|
|
if (myTable) {
|
|
|
|
let labels = {
|
|
|
|
placeholder: "Chercher...",
|
|
|
|
searchTitle: "Chercher dans le tableau",
|
|
|
|
perPage: "lignes par page",
|
|
|
|
noRows: "Aucune lignée trouvée",
|
|
|
|
info: "Résultats {start} à {end} sur {rows}",
|
|
|
|
noResults: "Aucun résultat ne correspond à votre recherche",
|
|
|
|
};
|
|
|
|
let dataTable = new simpleDatatables.DataTable("table.pokedex, .pokedex table", {
|
|
|
|
labels,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
</script>
|