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:13 UTC
[33/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/189de243
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/189de243
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/189de243
Branch: refs/heads/master
Commit: 189de24330e68c3f44741cdc3ecce4964438619e
Parents: 307c6fa
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Thu Aug 22 18:03:56 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Thu Aug 22 18:03:56 2013 -0700
----------------------------------------------------------------------
tapestry-core/src/test/app1/RadioDemo.tml | 29 ++++++++++++--------------
1 file changed, 13 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/189de243/tapestry-core/src/test/app1/RadioDemo.tml
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/app1/RadioDemo.tml b/tapestry-core/src/test/app1/RadioDemo.tml
index 0b84f29..5ffe75e 100644
--- a/tapestry-core/src/test/app1/RadioDemo.tml
+++ b/tapestry-core/src/test/app1/RadioDemo.tml
@@ -12,27 +12,28 @@
<t:loop source="departments" value="loopValue">
- <div class="control-group">
- <div class="controls">
- <label class="radio">
- <t:radio t:id="radio" value="loopValue"/>
- ${label}
- </label>
- </div>
+ <div class="radio">
+ <label>
+ <t:radio t:id="radio" value="loopValue"/>
+ ${label}
+ </label>
</div>
</t:loop>
</div>
+
</t:radiogroup>
<t:radiogroup t:id="position">
<div class="well">
- <div class="control-group">
- <label class="radio">
+ <div class="radio-inline">
+ <label>
<t:radio t:id="radio1" value="literal:TEMP"/>
Temp
</label>
- <label class="radio">
+ </div>
+ <div class="radio-inline">
+ <label>
<t:radio t:id="radio2" value="literal:LIFER"/>
Lifer
</label>
@@ -40,9 +41,8 @@
</div>
</t:radiogroup>
- <div class="form-actions">
- <input type="submit" value="Update"/>
- </div>
+ <input class="btn btn-primary" type="submit" value="Update"/>
+ <t:actionlink class="btn btn-default" t:id="reset">reset</t:actionlink>
</t:form>
@@ -56,8 +56,5 @@
Selected position: ${position}
</t:if>
-<p>
- <t:actionlink t:id="reset">reset</t:actionlink>
-</p>
</html>