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:19:58 UTC

[18/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/70c39f02
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/70c39f02
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/70c39f02

Branch: refs/heads/master
Commit: 70c39f024f805f66e62724ae056717dc7fe1c06e
Parents: d534be7
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Thu Aug 22 16:19:17 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Thu Aug 22 16:19:17 2013 -0700

----------------------------------------------------------------------
 .../src/test/app1/BlankPasswordDemo.tml         | 26 +++++++++++---------
 1 file changed, 14 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/70c39f02/tapestry-core/src/test/app1/BlankPasswordDemo.tml
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/app1/BlankPasswordDemo.tml b/tapestry-core/src/test/app1/BlankPasswordDemo.tml
index 05566fe..98b383d 100644
--- a/tapestry-core/src/test/app1/BlankPasswordDemo.tml
+++ b/tapestry-core/src/test/app1/BlankPasswordDemo.tml
@@ -1,18 +1,20 @@
-<html t:type="border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
+<html t:type="border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
 
 
-    <h1>Blank Password Demo</h1>
+<h1>Blank Password Demo</h1>
 
-    <p>
-        The password is:
-        <span id="visiblepassword">${password}</span>
-    </p>
+<p>
+    The password is:
+    <span id="visiblepassword">${password}</span>
+</p>
 
-    <t:form>
-        <t:errors/>
-        <t:label for="password"/>
-        <t:passwordfield t:id="password"/>
-        <input type="submit" value="Update"/>
-    </t:form>
+<t:form class="form-inline">
+    <t:errors/>
+    <div class="form-group col-md-4">
+        <t:label class="sr-only" for="password"/>
+        <t:passwordfield t:id="password" placeholder="Enter password"/>
+    </div>
+    <input type="submit" value="Update" class="btn btn-primary"/>
+</t:form>
 
 </html>
\ No newline at end of file