You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2013/08/23 03:20:07 UTC

[27/35] git commit: Clean up page to use Bootstrap 3

Clean up page to use Bootstrap 3


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/aea3138c
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/aea3138c
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/aea3138c

Branch: refs/heads/master
Commit: aea3138cb9ff69bab635a8016fc786f2244c556d
Parents: 8489373
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Thu Aug 22 17:43:38 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Thu Aug 22 17:43:38 2013 -0700

----------------------------------------------------------------------
 tapestry-core/src/test/app1/DisabledFields.tml | 43 +++++++++++++--------
 1 file changed, 27 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/aea3138c/tapestry-core/src/test/app1/DisabledFields.tml
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/app1/DisabledFields.tml b/tapestry-core/src/test/app1/DisabledFields.tml
index a0ea6dc..eaa3207 100644
--- a/tapestry-core/src/test/app1/DisabledFields.tml
+++ b/tapestry-core/src/test/app1/DisabledFields.tml
@@ -6,38 +6,49 @@
 
 <t:form>
 
-    <t:textfield t:id="textfield" value="stringValue" disabled="true"/>
-    <t:passwordfield t:id="passwordfield" value="stringValue" disabled="true"/>
-    <t:textarea t:id="textarea" value="stringValue" disabled="true"/>
-    <t:checkbox t:id="checkbox" value="flag" disabled="true"/>
-    <t:select t:id="select" value="stringValue" disabled="true" model="literal:Up,Down,Strange,Charm,Bottom,Top"/>
+    <t:textfield t:id="textfield" value="stringValue" t:mixins="formgroup" disabled="true"/>
+    <t:passwordfield t:id="passwordfield" value="stringValue" t:mixins="formgroup" disabled="true"/>
+    <t:textarea t:id="textarea" value="stringValue" t:mixins="formgroup" disabled="true"/>
 
-    <t:radiogroup t:id="group1" value="stringValue" disabled="true">
+    <div class="checkbox">
         <label>
-            <t:radio t:id="radio1" value="literal:Right"/>
-            Disabled Radio #1
+            <t:checkbox t:id="checkbox" value="flag" disabled="true"/>
+            Disabled Checkbox
         </label>
+    </div>
+
+    <t:select t:id="select" value="stringValue" disabled="true" t:mixins="formgroup"
+              model="literal:Up,Down,Strange,Charm,Bottom,Top"/>
+
+    <t:radiogroup t:id="group1" value="stringValue" disabled="true">
+        <div class="radio">
+
+            <label>
+                <t:radio t:id="radio1" value="literal:Right"/>
+                Disabled Radio #1
+            </label>
+        </div>
     </t:radiogroup>
 
     <br/>
 
     <t:radiogroup t:id="group2" value="stringValue">
-        <label>
-            <t:radio t:id="radio2" disabled="true" value="literal:Left"/>
-            Disabled Radio #2
-        </label>
+        <div class="radio">
+
+            <label>
+                <t:radio t:id="radio2" disabled="true" value="literal:Left"/>
+                Disabled Radio #2
+            </label>
+        </div>
     </t:radiogroup>
 
-    <br/>
 
-    <t:datefield t:id="datefield" value="date" disabled="true"/>
+    <t:datefield t:id="datefield" value="date" disabled="true" t:mixins="formgroup"/>
 
-    <br/>
 
     <t:palette t:id="palette" selected="values" disabled="true" encoder="encoder"
                model="literal:Fred,Barney,Wilma,Betty"/>
 
-    <br/>
 
     <t:submit t:id="submit" disabled="true" value="Disabled Submit"/>
     <input class="btn btn-default" type="submit" value="Continue"/>