continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r581085 - in /maven/continuum/trunk/continuum-webapp/src/main/webapp: WEB-INF/jsp/groupSummary.jsp css/extremecomponents.css
Date Mon, 01 Oct 2007 21:45:18 GMT
Author: olamy
Date: Mon Oct  1 14:45:17 2007
New Revision: 581085

URL: http://svn.apache.org/viewvc?rev=581085&view=rev
Log:
[CONTINUUM-1452] Show a summary total of the Projects and Build Status columns on the Project
Groups page.
Submitted by Tomislav Stojcevich

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp?rev=581085&r1=581084&r2=581085&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp Mon
Oct  1 14:45:17 2007
@@ -57,8 +57,10 @@
           <a href="<ww:url  action="projectGroupSummary" namespace="/"><ww:param
name="projectGroupId" value="%{'${group.id}'}"/></ww:url>">${group.name}</a>
         </ec:column>
         <ec:column property="groupId" title="Group&nbsp;Id" width="20%"/>
-        <ec:column property="numProjects" title="Projects" width="1%" style="text-align:
center"/>
-        <ec:column property="numSuccesses" title="Build&nbsp;Status" width="1%" style="white-space:
nowrap" cell="org.apache.maven.continuum.web.view.BuildStatusCell"/>
+        <ec:column property="numProjects" title="Projects" format="0" width="1%" style="text-align:
right" calc="total" calcTitle="Summary"/>
+        <ec:column property="numSuccesses" title=" " format="0" width="2%" style="text-align:
right" headerClass="calcHeaderSucces" calc="total" />
+        <ec:column property="numFailures" title=" " format="0" width="2%" style="text-align:
right" headerClass="calcHeaderFailure" calc="total" />
+        <ec:column property="numErrors" title=" " format="0" width="2%" style="text-align:
right" headerClass="calcHeaderError" calc="total"/>
       </ec:row>
     </ec:table>
     </ww:if>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css?rev=581085&r1=581084&r2=581085&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css Mon Oct
 1 14:45:17 2007
@@ -61,7 +61,7 @@
 	text-align: left;
 	vertical-align: top;
 	background-color: #aaa;
-	color:white
+	color: white;
 }
 
 .eXtremeTable .odd a, .even a {
@@ -76,6 +76,46 @@
 
 .eXtremeTable .even {
 	background: #ddd;
+}
+
+
+.eXtremeTable .calcRow {
+  text-align: right;
+  font-weight: bold;
+  background-color: #bbb;
+  color: white;
+  border-color: black;
+}
+
+.eXtremeTable .calcTitle {
+  text-align: left;
+}
+
+.eXtremeTable .calcResult {
+	text-align: right;
+	background-color: #aaa;
+	color: white;
+}
+
+.eXtremeTable .calcHeaderSucces {
+  background-image: url(/images/icon_success_sml.gif); 
+  background-repeat: no-repeat; 
+  background-position: center;
+  background-color: #bbb;
+}
+
+.eXtremeTable .calcHeaderFailure {
+  background-image: url(/images/icon_warning_sml.gif); 
+  background-repeat: no-repeat; 
+  background-position: center;
+  background-color: #bbb;
+}
+
+.eXtremeTable .calcHeaderError {
+  background-image: url(/images/icon_error_sml.gif); 
+  background-repeat: no-repeat; 
+  background-position: center;
+  background-color: #bbb;
 }
 
 .eXtremeTable .highlight td {



Mime
View raw message