Gestion de l'attribut 'multiple'
authorPatrick PIERRE
lun., 11 févr. 2013 19:08:28 +0100
changeset 170 67223e410999
parent 169 416be14707c1
child 171 f934064af908
Gestion de l'attribut 'multiple'
Xxe/Css/publiquiz.css
--- a/Xxe/Css/publiquiz.css	lun. févr. 11 13:58:59 2013 +0100
+++ b/Xxe/Css/publiquiz.css	lun. févr. 11 19:08:28 2013 +0100
@@ -230,7 +230,14 @@
 /* matching ~~~~~~~~~~~~~~~~~~~~~~~~ */
 
 matching:before {
-  content: insert-before-button() " Appariement";
+  content: insert-before-button() " "
+           command-button(command, "putAttribute", parameter, "multiple true", icon, icon(plus-box))
+           " Appariement";
+}
+matching[multiple]:before {
+  content: insert-before-button()
+           " Appariement – multiple = " label(attribute, multiple, color, black)
+           set-attribute-button(attribute, multiple, unset-attribute, yes)
 }
 
 /* sort ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@@ -249,7 +256,14 @@
 /* categories ~~~~~~~~~~~~~~~~~~~~~~ */
 
 categories:before {
-  content: insert-before-button() " Catégories";
+  content: insert-before-button() " "
+           command-button(command, "putAttribute", parameter, "multiple true", icon, icon(plus-box))
+           " Catégories";
+}
+categories[multiple]:before {
+  content: insert-before-button()
+           " Catégories – multiple = " label(attribute, multiple, color, black)
+           set-attribute-button(attribute, multiple, unset-attribute, yes)
 }
 
 /* production ~~~~~~~~~~~~~~~~~~~~~~ */