geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r475934 - in /geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view: certmanager/ dbwizard/ jmsmanager/ jmsmanager/activemq/ jmsmanager/server/ jmsmanager/server/connector/ jmswizard/ securityreal...
Date Thu, 16 Nov 2006 21:27:04 GMT
Author: jbohn
Date: Thu Nov 16 13:27:03 2006
New Revision: 475934

URL: http://svn.apache.org/viewvc?view=rev&rev=475934
Log:
GERONIMO-1396 Provide consistent look and feel for table views in the web console across all
portlets

Modified:
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/certmanager/viewKeyStoreNormal.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/dbwizard/list.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/server/normal.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/view.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmswizard/list.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/securityrealmmanager/se/groups/maximized.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/securityrealmmanager/se/users/maximized.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/threads/list.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/normal.jsp

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/certmanager/viewKeyStoreNormal.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/certmanager/viewKeyStoreNormal.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/certmanager/viewKeyStoreNormal.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/certmanager/viewKeyStoreNormal.jsp
Thu Nov 16 13:27:03 2006
@@ -5,42 +5,50 @@
 
 <c:set var="ksinfo" value="${requestScope['org.apache.geronimo.console.keystore.infobean']}"/>
 
-<table cellpadding="1%">
-<th>keystore-type</th>
-<th>keystore-provider</th>
-<th>keystore-location</th>
-<th>keystore-size</th>
-<tr>
-<td align="center"><c:out value="${requestScope['org.apache.geronimo.console.keystore.type']}"/></td>
-<td align="center"><c:out value="${requestScope['org.apache.geronimo.console.keystore.provider']}"/></td>
-<td align="center"><c:out value="${requestScope['org.apache.geronimo.console.keystore.location']}"/></td>
-<td align="center"><c:out value="${requestScope['org.apache.geronimo.console.keystore.size']}"/></td>
-</tr>
+<table width="75%" cellpadding="1%">
+  <tr class="DarkBackground">
+    <th>Keystore Type</th>
+    <th>Provider</th>
+    <th>Location</th>
+    <th>Size</th>
+  </tr>
+  <tr>
+    <td align="center"><c:out value="${requestScope['org.apache.geronimo.console.keystore.type']}"/></td>
+    <td align="center"><c:out value="${requestScope['org.apache.geronimo.console.keystore.provider']}"/></td>
+    <td align="center"><c:out value="${requestScope['org.apache.geronimo.console.keystore.location']}"/></td>
+    <td align="center"><c:out value="${requestScope['org.apache.geronimo.console.keystore.size']}"/></td>
+  </tr>
 </table>
 
-<br/>
+<br />
 
 <table cellspacing="5">
-<tr>
-<td><b>Tools:</b></td>
-<td>
-<a href="<portlet:renderURL><portlet:param name='action' value='tools-import-trusted-certificate'/>
-import trusted certificate
-</portlet:renderURL>">import trusted certificate</a>
-</td>
-<td>
-<a href="<portlet:renderURL><portlet:param name='action' value='tools-generate-key-pair'/>
-generate key pair
-</portlet:renderURL>">generate key pair</a>&nbsp;
-</td>
+  <tr>
+    <td><b>Tools:</b></td>
+  </tr>
+  <tr>
+    <td>
+    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+    <a href="<portlet:renderURL><portlet:param name='action' value='tools-import-trusted-certificate'/>
+    import trusted certificate
+    </portlet:renderURL>">import trusted certificate</a>
+    </td>
+  </tr>
+  <tr>
+    <td>
+    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+    <a href="<portlet:renderURL><portlet:param name='action' value='tools-generate-key-pair'/>
+    generate key pair
+    </portlet:renderURL>">generate key pair</a>
+    </td>
+  </tr>
 <%--
-<td>
-<a href="<portlet:renderURL><portlet:param name='action' value='tools-change-keystore-password'/>
-change keystore password
-</portlet:renderURL>">change keystore password</a>&nbsp;
-</td>
+    <td>
+    <a href="<portlet:renderURL><portlet:param name='action' value='tools-change-keystore-password'/>
+    change keystore password
+    </portlet:renderURL>">change keystore password</a>&nbsp;
+    </td>
 --%>
