Author: chris.laprun(a)jboss.com
Date: 2007-09-24 00:56:31 -0400 (Mon, 24 Sep 2007)
New Revision: 8450
Added:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/common/
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/common/tabContainer.xhtml
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/consumerTemplate.xhtml
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/producer.xhtml
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Activate.gif
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Configure.gif
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Deactivate.gif
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Delete.gif
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/pathBackground.png
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/pathSeparator.png
Modified:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/faces-config.xml
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/consumers.xhtml
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/editConsumer.xhtml
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/wsrp-object.xml
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/style.css
Log:
- JBPORTAL-1684: updated WSRP admin GUI to be in synch with rest of admin portlets.
- Added placeholders for producer configuration (need a JIRA task but JIRA is down at the
moment).
Modified:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/faces-config.xml
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/faces-config.xml 2007-09-23
14:04:41 UTC (rev 8449)
+++
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/faces-config.xml 2007-09-24
04:56:31 UTC (rev 8450)
@@ -85,5 +85,9 @@
<from-outcome>configureConsumer</from-outcome>
<to-view-id>/WEB-INF/jsf/consumers/editConsumer.xhtml</to-view-id>
</navigation-case>
+ <navigation-case>
+ <from-outcome>producer</from-outcome>
+ <to-view-id>/WEB-INF/jsf/producer.xhtml</to-view-id>
+ </navigation-case>
</navigation-rule>
</faces-config>
Copied:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/common/tabContainer.xhtml
(from rev 8435,
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/common/tabContainer.xhtml)
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/common/tabContainer.xhtml
(rev 0)
+++
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/common/tabContainer.xhtml 2007-09-24
04:56:31 UTC (rev 8450)
@@ -0,0 +1,10 @@
+<ui:composition
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+
+ <div class="tab-container">
+ <ui:insert name="tab-container-content"/>
+ </div>
+
+</ui:composition>
\ No newline at end of file
Added:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/consumerTemplate.xhtml
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/consumerTemplate.xhtml
(rev 0)
+++
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/consumerTemplate.xhtml 2007-09-24
04:56:31 UTC (rev 8450)
@@ -0,0 +1,50 @@
+<div class="wsrp-consumers-ui"
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:c="http://java.sun.com/jstl/core">
+
+ <h:form>
+ <ul class="topnav">
+ <li id="currentTab">Consumers</li>
+ <li>
+ <h:commandLink value="Producer"
action="producer"/>
+ </li>
+ </ul>
+ </h:form>
+
+
+ <ui:decorate template="../common/tabContainer.xhtml">
+ <ui:define name="tab-container-content">
+
+ <h:form>
+ <ul class="objectpath">
+ <li class="#{!empty title ? 'selected' :
'pathItem'}">
+ <h:commandLink action="#{consumersMgr.listConsumers}"
value="Consumers"/>
+ </li>
+ <c:if test="#{empty title}">
+ <li class="pathSeparator"><h:graphicImage
url="/img/pathSeparator.png" alt=">"/></li>
+ <li
+ class="#{consumer.active ? 'active' :
'inactive'} #{consumer.refreshNeeded ? 'needsRefresh' :
''}">
+ Consumer '#{consumer.id}' configuration (#{consumer.active ?
'active' : 'inactive'})
+ #{consumer.refreshNeeded ? '(refresh needed)' : ''}
+ </li>
+ </c:if>
+ </ul>
+ </h:form>
+
+ <c:if test="#{!empty title}">
+ <h3 class="sectionTitle">${title}</h3>
+ </c:if>
+
+ <!-- Status message -->
+ <h:message id="status" for="status"
infoClass="portlet-msg-success" errorClass="portlet-msg-error"
+ fatalClass="portlet-msg-error"
warnClass="portlet-msg-alert"/>
+
+ <!-- Content -->
+ <ui:insert name="content">Content</ui:insert>
+
+ </ui:define>
+ </ui:decorate>
+</div>
\ No newline at end of file
Modified:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/consumers.xhtml
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/consumers.xhtml 2007-09-23
14:04:41 UTC (rev 8449)
+++
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/consumers.xhtml 2007-09-24
04:56:31 UTC (rev 8450)
@@ -1,69 +1,81 @@
-<div class="wsrp-consumers-ui"
-
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:c="http://java.sun.com/jstl/core">
+<div
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:c="http://java.sun.com/jstl/core">
- <h:form style="padding: 1em 0;">
- Create a consumer named: <h:inputText
value="#{consumersMgr.selectedId}" id="consumerName"/>
- <h:message styleClass="error" for="consumerName"/>
- <h:commandButton action="#{consumersMgr.createConsumer}"
value="Create Consumer"
- styleClass="portlet-form-button"/>
- </h:form>
+ <ui:composition template="consumerTemplate.xhtml">
- <hr style="margin: 1em 0 2em;"/>
+ <ui:param name="title" value="Manage Consumers"/>
- <h:messages errorClass="error" infoClass="info"/>
+ <ui:define name="content">
- <table width="100%" class="portlet-table-body"
style="margin-bottom: 1em;">
- <thead>
- <tr class="portlet-table-header">
- <th>Consumer
- <div style="font-size: 75%; display:inline; font-weight:
normal;">
- [status: <span class="active">active</span>,
<span class="inactive">inactive</span>,
- <span class="needsRefresh">needs refresh</span>]
- </div>
- </th>
- <th>Actions</th>
- </tr>
- </thead>
- <tbody>
- <h:form>
- <c:forEach items="#{consumersMgr.consumers}"
var="consumer" varStatus="status">
+ <!-- Consumer creation -->
+ <h:form styleClass="createObjectForm">
+ <span class="portlet-font">Create a consumer named:
</span>
+ <h:inputText value="#{consumersMgr.selectedId}"
id="consumerName" styleClass="portlet-form-input-field"
+ required="true"/>
+ <h:commandButton action="#{consumersMgr.createConsumer}"
value="Create Consumer"
+ styleClass="portlet-form-button"/>
+ <h:message for="consumerName"
errorClass="portlet-msg-error"/>
+ </h:form>
+
+ <!-- Separation -->
+ <hr/>
+
+ <table width="100%" class="portlet-table-body"
style="margin-bottom: 1em;">
+ <thead class="portlet-section-header">
<tr>
- <td
- class="#{consumer.active ? 'active' :
'inactive'} #{consumer.refreshNeeded ? 'needsRefresh' :
''}">
- <h:outputText value="#{consumer.producerId}
(#{consumer.active ? 'active' : 'inactive'})
+ <th>Consumer
+ <div style="font-size: 90%; display:inline; font-weight:
normal;">
+ [status: <span
class="active">active</span>, <span
class="inactive">inactive</span>,
+ <span class="needsRefresh">needs
refresh</span>]
+ </div>
+ </th>
+ <th>Actions</th>
+ </tr>
+ </thead>
+ <tbody>
+ <h:form>
+ <c:forEach items="#{consumersMgr.consumers}"
var="consumer" varStatus="status">
+ <tr>
+ <td
+ class="#{consumer.active ? 'active' :
'inactive'} #{consumer.refreshNeeded ? 'needsRefresh' :
''}">
+ <h:outputText value="#{consumer.producerId}
(#{consumer.active ? 'active' : 'inactive'})
#{consumer.refreshNeeded ? '(refresh needed)' :
''}"/>
- </td>
- <td class="#{status.index % 2 == 0 ?
'portlet-section-body' : 'portlet-section-alternate'}">
- <h:commandLink
action="#{consumersMgr.configureConsumer}">
- <f:param name="id"
value="#{consumer.producerId}"/>
- <h:outputText value="Configure"/>
- </h:commandLink> | <h:commandLink
action="#{consumersMgr.refreshConsumer}">
- <f:param name="id"
value="#{consumer.producerId}"/>
- <h:outputText value="Refresh"/>
- </h:commandLink> | <h:commandLink
action="#{consumersMgr.activateConsumer}">
- <f:param name="id"
value="#{consumer.producerId}"/>
- <f:param name="activate"
value="#{!consumer.active}"/>
- <h:outputText value="#{consumer.active ?
'Deactivate' : 'Activate'}"/>
- </h:commandLink>
- <c:if
- test="#{!consumer.refreshNeeded and consumer.active and
consumer.producerInfo.registrationRequired}">
- | <h:commandLink
action="#{consumersMgr.registerConsumer}">
- <f:param name="id"
value="#{consumer.producerId}"/>
- <f:param name="register"
value="#{!consumer.producerInfo.registered}"/>
- <h:outputText value="#{consumer.producerInfo.registered ?
'Deregister' : 'Register'}"/>
- </h:commandLink>
- </c:if> | <h:commandLink
action="#{consumersMgr.destroyConsumer}">
- <f:param name="id"
value="#{consumer.producerId}"/>
- <h:outputText value="Delete"/>
- </h:commandLink>
- </td>
- </tr>
- </c:forEach>
- </h:form>
- </tbody>
- </table>
+ </td>
+ <td class="#{status.index % 2 == 0 ?
'portlet-section-body' : 'portlet-section-alternate'}">
+ <h:commandLink
action="#{consumersMgr.configureConsumer}"
styleClass="actionConfigure">
+ <f:param name="id"
value="#{consumer.producerId}"/>
+ <h:outputText value="Configure"/>
+ </h:commandLink> | <h:commandLink
action="#{consumersMgr.refreshConsumer}"
+
styleClass="actionRefresh">
+ <f:param name="id"
value="#{consumer.producerId}"/>
+ <h:outputText value="Refresh"/>
+ </h:commandLink> | <h:commandLink
action="#{consumersMgr.activateConsumer}"
+
styleClass="#{consumer.active ? 'actionDeactivate' :
'actionActivate'}">
+ <f:param name="id"
value="#{consumer.producerId}"/>
+ <f:param name="activate"
value="#{!consumer.active}"/>
+ <h:outputText value="#{consumer.active ?
'Deactivate' : 'Activate'}"/>
+ </h:commandLink>
+ <c:if
+ test="#{!consumer.refreshNeeded and consumer.active
and consumer.producerInfo.registrationRequired}">
+ | <h:commandLink
action="#{consumersMgr.registerConsumer}">
+ <f:param name="id"
value="#{consumer.producerId}"/>
+ <f:param name="register"
value="#{!consumer.producerInfo.registered}"/>
+ <h:outputText
value="#{consumer.producerInfo.registered ? 'Deregister' :
'Register'}"/>
+ </h:commandLink>
+ </c:if> | <h:commandLink
action="#{consumersMgr.destroyConsumer}"
styleClass="actionDelete">
+ <f:param name="id"
value="#{consumer.producerId}"/>
+ <h:outputText value="Delete"/>
+ </h:commandLink>
+ </td>
+ </tr>
+ </c:forEach>
+ </h:form>
+ </tbody>
+ </table>
+ </ui:define>
+ </ui:composition>
</div>
\ No newline at end of file
Modified:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/editConsumer.xhtml
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/editConsumer.xhtml 2007-09-23
14:04:41 UTC (rev 8449)
+++
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/editConsumer.xhtml 2007-09-24
04:56:31 UTC (rev 8450)
@@ -1,20 +1,21 @@
-<div class="wsrp-consumer-ui"
-
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:c="http://java.sun.com/jstl/core">
+<div
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:c="http://java.sun.com/jstl/core">
-<h1
- class="portlet-section-header #{consumer.active ? 'active' :
'inactive'} #{consumer.refreshNeeded ? 'needsRefresh' :
''}">
- Consumer '#{consumer.id}' configuration (#{consumer.active ? 'active'
: 'inactive'})
- #{consumer.refreshNeeded ? '(refresh needed)' : ''}</h1>
+<ui:composition template="consumerTemplate.xhtml">
+<ui:param name="title" value=""/>
+
+<ui:define name="content">
+
<hr/>
<h:form>
<h:messages errorClass="error" infoClass="info"/>
-<table width="100%" class="portlet-table-body">
+<table width="100%" class="portlet-table-body #{consumer.active ?
'active' : 'inactive'}">
<tr>
<th>Producer id:</th>
<td>
@@ -174,4 +175,6 @@
</tr>
</table>
</h:form>
+</ui:define>
+</ui:composition>
</div>
\ No newline at end of file
Added:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/producer.xhtml
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/producer.xhtml
(rev 0)
+++
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/producer.xhtml 2007-09-24
04:56:31 UTC (rev 8450)
@@ -0,0 +1,31 @@
+<div class="wsrp-consumers-ui"
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:c="http://java.sun.com/jstl/core">
+
+ <h:form>
+ <ul class="topnav">
+ <li><h:commandLink action="#{consumersMgr.listConsumers}"
value="Consumers"/></li>
+ <li class="currentTab">Producer</li>
+ </ul>
+ </h:form>
+
+
+ <ui:decorate template="common/tabContainer.xhtml">
+ <ui:define name="tab-container-content">
+ <h3 class="sectionTitle">Producer configuration</h3>
+
+ <!-- Status message -->
+ <h:message id="status" for="status"
infoClass="portlet-msg-success" errorClass="portlet-msg-error"
+ fatalClass="portlet-msg-error"
warnClass="portlet-msg-alert"/>
+
+ <p>Feature not quite ready yet! Please refer to Portal's
+ <a
href="http://docs.jboss.com/jbportal/v2.6/referenceGuide/html/wsrp.h...
to
+ learn how to configure JBoss Portal's WSRP producer.
+ </p>
+
+ </ui:define>
+ </ui:decorate>
+</div>
\ No newline at end of file
Modified:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/wsrp-object.xml
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/wsrp-object.xml 2007-09-23
14:04:41 UTC (rev 8449)
+++
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/wsrp-object.xml 2007-09-24
04:56:31 UTC (rev 8450)
@@ -22,7 +22,8 @@
~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org. ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
-<!DOCTYPE deployments PUBLIC "-//JBoss Portal//DTD Portal Object 2.6//EN"
"http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
+<!DOCTYPE deployments PUBLIC "-//JBoss Portal//DTD Portal Object 2.6//EN"
+ "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
<deployments>
<deployment>
@@ -36,12 +37,24 @@
<role-name>Admin</role-name>
</policy-permission>
</security-constraint>
+ <properties>
+ <property>
+ <name>layout.id</name>
+ <value>1column</value>
+ </property>
+ </properties>
<window>
<window-name>WSRPConsumersConfigurationPortletWindow</window-name>
<instance-ref>WSRPConsumersConfigurationPortletInstance</instance-ref>
<region>center</region>
<height>0</height>
- </window>
+ <properties>
+ <property>
+ <name>theme.renderSetId</name>
+ <value>emptyRenderer</value>
+ </property>
+ </properties>
+ </window>
</page>
</deployment>
</deployments>
Copied:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Activate.gif
(from rev 8435,
branches/JBoss_Portal_Branch_2_6/core-admin/src/bin/portal-admin-war/img/actionIcon_IsDefault.gif)
===================================================================
(Binary files differ)
Property changes on:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Activate.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Copied:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Configure.gif
(from rev 8435,
branches/JBoss_Portal_Branch_2_6/core-admin/src/bin/portal-admin-war/img/actionIcon_Details.gif)
===================================================================
(Binary files differ)
Property changes on:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Configure.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Copied:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Deactivate.gif
(from rev 8435,
branches/JBoss_Portal_Branch_2_6/core-admin/src/bin/portal-admin-war/img/actionIcon_MakeDefault.gif)
===================================================================
(Binary files differ)
Property changes on:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Deactivate.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Copied:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/actionIcon_Delete.gif
(from rev 8435,
branches/JBoss_Portal_Branch_2_6/core-admin/src/bin/portal-admin-war/img/actionIcon_Delete.gif)
===================================================================
(Binary files differ)
Copied:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/pathBackground.png
(from rev 8435,
branches/JBoss_Portal_Branch_2_6/core-admin/src/bin/portal-admin-war/img/pathBackground.png)
===================================================================
(Binary files differ)
Copied:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/img/pathSeparator.png
(from rev 8435,
branches/JBoss_Portal_Branch_2_6/core-admin/src/bin/portal-admin-war/img/pathSeparator.png)
===================================================================
(Binary files differ)
Modified:
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/style.css
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/style.css 2007-09-23
14:04:41 UTC (rev 8449)
+++
branches/JBoss_Portal_Branch_2_6/core-wsrp/src/resources/portal-wsrp-admin-war/style.css 2007-09-24
04:56:31 UTC (rev 8450)
@@ -1,70 +1,264 @@
-.wsrp-consumers-ui table, .wsrp-consumer-ui table {
+.wsrp-consumers-ui table {
border: 0;
border-collapse: separate;
}
-.wsrp-consumers-ui th {
- text-align: left;
+.wsrp-consumers-ui form {
+ margin: 0;
border: 0;
- border-bottom: 1px solid;
}
+/* Top nav. */
+
+.wsrp-consumers-ui ul.topnav {
+ padding: 4px 0px 3px;
+ border-bottom: 1px solid #b3c0c7;
+ margin: 0;
+}
+
+.wsrp-consumers-ui ul.topnav li {
+ list-style-type: none;
+ display: inline;
+ margin: 0;
+ padding: 3px 0.5em;
+ margin-left: 5px;
+ border: 1px solid #b3c0c7;
+ border-bottom: none;
+ background-color: #f2f4f5;
+}
+
+.wsrp-consumers-ui ul.topnav li:hover {
+ background-color: #fff;
+}
+
+.wsrp-consumers-ui ul.topnav li#currentTab {
+ background-color: white;
+ border-bottom: 1px solid white;
+}
+
+.wsrp-consumers-ui ul.topnav li#currentTab a:hover {
+}
+
+.wsrp-consumers-ui div.tab-container {
+ border-bottom: 1px solid #B3C0C7;
+ border-right: 1px solid #B3C0C7;
+ border-left: 1px solid #B3C0C7;
+ padding: 15px 0 10px 0;
+}
+
+/* Object path. */
+
+.wsrp-consumers-ui ul.objectpath {
+ list-style-type: none;
+ font-size: 11px;
+ border: solid 1px #bbb;
+ border-left: solid 1px #eee;
+ border-right: solid 1px #eee;
+ background-color: #d5d5d5;
+ background-image: url( img/pathBackground.png );
+ background-position: left;
+ background-repeat: repeat-x;
+ height: 21px;
+ margin: 0px;
+ padding: 0px;
+ padding-left: 2px;
+}
+
+.wsrp-consumers-ui ul.objectpath li {
+ list-style-type: none;
+ display: block;
+ float: left;
+}
+
+.wsrp-consumers-ui ul li.pathItem {
+ padding-top: 4px;
+ padding-left: 3px;
+ padding-right: 2px;
+}
+
+.wsrp-consumers-ui ul.objectpath li.selected {
+ font-weight: bold;
+ padding-top: 4px;
+ padding-left: 3px;
+ padding-right: 2px;
+}
+
+.wsrp-consumers-ui ul.objectpath a {
+ color: #333333;
+ text-decoration: none;
+}
+
+.wsrp-consumers-ui ul.objectpath a:hover {
+ color: #5078aa;
+ text-decoration: none;
+}
+
+/* Override theme styles */
+.wsrp-consumers-ui h3.sectionTitle {
+ font-weight: bold;
+ color: #656565;
+ font-size: 11px;
+ border-top: 1px solid #999;
+ background-color: #ebf2f5;
+ padding: 2px;
+ padding-left: 4px;
+}
+
+.wsrp-consumers-ui .portlet-section-header {
+ background-image: url( img/pathBackground.png );
+ background-position: left;
+ background-repeat: repeat-x;
+ font-weight: bold;
+ color: #656565;
+ font-size: 10px;
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #999;
+ padding-left: 4px;
+}
+
+.wsrp-consumers-ui .portlet-section-header th {
+ background-image: url( img/pathBackground.png );
+ background-position: left;
+ background-repeat: repeat-x;
+ font-weight: bold;
+ color: #656565;
+ font-size: 10px;
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #999;
+ padding-left: 4px;
+}
+
+.wsrp-consumers-ui .actionConfigure {
+ background-image: url( img/actionIcon_Configure.gif );
+ background-position: left;
+ background-repeat: no-repeat;
+ line-height: 14px;
+ padding-left: 18px;
+ white-space: nowrap;
+}
+
+.wsrp-consumers-ui .actionDelete {
+ background-image: url( img/actionIcon_Delete.gif );
+ background-position: left;
+ background-repeat: no-repeat;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ line-height: 18px;
+ padding-left: 18px;
+ white-space: nowrap;
+}
+
+.wsrp-consumers-ui .actionActivate {
+ background-image: url( img/actionIcon_Activate.gif );
+ background-position: left;
+ background-repeat: no-repeat;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ line-height: 18px;
+ padding-left: 18px;
+ white-space: nowrap;
+}
+
+.wsrp-consumers-ui .actionDeactivate {
+ background-image: url( img/actionIcon_Deactivate.gif );
+ background-position: left;
+ background-repeat: no-repeat;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ line-height: 18px;
+ padding-left: 18px;
+ white-space: nowrap;
+}
+
.wsrp-consumers-ui td {
border: 0;
padding-bottom: 2px;
padding-top: 2px;
}
-.wsrp-consumer-ui th {
+.wsrp-consumers-ui th {
text-align: left;
border: 0;
vertical-align: top;
}
-.wsrp-consumer-ui td {
- border: 0;
- padding-bottom: 2px;
- padding-top: 2px;
+.wsrp-consumers-ui .active {
+ background-color: #C7DDB7;
+ font-weight: bold;
}
-.wsrp-consumers-ui .active, .wsrp-consumer-ui .active {
+.wsrp-consumers-ui table.active {
+ border-bottom: 4px solid #C7DDB7;
+ border-top: 4px solid #C7DDB7;
+ background: inherit;
+ font-weight: normal;
+}
+
+.wsrp-consumers-ui li.active {
+ font-weight: normal;
+ padding-top: 4px;
+ padding-left: 3px;
+ padding-right: 2px;
+ background: inherit;
+}
+
+.wsrp-consumers-ui li.active:before {
+ content: "__";
+ padding: 1px;
background-color: #C7DDB7;
- font-weight: bold;
+ color: #C7DDB7;
+ border: 1px solid #999;
}
-.wsrp-consumers-ui .inactive, .wsrp-consumer-ui .inactive {
+.wsrp-consumers-ui .inactive {
background-color: #EBD1B8;
}
-.wsrp-consumers-ui .needsRefresh, .wsrp-consumer-ui .needsRefresh {
+.wsrp-consumers-ui table.inactive {
+ border-bottom: 4px solid #EBD1B8;
+ border-top: 4px solid #EBD1B8;
+ background: inherit;
+}
+
+.wsrp-consumers-ui li.inactive {
+ font-weight: normal;
+ padding-top: 4px;
+ padding-left: 3px;
+ padding-right: 2px;
+ background: inherit;
+}
+
+.wsrp-consumers-ui li.inactive:before {
+ content: "__";
+ padding: 1px;
+ background-color: #EBD1B8;
+ color: #EBD1B8;
+ border: 1px solid #999;
+}
+
+.wsrp-consumers-ui .needsRefresh {
font-style: italic;
}
-.wsrp-consumer-ui .registration-prop-table {
+.wsrp-consumers-ui .registration-prop-table {
text-align: left;
border: 0;
border-collapse: separate;
}
-.wsrp-consumer-ui .portlet-form-button {
+.wsrp-consumers-ui .portlet-form-button {
padding: .2em;
margin: 0 .3em;
}
-.error {
- font-weight: bold;
- color: red;
+.portlet-msg-status:before {
+ content: "Info: "
}
-.error:before {
+.portlet-msg-error:before {
content: "Error: "
}
-.info {
- font-weight: bold;
- color: green;
-}
-
-.info:before {
- content: "Info: "
+.portlet-msg-alert:before {
+ content: "Warning: "
}
\ No newline at end of file