geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r505265 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources: ./ boilerplate/
Date Fri, 09 Feb 2007 12:11:23 GMT
Author: jdillon
Date: Fri Feb  9 04:11:22 2007
New Revision: 505265

URL: http://svn.apache.org/viewvc?view=rev&rev=505265
Log:
Alternate row colors

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/macros.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/non-passing-overview.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.vm

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css?view=diff&rev=505265&r1=505264&r2=505265
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
Fri Feb  9 04:11:22 2007
@@ -117,6 +117,16 @@
 	color: #000;
 }
 
+/* Tables */
+
+tr.a {
+    background-color: #ffffff;
+}
+
+tr.b {
+    background-color: #f5f5f5;
+}
+
 /* Test Status */
 
 span.testPassed {
@@ -126,7 +136,7 @@
 
 span.testFailed {
     font-weight: bold;
-    color: #FF0000; /* red */
+    color: #ff0000; /* red */
 }
 
 span.testError {

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.vm?view=diff&rev=505265&r1=505264&r2=505265
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.vm
Fri Feb  9 04:11:22 2007
@@ -65,8 +65,9 @@
         #tableHeader(['', 'Test', 'Status', 'Duration'])
         
         <tbody>
+            #resetRowStyle()
             #foreach ($test in $model.tests)
-                <tr>
+                <tr class="#toggleRowStyle()">
                     <td align="center" width="20">#icon($test.statusIcon)</td>
                     <td align="left"><a href="$test.href">$test.testName</a></td>
                     <td align="center">#testStatus($test)</a></td>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.vm?view=diff&rev=505265&r1=505264&r2=505265
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.vm
Fri Feb  9 04:11:22 2007
@@ -65,8 +65,9 @@
         #tableHeader(['', 'Class', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>
+            #resetRowStyle()
             #foreach ($pkg in $model.packages)
-                <tr>
+                <tr class="#toggleRowStyle()">
                     <td align="center" width="20">#icon($pkg.statusIcon)</td>
                     <td align="left"><a href="$pkg.href">$pkg.name</a></td>
                     <td align="right">$pkg.count</td>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.vm?view=diff&rev=505265&r1=505264&r2=505265
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.vm
Fri Feb  9 04:11:22 2007
@@ -32,8 +32,9 @@
         #tableHeader(['', 'Iteration', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>
+            #resetRowStyle()
             #foreach ($iter in $model.iterations)
-                <tr>
+                <tr class="#toggleRowStyle()">
                     <td align="center" width="20">#icon($iter.statusIcon)</td>
                     <td align="left"><a href="$iter.href">$iter.name</a></td>
                     <td align="right">$iter.count</td>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/macros.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/macros.vm?view=diff&rev=505265&r1=505264&r2=505265
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/macros.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/macros.vm
Fri Feb  9 04:11:22 2007
@@ -59,13 +59,20 @@
     </thead>
 #end
 
+#macro (toggleRowStyle)#if($_rowStyle == 'a')#set($_rowStyle = 'b')#else #set($_rowStyle
= 'a')#end$_rowStyle#end
+
+#macro (resetRowStyle)
+    #set($_rowStyle = 'unset')
+#end
+
 #macro (propertiesTable $map)
     <table>
         #tableHeader(['Name', 'Value'])
         
         <tbody>
+            #resetRowStyle()
             #foreach ($key in $map.keySet())
-                <tr>
+                <tr class="#toggleRowStyle()">
                     <td>$key</td>
                     <td>$map.get($key)</td>
                 </tr>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/non-passing-overview.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/non-passing-overview.vm?view=diff&rev=505265&r1=505264&r2=505265
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/non-passing-overview.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/non-passing-overview.vm
Fri Feb  9 04:11:22 2007
@@ -32,9 +32,10 @@
         #tableHeader(['', 'Test', 'Status', 'Duration'])
         
         <tbody>
+            #resetRowStyle()
             #foreach ($test in $model.tests)
                 #if (!$test.status.passed)
-                    <tr>
+                    <tr class="#toggleRowStyle()">
                         <td align="center" width="20">#icon($test.statusIcon)</td>
                         <td align="left"><a href="$test.fullHref">$test.name</a></td>
                         <td align="center">#testStatus($test)</a></td>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.vm?view=diff&rev=505265&r1=505264&r2=505265
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.vm
Fri Feb  9 04:11:22 2007
@@ -32,8 +32,9 @@
         #tableHeader(['', 'Package', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>
+            #resetRowStyle()
             #foreach ($pkg in $model.packages)
-                <tr>
+                <tr class="#toggleRowStyle()">
                     <td align="center" width="20">#icon($pkg.statusIcon)</td>
                     <td align="left"><a href="$pkg.href">$pkg.name</a></td>
                     <td align="right">$pkg.count</td>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.vm?view=diff&rev=505265&r1=505264&r2=505265
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.vm
Fri Feb  9 04:11:22 2007
@@ -65,8 +65,9 @@
         #tableHeader(['', 'Class', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>
+            #resetRowStyle()
             #foreach ($clazz in $model.classes)
-                <tr>
+                <tr class="#toggleRowStyle()">
                     <td align="center" width="20">#icon($clazz.statusIcon)</td>
                     <td align="left"><a href="$clazz.href">$clazz.name</a></td>
                     <td align="right">$clazz.count</td>
@@ -83,9 +84,10 @@
         #tableHeader(['', 'Test', 'Status', 'Duration'])
         
         <tbody>
+            #resetRowStyle()
             #foreach ($clazz in $model.classes)
                 #foreach ($test in $clazz.tests)
-                    <tr>
+                    <tr class="#toggleRowStyle()">
                         <td align="center" width="20">#icon($test.statusIcon)</td>
                         <td align="left"><a href="$test.href">$test.name</a></td>
                         <td align="center">#testStatus($test)</a></td>



Mime
View raw message