From 01083f9711e1d7f5db1b54d49d5303af97185865 Mon Sep 17 00:00:00 2001 From: nicod_ <nicod@lerebooteux.fr> Date: Fri, 17 Jan 2025 03:40:41 +0100 Subject: [PATCH] feat: Afficher la liste des blocktypes dans la colonne de gauche On ajoute la colonne `picto` comme `principale`, pour qu'elle s'affiche aussi dans la colonne de gauche (table en mode minimaliste) --- prive/objets/liste/blocktypes.html | 2 +- prive/squelettes/navigation/blocktype.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 prive/squelettes/navigation/blocktype.html diff --git a/prive/objets/liste/blocktypes.html b/prive/objets/liste/blocktypes.html index 35f1e3d..17170ef 100644 --- a/prive/objets/liste/blocktypes.html +++ b/prive/objets/liste/blocktypes.html @@ -19,7 +19,7 @@ <tbody> <BOUCLE_liste_blocktypes(DATA){source tableau, #REM|blocktypes_lister_types} {tri #ENV{par,num titre},#GET{defaut_tri}} {par titre} {pagination #ENV{nb,20}}> <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]"> - <td class="picto">[(#CHEMIN_IMAGE{#VALEUR{icone}|sinon{blocktype-16.png}}|balise_img)]</td> + <td class="picto principale">[(#CHEMIN_IMAGE{#VALEUR{icone}|sinon{blocktype-16.png}}|balise_img|image_reduire{16})]</td> <td class="titre principale"><a href="[(#VAL{blocktype}|generer_url_ecrire{blocktype=#CLE})]"><strong>#CLE</strong></a></td> <td class="titre"><a href="[(#VAL{blocktype}|generer_url_ecrire{blocktype=#CLE})]"><strong>#TITRE</strong></a></td> <td class="secondaire"><BOUCLE(BLOCKS){blocktype=#CLE}{tout}>#SET{total,#TOTAL_BOUCLE}</BOUCLE>[(#GET{total})]</td> diff --git a/prive/squelettes/navigation/blocktype.html b/prive/squelettes/navigation/blocktype.html new file mode 100644 index 0000000..c9a4694 --- /dev/null +++ b/prive/squelettes/navigation/blocktype.html @@ -0,0 +1 @@ +<INCLURE{fond=prive/objets/liste/blocktypes, par=identifiant}> -- GitLab