Change comment:
minor fixes
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. evalica1 +XWiki.ManuelSmeria - Content
-
... ... @@ -3,45 +3,43 @@ 3 3 $xwiki.ssx.use("DevGuide.VerticalForms") 4 4 {{/velocity}} 5 5 6 -=Forms Standards: Inline Layout Usage= 7 - 8 8 {{box cssClass="floatinginfobox" title="**Content**"}} 9 9 {{toc/}} 10 10 {{/box}} 11 11 12 -XWiki Forms (##xform## / ##xformInline##) are general usage purpose CSS classes ,that need to be used in order to have a consistent view of forms across XWiki.10 +XWiki Forms (##xform## / ##xformInline##) are general usage purpose CSS classes that need to be used in order to have a consistent view of forms across XWiki. 13 13 14 14 * Forms Layout Type: 15 15 ** [[Vertical Layout>>DevGuide.VerticalForms]] (##xform##): uses a dl-dt-dd structure 16 16 ** **Inline Layout** (##xformInline##) 17 17 18 -This classes implementation has been voted at [[[Vote] [Standards] Forms: Usage + Documentation page to XWiki.org>>http://markmail.org/thread/5zrnncdukmc7wmer]] and implemented in [[XSCOLIBRI-266>>http://jira.xwiki.org/ jira/browse/XSCOLIBRI-266]]16 +This classes implementation has been voted at [[[Vote] [Standards] Forms: Usage + Documentation page to XWiki.org>>http://markmail.org/thread/5zrnncdukmc7wmer]] and implemented in [[XSCOLIBRI-266>>http://jira.xwiki.org/browse/XSCOLIBRI-266]] 19 19 20 -= =A.Usage ==18 += Usage = 21 21 22 -* Obs: The CSS classes have as parent the ##.xformInline## class. This is supposed to be used on the form tag, but if the styling is done inside dynamically generated structures it can be used on other elements, like divs, as long as the element remains the parent for the other form components. 20 +{{info}} 21 +The CSS classes have as parent the ##.xformInline## class. This is supposed to be used on the form tag, but if the styling is done inside dynamically generated structures it can be used on other elements, like divs, as long as the element remains the parent for the other form components. 22 +{{/info}} 23 23 24 -(% summary="Table containg classes for different form components" %) 25 -|= Tag |=Type |=Size |=Classes | | |=Usage\\ 26 -| | | |=Required |=Optional |=Container |\\ 27 -|form | | |##.xformInline##|##.half##, ##.third##| |Container for the form controls\\ 28 -|label | | | | | |Descriptive label for the control\\ 29 -|input | text |size=30 | | | |\\ 30 -|input | password |size=30 | | | |\\ 31 -|select | |size=1 | | | |\\ 32 -|input | submit | |##.button## |##.secondary## |span##.buttonwrapper##|Button controls\\ 33 -|input | button | |##.button## |##.secondary## |span##.buttonwrapper##|Button controls\\ 34 -|a | | |##.button## |##.secondary## |span##.buttonwrapper##|Button controls\\ 24 +|= Tag |=Type |=Size |=Classes Required|=Optional |=Container |=Usage\\ 25 +|form | | |##.xformInline##|##.half##, ##.third##| |Container for the form controls\\ 26 +|label | | | | | |Descriptive label for the control\\ 27 +|input |text |size=30| | | |\\ 28 +|input |password|size=30| | | |\\ 29 +|select| |size=1 | | | |\\ 30 +|input |submit | |##.button## |##.secondary## |span##.buttonwrapper##|Button controls\\ 31 +|input |button | |##.button## |##.secondary## |span##.buttonwrapper##|Button controls\\ 32 +|a | | |##.button## |##.secondary## |span##.buttonwrapper##|Button controls\\ 35 35 36 -= =B.Components ==34 += Components = 37 37 38 -== =1.Labels ==36 +== Labels == 39 39 40 -=== =[preview] ====38 +=== [preview] === 41 41 42 - [[image:inlineform.png]]40 +image:inlineform.png 43 43 44 -=== =[html] ====42 +=== [html] === 45 45 46 46 {{code language="html"}} 47 47 <form action="." class="xformInline" method="post" name="form_name1"> ... ... @@ -55,7 +55,7 @@ 55 55 </form> 56 56 {{/code}} 57 57 58 -=== =[demo] ====56 +=== [demo] === 59 59 60 60 {{html clean="false"}} 61 61 <form action="." class="xformInline" method="post" name="form_name1"> ... ... @@ -69,7 +69,7 @@ 69 69 </form> 70 70 {{/html}} 71 71 72 -=== =[css] ====70 +=== [css] === 73 73 74 74 {{code language="css"}} 75 75 .xformInline label {