Author: julien(a)jboss.com
Date: 2007-02-27 12:26:17 -0500 (Tue, 27 Feb 2007)
New Revision: 6431
Modified:
trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageLayout.xhtml
Log:
added portlet styles in the layout editor
Modified: trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml 2007-02-27
16:56:45 UTC (rev 6430)
+++ trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml 2007-02-27
17:26:17 UTC (rev 6431)
@@ -7,22 +7,25 @@
xmlns:pfc="http://www.jboss.com/portal/facelet/common">
<h:selectOneListbox
- value="#{contentURI}">
+ value="#{contentURI}"
+ styleClass="portlet-form-field">
<f:selectItems value="#{registry.editors.portlet.instanceItems}"/>
</h:selectOneListbox>
- <br />
+ <br/>
<pfc:context>
<ui:param name="instance"
value="#{registry.editors.portlet.instanceMap[contentURI]}"/>
<ui:param name="portlet" value="#{instance.portlet}"/>
<h:panelGroup rendered="#{instance != null}">
- <h:outputText value="#{instance.id}"/>
+ <h:outputText value="#{instance.id}"
styleClass="portlet-font"/>
<br />
<h:panelGroup rendered="#{portlet != null}">
- <h:outputText value="Portlet #{portlet.name} -
#{portlet.description}"/>
+ <h:outputText
+ styleClass="portlet-font"
+ value="Portlet #{portlet.name} - #{portlet.description}"/>
</h:panelGroup>
</h:panelGroup>
</pfc:context>
- <br />
- <h:commandButton value="Show details"
class="portlet-form-button"/>
+ <br/>
+ <h:commandButton value="Show details"
styleClass="portlet-form-button"/>
</div>
\ No newline at end of file
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageLayout.xhtml
===================================================================
---
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageLayout.xhtml 2007-02-27
16:56:45 UTC (rev 6430)
+++
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageLayout.xhtml 2007-02-27
17:26:17 UTC (rev 6431)
@@ -26,7 +26,8 @@
<td>
<h:selectOneMenu
id="instanceId"
-
value="#{portalobjectmgr.selectedContentType}">
+ value="#{portalobjectmgr.selectedContentType}"
+ styleClass="portlet-form-field">
<f:selectItems
value="#{registry.availableTypes}"/>
</h:selectOneMenu>
<h:message for="instanceId"/>
@@ -43,10 +44,10 @@
<tr>
<td>
<h:outputLabel for="windowName">
- <h:outputText value="Window Name: "
style="font-weight:bold;"/>
+ <h:outputText value="Window Name: "
styleClass="portlet-form-field-label"/>
</h:outputLabel>
- <h:inputText id="windowName"
value="#{assignWindowsAction.windowName}"/>
- <h:message for="windowName"/>
+ <h:inputText id="windowName"
value="#{assignWindowsAction.windowName}"
styleClass="portlet-form-input-field"/>
+ <h:message for="windowName"
showSummary="true" showDetail="true" />
</td>
</tr>
</table>
@@ -55,7 +56,7 @@
<c:forEach items="#{portalobjectmgr.regionNames}"
var="regionName">
<table>
<tr>
- <td colspan="3">#{regionName}
Column</td>
+ <td colspan="3"
class="portlet-form-field-label">#{regionName} Column</td>
</tr>
<tr>
<td>
@@ -69,7 +70,8 @@
<td>
<h:selectManyListbox
value="#{assignWindowsAction.assignedWindows[regionName]}"
- size="7">
+ size="7"
+ styleClass="portlet-form-field">
<f:selectItems
value="#{portalobjectmgr.windowItemsMap[regionName]}"/>
</h:selectManyListbox>
</td>