You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2012/12/16 02:17:33 UTC

[30/50] git commit: Improve formatting of the table

Improve formatting of the table


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

Branch: refs/heads/master
Commit: b2fefe731bdadc7e7788ae1824d8c3e69b83bcb7
Parents: bb18f51
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Wed Dec 5 14:51:33 2012 -0800
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Wed Dec 5 14:51:33 2012 -0800

----------------------------------------------------------------------
 .../src/test/app1/MultiZoneUpdateDemo.tml          |   73 +++++++--------
 1 files changed, 35 insertions(+), 38 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/b2fefe73/tapestry-core/src/test/app1/MultiZoneUpdateDemo.tml
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/app1/MultiZoneUpdateDemo.tml b/tapestry-core/src/test/app1/MultiZoneUpdateDemo.tml
index dcbe561..8e470d4 100644
--- a/tapestry-core/src/test/app1/MultiZoneUpdateDemo.tml
+++ b/tapestry-core/src/test/app1/MultiZoneUpdateDemo.tml
@@ -1,56 +1,53 @@
-<t:border xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter">
+<t:border xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
 
-  <h1>Multi-Zone Update Demo</h1>
+    <h1>Multi-Zone Update Demo</h1>
 
 
-  <span id="now">${now}</span>
+    <span id="now">${now}</span>
 
-  <span id="message"/>
+    <span id="message"/>
 
-  <div class="t-data-grid" style="{width: 100%;}">
-
-    <table class="t-data-grid">
-      <thead>
+    <table class="table table-striped table-bordered">
+        <thead>
 
         <tr>
-          <th>Fred</th>
-          <th>Barney</th>
-          <th>Dino</th>
-          <th>Wilma</th>
+            <th>Fred</th>
+            <th>Barney</th>
+            <th>Dino</th>
+            <th>Wilma</th>
         </tr>
-      </thead>
-      <tbody>
+        </thead>
+        <tbody>
 
         <tr>
-          <td t:type="zone" t:id="fredZone" id="fred">
-            Placeholder
-                    </td>
-          <td t:type="zone" t:id="barneyZone" id="barney">
-            Placeholder
-                    </td>
-          <td t:type="zone" t:id="dinoZone" id="dino">
-            Placeholder
-                    </td>
-          <td t:type="zone" t:id="wilmaZone" id="wilma">
-            ${wilmaMessage}
-                    </td>
+            <td t:type="zone" t:id="fredZone" id="fred">
+                Placeholder
+            </td>
+            <td t:type="zone" t:id="barneyZone" id="barney">
+                Placeholder
+            </td>
+            <td t:type="zone" t:id="dinoZone" id="dino">
+                Placeholder
+            </td>
+            <td t:type="zone" t:id="wilmaZone" id="wilma">
+                ${wilmaMessage}
+            </td>
         </tr>
-      </tbody>
+        </tbody>
     </table>
-  </div>
 
-  <t:actionlink t:id="update" zone="fred">update</t:actionlink>
+    <t:actionlink t:id="update" zone="fred">update</t:actionlink>
 
-  <t:block id="fredBlock">
-    <span id="fredName">Fred Flintstone</span>
-  </t:block>
+    <t:block id="fredBlock">
+        <span id="fredName">Fred Flintstone</span>
+    </t:block>
 
-  <t:block id="barneyBlock">
-    <t:form>
-      <t:palette t:id="options" model="options" encoder="encoder"/>
-      <input type="submit"/>
+    <t:block id="barneyBlock">
+        <t:form>
+            <t:palette t:id="options" model="options" encoder="encoder"/>
+            <input type="submit"/>
 
-    </t:form>
-  </t:block>
+        </t:form>
+    </t:block>
 
 </t:border>
\ No newline at end of file