Author: chris.laprun(a)jboss.com
Date: 2007-03-15 17:51:04 -0400 (Thu, 15 Mar 2007)
New Revision: 6703
Modified:
trunk/wsrp/src/resources/portal-wsrp-war/WEB-INF/jsf/consumers/consumers.xhtml
trunk/wsrp/src/resources/portal-wsrp-war/style.css
Log:
- Now highlight consumers based on activation status.
- Removed footer.
Modified: trunk/wsrp/src/resources/portal-wsrp-war/WEB-INF/jsf/consumers/consumers.xhtml
===================================================================
---
trunk/wsrp/src/resources/portal-wsrp-war/WEB-INF/jsf/consumers/consumers.xhtml 2007-03-15
21:36:24 UTC (rev 6702)
+++
trunk/wsrp/src/resources/portal-wsrp-war/WEB-INF/jsf/consumers/consumers.xhtml 2007-03-15
21:51:04 UTC (rev 6703)
@@ -11,25 +11,26 @@
<h:form>
<table width="100%" class="portlet-table-body">
- <thead class="portlet-table-header">
- <tr>
+ <thead>
+ <tr class="portlet-table-header">
<th>Consumer</th>
<th>Actions</th>
</tr>
- </thead>
- <tfoot class="portlet-table-footer">
<tr>
- <th>Consumer</th>
- <th>Actions</th>
+ <td colspan="2">Legend:
+ <span class="active">active</span>
+ <span class="inactive">inactive</span>
+ </td>
</tr>
- </tfoot>
+ </thead>
<tbody>
- <c:forEach items="#{consumersMgr.consumers}"
var="consumer" varStatus="status">
- <tr class="status.index % 2 == 0 ? 'portlet-table-body' :
'portlet-table-alternate'">
+ <c:forEach items="#{consumersMgr.consumers}"
var="consumer">
+ <tr class="#{consumer.producerInfo.active ? 'active' :
'inactive'}">
<td>
<h:commandLink
action="#{consumersMgr.configureConsumer}">
<f:param name="id"
value="#{consumer.producerId}"/>
- <h:outputText value="#{consumer.producerId}"/>
+ <h:outputText
+ value="#{consumer.producerId}
(#{consumer.producerInfo.active ? 'active' : 'inactive'})"/>
</h:commandLink>
</td>
<td>
Modified: trunk/wsrp/src/resources/portal-wsrp-war/style.css
===================================================================
--- trunk/wsrp/src/resources/portal-wsrp-war/style.css 2007-03-15 21:36:24 UTC (rev 6702)
+++ trunk/wsrp/src/resources/portal-wsrp-war/style.css 2007-03-15 21:51:04 UTC (rev 6703)
@@ -26,4 +26,13 @@
border: 0;
padding-bottom: 2px;
padding-top: 2px;
+}
+
+.active {
+ background-color: #C7DDB7;
+ font-weight: bold;
+}
+
+.inactive {
+ background-color: #EBD1B8;
}
\ No newline at end of file