click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r789153 - in /incubator/click/trunk/click/examples/webapp/panel: customersPanel1.htm customersPanel2.htm customersPanel3.htm
Date Sun, 28 Jun 2009 21:38:41 GMT
Author: sabob
Date: Sun Jun 28 21:38:40 2009
New Revision: 789153

URL: http://svn.apache.org/viewvc?rev=789153&view=rev
Log:
removed indent

Modified:
    incubator/click/trunk/click/examples/webapp/panel/customersPanel1.htm
    incubator/click/trunk/click/examples/webapp/panel/customersPanel2.htm
    incubator/click/trunk/click/examples/webapp/panel/customersPanel3.htm

Modified: incubator/click/trunk/click/examples/webapp/panel/customersPanel1.htm
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/panel/customersPanel1.htm?rev=789153&r1=789152&r2=789153&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/panel/customersPanel1.htm (original)
+++ incubator/click/trunk/click/examples/webapp/panel/customersPanel1.htm Sun Jun 28 21:38:40
2009
@@ -17,8 +17,10 @@
    under the License.*#
 -->
 
+<h2>Customer List 1</h2>
+
 <table>
-    <tr><td colspan="6"><h2>Customer List 1</h2></td></tr>
+  <tbody>
     #foreach ($customer in $customers)
         #if( $velocityCount % 2 == 0 ) #set( $color = "#fefefe" ) #else #set( $color = "#dfdfdf"
) #end
     <tr>
@@ -30,4 +32,5 @@
         <td style="background: $color;text-align:right;">$format.date($customer.dateJoined)</td>
     </tr>
     #end
+  </tbody>
 </table>
\ No newline at end of file

Modified: incubator/click/trunk/click/examples/webapp/panel/customersPanel2.htm
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/panel/customersPanel2.htm?rev=789153&r1=789152&r2=789153&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/panel/customersPanel2.htm (original)
+++ incubator/click/trunk/click/examples/webapp/panel/customersPanel2.htm Sun Jun 28 21:38:40
2009
@@ -17,8 +17,10 @@
    under the License.*#
 -->
 
+<h2 style="margin-top: 1em">Customer List 2</h2>
+
 <table>
-    <tr><td colspan="6"><h2>Customer List 2</h2></td></tr>
+  <tbody>
     <tr>
         #foreach( $customer in $customers )
         <td style="border:1px solid black;">
@@ -34,4 +36,5 @@
             #end
         #end
     </tr>
+  </tbody>
 </table>
\ No newline at end of file

Modified: incubator/click/trunk/click/examples/webapp/panel/customersPanel3.htm
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/panel/customersPanel3.htm?rev=789153&r1=789152&r2=789153&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/panel/customersPanel3.htm (original)
+++ incubator/click/trunk/click/examples/webapp/panel/customersPanel3.htm Sun Jun 28 21:38:40
2009
@@ -17,12 +17,14 @@
    under the License.*#
 -->
 
+<h2 style="margin-top: 1em">Customer List 3</h2>
+
 <div style="width:400px;">
-<h2>Customer List 3</h2>
 #foreach( $customer in $customers )
-    #set( $top = $velocityCount * 10 )
-    #set( $left = $velocityCount * 10 )
-<div id="customer-$customer.id" style="width: 220px; position: relative;top: $top;left:
$left;border:1px solid black;background:white;">
+
+    <!-- Alter background for odd/even panels -->
+    #set( $background = "#if ($velocityCount % 2 == 0)DDDDDD #{else}FFFFFF #end")
+<div id="customer-$customer.id" style="width: 220px; position: relative;margin-top: 5px;
border:1px solid black;background:#$background">
     $customer.name
     <br/>$customer.email
     <br/>$customer.age



Mime
View raw message