|
|
|
@ -69,10 +69,10 @@
|
|
|
|
|
<BOUCLE_dispositions(DATA) {source table, #REM|albums_decrire_dispositions|array_keys} {valeur != *}> |
|
|
|
|
#SET{id_radio,#GET{id}_#VALEUR} |
|
|
|
|
#SET{checked,#GET{valeur}|=={#VALEUR}|?{checked}} |
|
|
|
|
<div class="choix"> |
|
|
|
|
<div class="choix choix_disposition-album"> |
|
|
|
|
<input type="radio" name="#GET{name}" class="radio" id="#GET{id_radio}" value="#VALEUR"[ checked="(#GET{checked})"][ required="(#GET{obli})"][ readonly="(#GET{readonly})"] /> |
|
|
|
|
<label for="#GET{id_radio}"> |
|
|
|
|
[(#CHEMIN_IMAGE{album-disposition-#VALEUR-xx.svg}|image_reduire{50})] |
|
|
|
|
[(#INCLURE{#CHEMIN_IMAGE{album-disposition-#VALEUR-xx.svg}})] |
|
|
|
|
[<strong>(#VAL{album:disposition_#VALEUR}|_T|label_ponctuer)</strong>][ (#VAL{album:disposition_}|concat{#VALEUR,_explication}|_T)][ (#GET{readonly}|oui)#GET{ico_readonly}] |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
@ -136,3 +136,25 @@
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<style> |
|
|
|
|
.choix.choix_disposition-album, |
|
|
|
|
.choix.choix_disposition-album label { |
|
|
|
|
display: flex !important; |
|
|
|
|
align-items: center; |
|
|
|
|
} |
|
|
|
|
.choix.choix_disposition-album label { |
|
|
|
|
margin-inline-start: 0.5em !important; |
|
|
|
|
margin-inline-end: 0; |
|
|
|
|
} |
|
|
|
|
.choix.choix_disposition-album svg, |
|
|
|
|
.choix.choix_disposition-album label strong { |
|
|
|
|
margin-inline-end: 0.25em; |
|
|
|
|
} |
|
|
|
|
.choix.choix_disposition-album svg .primary { |
|
|
|
|
fill: var(--spip-color-theme, #5386ff) !important; |
|
|
|
|
} |
|
|
|
|
.choix.choix_disposition-album svg .background { |
|
|
|
|
fill: var(--spip-color-gray-lightest, #eee) !important; |
|
|
|
|
} |
|
|
|
|
</style> |