Author: julien(a)jboss.com
Date: 2007-03-10 17:02:42 -0500 (Sat, 10 Mar 2007)
New Revision: 6627
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml
trunk/widget/src/resources/widget-war/WEB-INF/jsp/edit.jsp
Log:
minor layout improvement + corrected styles
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-10
21:53:58 UTC (rev 6626)
+++
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml 2007-03-10
22:02:42 UTC (rev 6627)
@@ -101,7 +101,7 @@
<td class="label">
</td>
<td class="widget">
- <div align="left">
+ <div style="margin-top:3em;">
<jbp:portlet
instanceId="#{portalobjectmgr.selectedContentEditorInstance}"
actionListener="#{portalobjectmgr.processEvent}"
Modified: trunk/widget/src/resources/widget-war/WEB-INF/jsp/edit.jsp
===================================================================
--- trunk/widget/src/resources/widget-war/WEB-INF/jsp/edit.jsp 2007-03-10 21:53:58 UTC
(rev 6626)
+++ trunk/widget/src/resources/widget-war/WEB-INF/jsp/edit.jsp 2007-03-10 22:02:42 UTC
(rev 6627)
@@ -40,8 +40,8 @@
<form action="<p:renderURL></p:renderURL>"
method="post">
- <input type="text" name="query"/>
- <select name="cat">
+ <input type="text" name="query"
class="portlet-form-field"/>
+ <select name="cat" class="portlet-form-field">
<option value=""> </option>
<%
for (Iterator i = provider.getCategories().iterator(); i.hasNext();)
@@ -54,7 +54,7 @@
}
%>
</select>
- <input type="submit" value="Search Gadgets"/>
+ <input type="submit" value="Search Gadgets"
class="portlet-form-button"/>
</form>
<%
@@ -78,7 +78,7 @@
{
case DataType.ENUM:
%>
- <td><select name="param.<%= prefInfo.getName()
%>">
+ <td><select name="param.<%= prefInfo.getName()
%>" class="portlet-form-field">
<%
EnumType e = (EnumType)prefInfo.getType();
for (int j = 0;j < e.getSize();j++)
@@ -95,7 +95,7 @@
break;
default:
%>
- <td><input type="text" name="param.<%=
prefInfo.getName() %>" value="<%= prefInfo.getDefaultValue() != null ?
prefInfo.getDefaultValue() : "" %>"/></td>
+ <td><input type="text" name="param.<%=
prefInfo.getName() %>" class="portlet-form-field" value="<%=
prefInfo.getDefaultValue() != null ? prefInfo.getDefaultValue() : ""
%>"/></td>
<%
break;
}
@@ -105,7 +105,7 @@
}
%>
<tr>
- <td colspan="2"><input type="submit"
value="Add"/></td>
+ <td colspan="2"><input type="submit"
value="Add" class="portlet-form-button"/></td>
</tr>
</tbody>
</table>