-</tr>
 </table>
 
 <br/>
@@ -51,20 +59,34 @@
 
 <c:set var="ksitems" value="${requestScope['org.apache.geronimo.console.keystore.list']}"/>
 
-<table cellspacing="5">
-<th>details</th>
-<th>alias-name</th>
-<th>alias-type</th>
-<th>modified</th>
-<c:forEach items="${ksitems}" var="ksi">
-<tr>
-<td align="center" valign="top"><a href="<portlet:renderURL>
-<portlet:param name="action" value="view-keystore-entry-details"/>
-<portlet:param name="alias" value="${ksi.alias}"/>
-</portlet:renderURL>">view</a></td>
-<td align="center" valign="top"><c:out value="${ksi.alias}"/></td>
-<td align="center" valign="top"><c:out value="${ksi.type}"/></td>
-<td align="center" valign="top"><c:out value="${ksi.created}"/></td>
-</tr>
-</c:forEach>
-</table>
\ No newline at end of file
+<c:if test="${!empty ksitems}">  <%-- Do not show table if ksitems is empty (esp.
per above comment removing setting of ksitmes --%>
+  <table width="75%">
+    <tr class="DarkBackground">
+      <th>Details</th>
+      <th>Alias Name</th>
+      <th>Alias Type</th>
+      <th>Last Modified</th>
+    </tr>
+
+      <c:set var="backgroundClass" value='MediumBackground'/>
+      <c:forEach items="${ksitems}" var="ksi">
+      <c:choose>
+          <c:when test="${backgroundClass == 'MediumBackground'}" >
+              <c:set var="backgroundClass" value='LightBackground'/>
+          </c:when>
+          <c:otherwise>
+              <c:set var="backgroundClass" value='MediumBackground'/>
+          </c:otherwise>
+      </c:choose>
+      <tr>
+        <td class="${backgroundClass}" align="center" valign="top"><a href="<portlet:renderURL>
+        <portlet:param name="action" value="view-keystore-entry-details"/>
+        <portlet:param name="alias" value="${ksi.alias}"/>
+        </portlet:renderURL>">view</a></td>
+        <td class="${backgroundClass}" align="center" valign="top"><c:out value="${ksi.alias}"/></td>
+        <td class="${backgroundClass}" align="center" valign="top"><c:out value="${ksi.type}"/></td>
+        <td class="${backgroundClass}" align="center" valign="top"><c:out value="${ksi.created}"/></td>
+      </tr>
+      </c:forEach>
+  </table>
+</c:if>

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/dbwizard/list.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/dbwizard/list.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/dbwizard/list.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/dbwizard/list.jsp
Thu Nov 16 13:27:03 2006
@@ -12,15 +12,24 @@
 
 <table width="100%">
   <tr>
-    <td class="DarkBackground">Name</td>
-    <td class="DarkBackground" align="center">Deployed As</td>
-    <td class="DarkBackground" align="center">State</td>
-    <td class="DarkBackground" align="center">Actions</td>
+    <th class="DarkBackground" align="left">Name</th>
+    <th class="DarkBackground" align="center">Deployed As</th>
+    <th class="DarkBackground" align="center">State</th>
+    <th class="DarkBackground" align="center">Actions</th>
   </tr>
+<c:set var="backgroundClass" value='MediumBackground'/>
 <c:forEach var="pool" items="${pools}">
+  <c:choose>
+      <c:when test="${backgroundClass == 'MediumBackground'}" >
+          <c:set var="backgroundClass" value='LightBackground'/>
+      </c:when>
+      <c:otherwise>
+          <c:set var="backgroundClass" value='MediumBackground'/>
+      </c:otherwise>
+  </c:choose>
   <tr>
-    <td>${pool.name}</td>
-    <td>
+    <td class="${backgroundClass}">${pool.name}</td>
+    <td class="${backgroundClass}">
       <c:choose>
         <c:when test="${empty pool.parentName}">
           Server-wide
@@ -30,8 +39,8 @@
         </c:otherwise>
       </c:choose>
     </td>
-    <td>${pool.stateName}</td>
-    <td>
+    <td class="${backgroundClass}">${pool.stateName}</td>
+    <td class="${backgroundClass}">
          <%--<c:choose>
                <c:when test="${info.stateName eq 'running'}">
                <a href="<portlet:actionURL portletMode="view">

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp
Thu Nov 16 13:27:03 2006
@@ -2,27 +2,36 @@
 <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
 <portlet:defineObjects/>
 <table width="100%">
-    <tr>
-        <th>&nbsp;</th>
+    <tr class="DarkBackground">
+        <th class="LightBackground">&nbsp;</th>
         <th align="left">Name</th>
         <th align="left">State</th>
         <th align="left">Test Result</th>
     </tr>
+    <c:set var="backgroundClass" value='MediumBackground'/>
     <c:forEach var="info" items="${cFactories}"><tr>
-        <td><a href='<portlet:renderURL>
+        <c:choose>
+            <c:when test="${backgroundClass == 'MediumBackground'}" >
+                <c:set var="backgroundClass" value='LightBackground'/>
+            </c:when>
+            <c:otherwise>
+                <c:set var="backgroundClass" value='MediumBackground'/>
+            </c:otherwise>
+        </c:choose>
+        <td class="${backgroundClass}"><a href='<portlet:renderURL>
             <portlet:param name="name" value="${info.objectName}"/>
             <portlet:param name="mode" value="detail"/>
             </portlet:renderURL>'>detail</a>
         </td>
-        <td>${info.name}</td>
-        <td><c:choose>
+        <td class="${backgroundClass}">${info.name}</td>
+        <td class="${backgroundClass}"><c:choose>
             <c:when test='${info.state == 0}'>Starting</c:when>
             <c:when test='${info.state == 1}'>Running</c:when>
             <c:when test='${info.state == 2}'>Stopping</c:when>
             <c:when test='${info.state == 3}'>Stopped</c:when>
             <c:when test='${info.state == 4}'>Failed</c:when>
         </c:choose></td>
-        <td>
+        <td class="${backgroundClass}">
         		<c:if test="${!info.working}">
         			<a href='<portlet:renderURL>
         					<portlet:param name="name" value="${info.objectName}"/>

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp
Thu Nov 16 13:27:03 2006
@@ -11,21 +11,30 @@
   <tr>
     <td style="padding: 0 20px">
           <tr>
-            <td class="DarkBackground">Name</td>
-            <td class="DarkBackground" align="center">Broker</td>
-            <td class="DarkBackground" align="center">Protocol</td>
-            <td class="DarkBackground" align="center">Port</td>
-            <td class="DarkBackground" align="center">State</td>
-            <td class="DarkBackground" align="center">Actions</td>
+            <th class="DarkBackground">Name</th>
+            <th class="DarkBackground" align="center">Broker</th>
+            <th class="DarkBackground" align="center">Protocol</th>
+            <th class="DarkBackground" align="center">Port</th>
+            <th class="DarkBackground" align="center">State</th>
+            <th class="DarkBackground" align="center">Actions</th>
           </tr>
+<c:set var="backgroundClass" value='MediumBackground'/>
 <c:forEach var="info" items="${connectors}">
+          <c:choose>
+              <c:when test="${backgroundClass == 'MediumBackground'}" >
+                  <c:set var="backgroundClass" value='LightBackground'/>
+              </c:when>
+              <c:otherwise>
+                  <c:set var="backgroundClass" value='MediumBackground'/>
+              </c:otherwise>
+          </c:choose>
           <tr>
-            <td>${info.connectorName}</td>
-            <td>${info.brokerName}</td>
-            <td>${info.connector.protocol}</td>
-            <td>${info.connector.port}</td>
-            <td>${info.connector.stateInstance}</td>
-            <td>
+            <td class="${backgroundClass}">${info.connectorName}</td>
+            <td class="${backgroundClass}">${info.brokerName}</td>
+            <td class="${backgroundClass}">${info.connector.protocol}</td>
+            <td class="${backgroundClass}">${info.connector.port}</td>
+            <td class="${backgroundClass}">${info.connector.stateInstance}</td>
+            <td class="${backgroundClass}">
              <c:choose>
                <c:when test="${info.connector.stateInstance.name eq 'running'}">
                <a href="<portlet:actionURL portletMode="view">

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/server/normal.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/server/normal.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/server/normal.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/server/normal.jsp
Thu Nov 16 13:27:03 2006
@@ -10,18 +10,27 @@
 <table width="50%">
   <tr><td style="padding: 0 20px"></td></tr>
           <tr>
-            <td class="DarkBackground">Name</td>
-            <td class="DarkBackground" align="center">State</td>
+            <th class="DarkBackground">Name</th>
+            <th class="DarkBackground" align="center">State</th>
 <!--
-            <td class="DarkBackground" align="center">Actions</td>
+            <th class="DarkBackground" align="center">Actions</th>
 -->
           </tr>
+<c:set var="backgroundClass" value='MediumBackground'/>
 <c:forEach var="entry" items="${brokers}">
+          <c:choose>
+              <c:when test="${backgroundClass == 'MediumBackground'}" >
+                  <c:set var="backgroundClass" value='LightBackground'/>
+              </c:when>
+              <c:otherwise>
+                  <c:set var="backgroundClass" value='MediumBackground'/>
+              </c:otherwise>
+          </c:choose>
           <tr>
-            <td>${entry.brokerName}</td>
-            <td>${entry.broker.stateInstance}</td>
+            <td class="${backgroundClass}">${entry.brokerName}</td>
+            <td class="${backgroundClass}">${entry.broker.stateInstance}</td>
 <!--
-            <td>
+            <td class="${backgroundClass}">
              <c:choose>
                <c:when test="${entry.broker.stateInstance.name eq 'running'}">
                <a href="<portlet:actionURL portletMode="view">

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/view.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/view.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/view.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmsmanager/view.jsp
Thu Nov 16 13:27:03 2006
@@ -16,7 +16,7 @@
    </tr>
 
 </c:if>
-<tr>
+<tr class="DarkBackground">
   <th>
      Message Destination Name
   </th>
@@ -36,25 +36,34 @@
      Actions
   </th>
 </tr>
+  <c:set var="backgroundClass" value='MediumBackground'/>
   <c:forEach var="destination" items="${destinations}">
+  <c:choose>
+      <c:when test="${backgroundClass == 'MediumBackground'}" >
+          <c:set var="backgroundClass" value='LightBackground'/>
+      </c:when>
+      <c:otherwise>
+          <c:set var="backgroundClass" value='MediumBackground'/>
+      </c:otherwise>
+  </c:choose>
   <tr>
-      <td  align=CENTER>
+      <td class="${backgroundClass}" align=CENTER>
             <c:out value="${destination.name}"/>
       </td>
-      <td  align=CENTER>
+      <td class="${backgroundClass}" align=CENTER>
             <c:out value="${destination.physicalName}"/>
       </td>
-      <td  align=CENTER>
+      <td class="${backgroundClass}" align=CENTER>
             <c:out value="${destination.type}"/>
             &nbsp;
       </td>
-      <td  align=CENTER>
+      <td class="${backgroundClass}" align=CENTER>
             <c:out value="${destination.applicationName}"/>
       </td>
-      <td  align=CENTER>
+      <td class="${backgroundClass}" align=CENTER>
             <c:out value="${destination.moduleName}"/>
       </td>
-      <td  align=CENTER>
+      <td class="${backgroundClass}" align=CENTER>
 		<table border="0">
 		<tr>
          <td>

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmswizard/list.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmswizard/list.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmswizard/list.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmswizard/list.jsp
Thu Nov 16 13:27:03 2006
@@ -17,17 +17,26 @@
             <td colspan="5" style="padding-top: 10px"><b><c:out value="${resource.name}"/>
(<c:out value="${resource.configurationName}"/>)</b></td>
         </tr>
         <tr>
-          <td class="DarkBackground">Type</td>
-          <td class="DarkBackground">Name</td>
-          <td class="DarkBackground" align="center">Deployed As</td>
-          <td class="DarkBackground" align="center">State</td>
-          <td class="DarkBackground" align="center">Actions</td>
+          <th class="DarkBackground">Type</th>
+          <th class="DarkBackground">Name</th>
+          <th class="DarkBackground" align="center">Deployed As</th>
+          <th class="DarkBackground" align="center">State</th>
+          <th class="DarkBackground" align="center">Actions</th>
         </tr>
+        <c:set var="backgroundClass" value='MediumBackground'/>
         <c:forEach var="factory" items="${resource.connectionFactories}">
+            <c:choose>
+                <c:when test="${backgroundClass == 'MediumBackground'}" >
+                    <c:set var="backgroundClass" value='LightBackground'/>
+                </c:when>
+                <c:otherwise>
+                    <c:set var="backgroundClass" value='MediumBackground'/>
+                </c:otherwise>
+            </c:choose>
             <tr>
-              <td>Connection Factory</td>
-              <td>${factory.name}</td>
-              <td>
+              <td class="${backgroundClass}">Connection Factory</td>
+              <td class="${backgroundClass}">${factory.name}</td>
+              <td class="${backgroundClass}">
                 <c:choose>
                   <c:when test="${empty resource.parentName}">
                     Server-wide
@@ -37,8 +46,8 @@
                   </c:otherwise>
                 </c:choose>
               </td>
-              <td>${factory.stateName}</td>
-              <td>
+              <td class="${backgroundClass}">${factory.stateName}</td>
+              <td class="${backgroundClass}">
                 <%--
                 <a href="<portlet:actionURL portletMode="view">
                   <portlet:param name="mode" value="editExisting" />
@@ -57,10 +66,18 @@
             </tr>
         </c:forEach>
         <c:forEach var="admin" items="${resource.adminObjects}">
+            <c:choose>
+                <c:when test="${backgroundClass == 'MediumBackground'}" >
+                    <c:set var="backgroundClass" value='LightBackground'/>
+                </c:when>
+                <c:otherwise>
+                    <c:set var="backgroundClass" value='MediumBackground'/>
+                </c:otherwise>
+            </c:choose>
             <tr>
-              <td>${admin.type}</td>
-              <td>${admin.name}</td>
-              <td>
+              <td class="${backgroundClass}">${admin.type}</td>
+              <td class="${backgroundClass}">${admin.name}</td>
+              <td class="${backgroundClass}">
                 <c:choose>
                   <c:when test="${empty resource.parentName}">
                     Server-wide
@@ -70,8 +87,8 @@
                   </c:otherwise>
                 </c:choose>
               </td>
-              <td>${admin.stateName}</td>
-              <td>
+              <td class="${backgroundClass}">${admin.stateName}</td>
+              <td class="${backgroundClass}">
                 <%--
                 <a href="<portlet:actionURL portletMode="view">
                   <portlet:param name="mode" value="editExisting" />

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/securityrealmmanager/se/groups/maximized.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/securityrealmmanager/se/groups/maximized.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/securityrealmmanager/se/groups/maximized.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/securityrealmmanager/se/groups/maximized.jsp
Thu Nov 16 13:27:03 2006
@@ -1,23 +1,33 @@
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
 <portlet:defineObjects/>
-<table width="100%">
+<table width="50%" cellspacing="5">
     ${message}
 	<tr>
-		<td><a href="<portlet:actionURL portletMode="view"><portlet:param name="action"
value="new"/></portlet:actionURL>">Create New Group</a> </td>
-		<td >&nbsp;</td>
+        <td><a href="<portlet:actionURL portletMode="view"><portlet:param
name="action" value="new"/></portlet:actionURL>">Create New Group</a></td>
+        <td></td>
 	</tr>
-        <tr>
-            <td width="100">Group Name</td>
-            <td>&nbsp;</td>
-        </tr>
+    <tr class="DarkBackground">
+        <th>Group Name</th>
+        <th>Actions</th>
+    </tr>
+    <c:set var="backgroundClass" value='MediumBackground'/>
     <c:forEach var="group" items="${groupsInfo}">
-        <form action="<portlet:actionURL></portlet:actionURL>">
-        <input type="hidden" name="action" value="update">
-        <input type="hidden" name="group" value="${group.key}">
+        <c:choose>
+            <c:when test="${backgroundClass == 'MediumBackground'}" >
+                <c:set var="backgroundClass" value='LightBackground'/>
+            </c:when>
+            <c:otherwise>
+                <c:set var="backgroundClass" value='MediumBackground'/>
+            </c:otherwise>
+        </c:choose>
         <tr>
-            <td width="100"><a href="<portlet:actionURL portletMode="view"><portlet:param
name="action" value="edit"/><portlet:param name="group" value="${group.key}"/></portlet:actionURL>">${group.key}</a></td>
-            <td><a href="<portlet:actionURL><portlet:param name="group"
value="${group.key}"/><portlet:param name="action" value="delete"/></portlet:actionURL>"
onclick="return confirm('Confirm Delete group ${group.key}?');">Delete</a></td>
+            <td class="${backgroundClass}"> ${group.key} </td>
+            <td class="${backgroundClass}">
+            <a href="<portlet:actionURL portletMode="view"><portlet:param name="action"
value="edit"/><portlet:param name="group" value="${group.key}"/></portlet:actionURL>">Details</a>
+            &nbsp;
+            <a href="<portlet:actionURL><portlet:param name="group" value="${group.key}"/><portlet:param
name="action" value="delete"/></portlet:actionURL>" onclick="return confirm('Confirm
Delete group ${group.key}?');">Delete</a>
+            </td>
         </tr>
         </form>
     </c:forEach>

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/securityrealmmanager/se/users/maximized.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/securityrealmmanager/se/users/maximized.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/securityrealmmanager/se/users/maximized.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/securityrealmmanager/se/users/maximized.jsp
Thu Nov 16 13:27:03 2006
@@ -27,25 +27,33 @@
     return value.length < 1;
 }
 </script>
-<table width="100%" cellspacing="5">
+<table width="50%" cellspacing="5">
     ${message}
 	<tr>
 		<td><a href="<portlet:actionURL portletMode="view"><portlet:param name="action"
value="new"/></portlet:actionURL>">Create New User</a> </td>
 		<td></td>
 	</tr>
-        <tr>
-            <td>Username</td>
-            <td>&nbsp;</td>
-        </tr>
-     <c:set var="count" value="1"/>
+    <tr class="DarkBackground">
+        <th>Username</th>
+        <th>Actions</th>
+    </tr>
+    <c:set var="backgroundClass" value='MediumBackground'/>
     <c:forEach var="user" items="${userInfo}">
+        <c:choose>
+            <c:when test="${backgroundClass == 'MediumBackground'}" >
+                <c:set var="backgroundClass" value='LightBackground'/>
+            </c:when>
+            <c:otherwise>
+                <c:set var="backgroundClass" value='MediumBackground'/>
+            </c:otherwise>
+        </c:choose>
         <tr>
-            <td width="100">
-            <a href = "<portlet:actionURL portletMode="view"><portlet:param name="action"
value="edit"/><portlet:param name="userId" value="${user.key}"/></portlet:actionURL>">
-            ${user.key}
-            </a>
+            <td class="${backgroundClass}"> ${user.key} </td>
+            <td class="${backgroundClass}">
+            <a href = "<portlet:actionURL portletMode="view"><portlet:param name="action"
value="edit"/><portlet:param name="userId" value="${user.key}"/></portlet:actionURL>">Details</a>
+            &nbsp;
+            <a href="<portlet:actionURL><portlet:param name="userId" value="${user.key}"/><portlet:param
name="action" value="delete"/></portlet:actionURL>" onclick="return confirm('Confirm
Delete user ${user.key}?');">Delete</a>
             </td>
-            <td><a href="<portlet:actionURL><portlet:param name="userId"
value="${user.key}"/><portlet:param name="action" value="delete"/></portlet:actionURL>"
onclick="return confirm('Confirm Delete user ${user.key}?');">Delete</a></td>
         </tr>
     </c:forEach>
     

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/threads/list.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/threads/list.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/threads/list.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/threads/list.jsp
Thu Nov 16 13:27:03 2006
@@ -8,15 +8,24 @@
 
 <table width="100%">
   <tr>
-    <td class="DarkBackground">Name</td>
-    <td class="DarkBackground" align="center">Size</td>
-    <td class="DarkBackground" align="center">Actions</td>
+    <th class="DarkBackground">Name</th>
+    <th class="DarkBackground" align="center">Size</th>
+    <th class="DarkBackground" align="center">Actions</th>
   </tr>
+<c:set var="backgroundClass" value='MediumBackground'/>
 <c:forEach var="pool" items="${pools}">
+  <c:choose>
+      <c:when test="${backgroundClass == 'MediumBackground'}" >
+          <c:set var="backgroundClass" value='LightBackground'/>
+      </c:when>
+      <c:otherwise>
+          <c:set var="backgroundClass" value='MediumBackground'/>
+      </c:otherwise>
+  </c:choose>
   <tr>
-    <td>${pool.name}</td>
-    <td>${pool.poolSize}</td>
-    <td>
+    <td class="${backgroundClass}">${pool.name}</td>
+    <td class="${backgroundClass}">${pool.poolSize}</td>
+    <td class="${backgroundClass}">
       <a href="<portlet:actionURL portletMode="view">
         <portlet:param name="mode" value="monitor-before" />
         <portlet:param name="abstractName" value="${pool.abstractName}" />

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/normal.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/normal.jsp?view=diff&rev=475934&r1=475933&r2=475934
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/normal.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/normal.jsp
Thu Nov 16 13:27:03 2006
@@ -14,20 +14,29 @@
           <c:otherwise>
 <table width="100%">
           <tr>
-            <td class="DarkBackground">Name</td>
-            <td class="DarkBackground" align="center">Protocol</td>
-            <td class="DarkBackground" align="center">Port</td>
-            <td class="DarkBackground" align="center">State</td>
-            <td class="DarkBackground" align="center">Actions</td>
-            <td class="DarkBackground" align="center">Type</td>
+            <th class="DarkBackground" align="left">Name</th>
+            <th class="DarkBackground" align="center">Protocol</th>
+            <th class="DarkBackground" align="center">Port</th>
+            <th class="DarkBackground" align="center">State</th>
+            <th class="DarkBackground" align="center">Actions</th>
+            <th class="DarkBackground" align="center">Type</th>
           </tr>
+<c:set var="backgroundClass" value='MediumBackground'/>
 <c:forEach var="info" items="${container.connectors}">
+      <c:choose>
+          <c:when test="${backgroundClass == 'MediumBackground'}" >
+              <c:set var="backgroundClass" value='LightBackground'/>
+          </c:when>
+          <c:otherwise>
+              <c:set var="backgroundClass" value='MediumBackground'/>
+          </c:otherwise>
+      </c:choose>
           <tr>
-            <td>${info.displayName}</td>
-            <td>${info.protocol}</td>
-            <td>${info.port}</td>
-            <td>${info.stateName}</td>
-            <td>
+            <td class="${backgroundClass}">${info.displayName}</td>
+            <td class="${backgroundClass}">${info.protocol}</td>
+            <td class="${backgroundClass}">${info.port}</td>
+            <td class="${backgroundClass}">${info.stateName}</td>
+            <td class="${backgroundClass}">
              <c:choose>
                <c:when test="${info.stateName eq 'running'}">
                <a href="<portlet:actionURL portletMode="view">
@@ -61,7 +70,7 @@
                  <portlet:param name="containerURI" value="${container.containerURI}"
/>
                </portlet:actionURL>" onClick="return confirm('Are you sure you want
to delete ${info.displayName}?');">delete</a>
             </td>
-            <td>${info.description}</td>
+            <td class="${backgroundClass}">${info.description}</td>
           </tr>
 </c:forEach>
 </table>



Mime
View raw message