Author: julien(a)jboss.com
Date: 2007-03-01 07:58:07 -0500 (Thu, 01 Mar 2007)
New Revision: 6484
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml
Log:
improving the layout for page layout editor
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml
===================================================================
---
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml 2007-03-01
12:54:33 UTC (rev 6483)
+++
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml 2007-03-01
12:58:07 UTC (rev 6484)
@@ -13,79 +13,73 @@
<h3>You are editing the page layout</h3>
<h:form id="layoutForm">
- <h:panelGroup>
+ <div style="float:left">
<table>
<tr>
<td>
- <table>
- <tr>
- <td>
- <h:selectOneMenu
- id="instanceId"
- value="#{portalobjectmgr.selectedContentType}"
- styleClass="portlet-form-field
contentType">
- <f:selectItems
value="#{registry.availableTypes}"/>
- </h:selectOneMenu>
- <h:commandButton value="Change content type"
styleClass="portlet-form-button"/>
- <br/><h:message for="instanceId"
errorClass="portlet-msg-error"/>
- </td>
- </tr>
- <tr>
- <td>
- <ct:content
-
contentType="#{portalobjectmgr.selectedContentType}"
-
contentURI="#{portalobjectmgr.selectedContentURI}"/>
- </td>
- </tr>
- <tr>
- <td>
- <h:outputLabel for="windowName">
- <h:outputText value="Window Name: "
styleClass="portlet-form-field-label,instanceList"/>
- </h:outputLabel>
- <h:inputText id="windowName"
value="#{assignWindowsAction.windowName}"
styleClass="portlet-form-input-field"/>
- <br/><h:message for="windowName"
errorClass="portlet-msg-error"/>
- </td>
- </tr>
- </table>
+ <h:selectOneMenu
+ id="instanceId"
+ value="#{portalobjectmgr.selectedContentType}"
+ styleClass="portlet-form-field contentType">
+ <f:selectItems
value="#{registry.availableTypes}"/>
+ </h:selectOneMenu>
+ <h:commandButton value="Change content type"
styleClass="portlet-form-button"/>
+ <br/><h:message for="instanceId"
errorClass="portlet-msg-error"/>
</td>
+ </tr>
+ <tr>
<td>
- <c:forEach items="#{portalobjectmgr.regionNames}"
var="regionName">
- <table>
- <tr>
- <td colspan="3"
class="portlet-form-field-label">#{regionName} Region</td>
- </tr>
- <tr>
- <td>
- <div>
- <h:commandButton value="<-"
id="l_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
- </div>
- <div>
- <h:commandButton value="->"
id="r_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
- </div>
- </td>
- <td>
- <h:selectManyListbox
-
value="#{assignWindowsAction.assignedWindows[regionName]}"
- size="7"
- styleClass="windowList
portlet-form-field">
- <f:selectItems
value="#{portalobjectmgr.windowItemsMap[regionName]}"/>
- </h:selectManyListbox>
- </td>
- <td>
- <div>
- <h:commandButton value="Up"
id="u_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
- </div>
- <div>
- <h:commandButton value="Down"
id="d_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
- </div>
- </td>
- </tr>
- </table>
- </c:forEach>
+ <ct:content
+ contentType="#{portalobjectmgr.selectedContentType}"
+ contentURI="#{portalobjectmgr.selectedContentURI}"/>
</td>
</tr>
+ <tr>
+ <td>
+ <h:outputLabel for="windowName">
+ <h:outputText value="Window Name: "
styleClass="portlet-form-field-label,instanceList"/>
+ </h:outputLabel>
+ <h:inputText id="windowName"
value="#{assignWindowsAction.windowName}"
styleClass="portlet-form-input-field"/>
+ <br/><h:message for="windowName"
errorClass="portlet-msg-error"/>
+ </td>
+ </tr>
</table>
- </h:panelGroup>
+ </div>
+ <div style="float:left">
+ <c:forEach items="#{portalobjectmgr.regionNames}"
var="regionName">
+ <table>
+ <tr>
+ <td colspan="3"
class="portlet-form-field-label">#{regionName} Region</td>
+ </tr>
+ <tr>
+ <td>
+ <div>
+ <h:commandButton value="<-"
id="l_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
+ </div>
+ <div>
+ <h:commandButton value="->"
id="r_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
+ </div>
+ </td>
+ <td>
+ <h:selectManyListbox
+
value="#{assignWindowsAction.assignedWindows[regionName]}"
+ size="7"
+ styleClass="windowList portlet-form-field">
+ <f:selectItems
value="#{portalobjectmgr.windowItemsMap[regionName]}"/>
+ </h:selectManyListbox>
+ </td>
+ <td>
+ <div>
+ <h:commandButton value="Up"
id="u_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
+ </div>
+ <div>
+ <h:commandButton value="Down"
id="d_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </c:forEach>
+ </div>
</h:form>
</ui:define>
Show replies by date