Author: julien(a)jboss.com
Date: 2007-03-01 07:54:33 -0500 (Thu, 01 Mar 2007)
New Revision: 6483
Modified:
trunk/core-admin/src/bin/portal-admin-war/style.css
trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml
Log:
improving the style for the list in the page layout editor
Modified: trunk/core-admin/src/bin/portal-admin-war/style.css
===================================================================
--- trunk/core-admin/src/bin/portal-admin-war/style.css 2007-03-01 01:53:11 UTC (rev
6482)
+++ trunk/core-admin/src/bin/portal-admin-war/style.css 2007-03-01 12:54:33 UTC (rev
6483)
@@ -1,4 +1,5 @@
/* Redefine spacing for tables. */
+
.admin-ui table {
border: 0px;
border-collapse: separate;
@@ -21,6 +22,8 @@
padding-top: 2px;
}
+/* Pagination. */
+
.admin-ui ul.pagination {
margin: 0;
padding: 4px 0px 3px 0px;
@@ -41,6 +44,8 @@
text-decoration: none;
}
+/* Top nav. */
+
.admin-ui ul.topnav {
margin: 0;
padding: 5px 0px 5px 0px;
@@ -52,6 +57,8 @@
margin-right: 10px;
}
+/* Object path. */
+
.admin-ui ul.objectpath {
margin: 0;
padding: 5px 0px 5px 0px;
@@ -63,7 +70,22 @@
margin-right: 3px;
}
+/* */
+
+.admin-ui select.contentType {
+ width:8em;
+}
+
+.admin-ui select.instanceList {
+ width:16em;
+}
+
+.admin-ui select.windowList {
+ width:16em;
+}
+
/* Change dashed line to solid. */
+
.admin-ui hr {
border-top-style: solid;
}
Modified: trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml 2007-03-01
01:53:11 UTC (rev 6482)
+++ trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml 2007-03-01
12:54:33 UTC (rev 6483)
@@ -9,7 +9,7 @@
<h:selectOneListbox
value="#{contentURI}"
- styleClass="portlet-form-field">
+ styleClass="instanceList portlet-form-field">
<f:selectItems value="#{registry.editors.portlet.instanceItems}"/>
</h:selectOneListbox>
<h:commandButton value="Show details"
styleClass="portlet-form-button"/>
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
01:53:11 UTC (rev 6482)
+++
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml 2007-03-01
12:54:33 UTC (rev 6483)
@@ -23,7 +23,7 @@
<h:selectOneMenu
id="instanceId"
value="#{portalobjectmgr.selectedContentType}"
- styleClass="portlet-form-field">
+ styleClass="portlet-form-field
contentType">
<f:selectItems
value="#{registry.availableTypes}"/>
</h:selectOneMenu>
<h:commandButton value="Change content type"
styleClass="portlet-form-button"/>
@@ -40,7 +40,7 @@
<tr>
<td>
<h:outputLabel for="windowName">
- <h:outputText value="Window Name: "
styleClass="portlet-form-field-label"/>
+ <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"/>
@@ -67,7 +67,7 @@
<h:selectManyListbox
value="#{assignWindowsAction.assignedWindows[regionName]}"
size="7"
- styleClass="portlet-form-field">
+ styleClass="windowList
portlet-form-field">
<f:selectItems
value="#{portalobjectmgr.windowItemsMap[regionName]}"/>
</h:selectManyListbox>
</td>
Show replies by date