[jboss-svn-commits] JBoss PortletSwap SVN: r191 - in portlets/src/framework/RichFacesPortlet/src/main/webapp: css and 2 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Jan 9 13:08:25 EST 2008
Author: wesleyhales
Date: 2008-01-09 13:08:25 -0500 (Wed, 09 Jan 2008)
New Revision: 191
Modified:
portlets/src/framework/RichFacesPortlet/src/main/webapp/css/common.css
portlets/src/framework/RichFacesPortlet/src/main/webapp/templates/include/components-group.xhtml
portlets/src/framework/RichFacesPortlet/src/main/webapp/templates/main.xhtml
portlets/src/framework/RichFacesPortlet/src/main/webapp/welcome.xhtml
Log:
ui cleanup
Modified: portlets/src/framework/RichFacesPortlet/src/main/webapp/css/common.css
===================================================================
--- portlets/src/framework/RichFacesPortlet/src/main/webapp/css/common.css 2008-01-09 15:54:04 UTC (rev 190)
+++ portlets/src/framework/RichFacesPortlet/src/main/webapp/css/common.css 2008-01-09 18:08:25 UTC (rev 191)
@@ -28,9 +28,9 @@
}
.page_brick{
- position : absolute;
- top : 0px;
- width : 998px;
+ /*position : absolute;*/
+ /*top : 0px;*/
+ /*width : 998px;*/
}
li{
@@ -48,9 +48,9 @@
}
.top_navbar{
- position : absolute;
- top : 2px;
- right : 0px;
+ /*position : absolute;*/
+ /*top : 2px;*/
+ /*right : 0px;*/
font-family : verdana;
font-size : 11px;
}
@@ -69,9 +69,9 @@
text-decoration : underline;
}
.skin_chooser{
- position : absolute;
- top : 77px;
- left : 294px;
+ /*position : absolute;*/
+ /*top : 77px;*/
+ /*left : 294px;*/
font-family : verdana;
font-size : 11px;
height : 26px;
@@ -111,10 +111,10 @@
.left_menu{
- position : absolute;
- z-index : 10;
- top : 71px;
- left : 28px;
+ /*position : absolute;*/
+ /*z-index : 10;*/
+ /*top : 71px;*/
+ /*left : 28px;*/
width : 222px;
}
.panel_documents{
@@ -212,23 +212,23 @@
}
.ico{
cursor : pointer;
- padding-top:1px;
- padding-right:3px;
- padding-bottom:1px;
- padding-left:3px;
+ padding-top:1px;
+ padding-right:3px;
+ padding-bottom:1px;
+ padding-left:3px;
}
.component_name{
- position : absolute;
- top : 124px;
- left : 290px;
+ /*position : absolute;*/
+ /*top : 124px;*/
+ /*left : 290px;*/
}
.content_container{
- position : absolute;
- top : 176px;
- left : 0px;
+ /*position : absolute;*/
+ /*top : 176px;*/
+ /*left : 0px;*/
}
.content_container_pdddings{
padding : 0px 35px 35px 0px;
@@ -295,4 +295,59 @@
border-left-width:1px;
border-bottom-width:1px;
}
-
\ No newline at end of file
+
+.align-center {
+ text-align: center;
+}
+
+.align-center-margin {
+ margin: 0 auto 0 auto;
+}
+
+.float-left {
+ float: left;
+}
+
+.float-right {
+ float: right;
+}
+
+.align-left {
+ text-align: left;
+}
+
+.align-right {
+ text-align: right;
+}
+
+.half-width {
+ width: 49%;
+}
+
+.quarter-width {
+ width: 24.9%;
+}
+
+.three-quarter-width {
+ width: 74.9%;
+}
+
+.full-width {
+ width: 100%;
+}
+
+.third-width {
+ width: 32.9%;
+}
+
+.two-third-width {
+ width: 65.9%;
+}
+
+.tenpx-top-bottom {
+ margin: 10px 0 10px 0;
+}
+
+.clear {
+ clear: both;
+}
Modified: portlets/src/framework/RichFacesPortlet/src/main/webapp/templates/include/components-group.xhtml
===================================================================
--- portlets/src/framework/RichFacesPortlet/src/main/webapp/templates/include/components-group.xhtml 2008-01-09 15:54:04 UTC (rev 190)
+++ portlets/src/framework/RichFacesPortlet/src/main/webapp/templates/include/components-group.xhtml 2008-01-09 18:08:25 UTC (rev 191)
@@ -14,7 +14,7 @@
<td class="text" width="100%">
<a4j:form>
<h:messages/>
- <a4j:commandLink reRender="bodycontent" actionListener="#{componentNavigator.useBodyParam}">
+ <a4j:commandLink reRender="bodycontent,componentImage" actionListener="#{componentNavigator.useBodyParam}">
#{component.name}
<f:attribute value="#{component.contextRelativeDemoLocation}" name="body"/>
<f:param value="#{component.id}" name="c"/>
Modified: portlets/src/framework/RichFacesPortlet/src/main/webapp/templates/main.xhtml
===================================================================
--- portlets/src/framework/RichFacesPortlet/src/main/webapp/templates/main.xhtml 2008-01-09 15:54:04 UTC (rev 190)
+++ portlets/src/framework/RichFacesPortlet/src/main/webapp/templates/main.xhtml 2008-01-09 18:08:25 UTC (rev 191)
@@ -12,13 +12,15 @@
<ui:insert name="title"/>
</title>
<link rel="STYLESHEET" type="text/css" href="${facesContext.externalContext.requestContextPath}/css/common.css"/>
-
+<!--<script src="http://localhost:8080/RichFacesPortlet/faces/a4j_3_2_0-SNAPSHOTorg/ajax4jsf/framework.pack.js" type="text/javascript"/>-->
+ <!--<script src="http://localhost:8080/RichFacesPortlet/faces/a4j_3_2_0-SNAPSHOTorg/richfaces/ui.pack.js" type="text/javascript"/>-->
<ui:include src="/templates/include/dynamic-css.xhtml" />
</head>
<body>
-
+<div style="position:relative;">
<ui:include src="/templates/include/header.xhtml" />
+<div class="float-left third-width">
<table class="left_menu" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
@@ -32,16 +34,15 @@
</tr>
</tbody>
</table>
-
+</div>
+ <div class="float-left two-third-width">
<h:graphicImage value="#{componentNavigator.currentComponent.captionImage}"
- rendered="#{componentNavigator.hasCurrentComponent}" height="40" alt="" border="0" styleClass="component_name"/>
+ rendered="#{componentNavigator.hasCurrentComponent}" height="40" alt="" border="0" styleClass="component_name" id="componentImage"/>
<table cellpadding="0" cellspacing="0" border="0" class="content_container" width="100%">
<tbody>
<tr>
- <td>
- <div class="content_container_left_brick"></div>
- </td>
+
<td width="100%" class="content_container_pdddings">
<!-- tabpanel begin -->
<ui:insert name="body2">Body</ui:insert>
@@ -58,6 +59,8 @@
</tr>
</tbody>
</table>
-
+ </div>
+
+</div>
</body>
</html>
Modified: portlets/src/framework/RichFacesPortlet/src/main/webapp/welcome.xhtml
===================================================================
--- portlets/src/framework/RichFacesPortlet/src/main/webapp/welcome.xhtml 2008-01-09 15:54:04 UTC (rev 190)
+++ portlets/src/framework/RichFacesPortlet/src/main/webapp/welcome.xhtml 2008-01-09 18:08:25 UTC (rev 191)
@@ -13,11 +13,8 @@
<ui:include src="#{componentNavigator.bodyParam == null ? '/welcome-content.xhtml' : componentNavigator.bodyParam}"/>
-
</a4j:outputPanel>
-
-
</ui:define>
</ui:composition>
</html>
More information about the jboss-svn-commits
mailing list