Author: wesleyhales
Date: 2008-04-21 18:06:47 -0400 (Mon, 21 Apr 2008)
New Revision: 10677
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/bin/portal-admin-war/css/style.css
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/showPortletDetails.xhtml
Log:
admin portlet meta-data cleanup
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/bin/portal-admin-war/css/style.css
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core-admin/src/bin/portal-admin-war/css/style.css 2008-04-21
18:48:40 UTC (rev 10676)
+++
branches/JBoss_Portal_Branch_2_7/core-admin/src/bin/portal-admin-war/css/style.css 2008-04-21
22:06:47 UTC (rev 10677)
@@ -583,3 +583,128 @@
padding: 5px;
}
+/*--------------------------- Instance Meta Data*/
+
+.details-header * {
+ margin: 0;
+ padding: 0;
+}
+
+.details-header {
+ background-image: url( "/portal-admin/img/instance-header-bg.gif" );
+ background-repeat: repeat-x;
+
+}
+
+.details-header .main-header {
+
+ height: 62px;
+}
+
+.details-header .sub-header1 {
+ background-color: #eef3f5;
+ font-size: 12px;
+ padding: 3px 0 3px 0;
+ margin: 0 0 1px 0;
+}
+
+.details-header .sub-header2 {
+ background-color: #dce3ed;
+ font-size: 12px;
+ padding: 3px 0 3px 0;
+}
+
+.details-header ul li {
+ float: left;
+ list-style: none;
+ height: 16px;
+ padding: 0 0 0 3px;
+}
+
+.details-container {
+ margin: 0 15px 15px 15px;
+ border: 1px solid #ececec;
+}
+
+.details-container p {
+ font-size: 12px;
+ margin: 0;
+ padding: 0;
+}
+
+.details-container h3 {
+ margin: 0;
+ padding: 0 0 3px 0;
+ font-size: 1.0em;
+}
+
+.details-left-col dd label,
+ .details-header .sub-header2 label,
+ .details-header .sub-header1 label {
+ font-weight: bold;
+ color: #000;
+}
+
+.details-left-col h3 {
+ padding: 0 0 0 5px;
+}
+
+.details-left-col,
+.details-right-col {
+ /*padding: 5px;*/
+}
+
+.details-body dl {
+ padding: 0 5px 0 5px;
+ margin:0;
+}
+
+.details-body dl dt {
+ margin: 0;
+ padding: 3px 0 0 0;
+ border-bottom: 1px solid #999999;
+}
+
+.details-body dl dd {
+ margin: 0;
+ padding: 3px;
+}
+
+.details-body .meta-container-odd {
+ margin: 5px;
+ padding: 5px;
+ vertical-align: top;
+}
+
+.details-body .meta-container-even {
+ background-color: #f0f0f0;
+ margin: 5px;
+ padding: 5px;
+ vertical-align: top;
+}
+
+.details-body {
+ padding: 15px 0 0 0;
+}
+
+.meta-box{
+ width: 95%;
+ padding: 0 0 8px 0;
+ margin: 0 auto 0 auto;
+}
+
+.meta-box h3 {
+ background-color: #f8f8f8;
+ padding: 2px 2px 2px 5px;
+ color: #666666;
+}
+
+div.displayNames {
+ width: 100%
+}
+
+div.displayNames h3 {
+ padding: 2px 2px 2px 5px;
+ margin: 0 0 3px 0;
+ color: #003399;
+}
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/showPortletDetails.xhtml
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/showPortletDetails.xhtml 2008-04-21
18:48:40 UTC (rev 10676)
+++
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/showPortletDetails.xhtml 2008-04-21
22:06:47 UTC (rev 10677)
@@ -6,126 +6,6 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:portal="http://www.jboss.org/portal">
-<style type="text/css">
-
-.details-header * {
- margin: 0;
- padding: 0;
-}
-
-.details-header {
- background-image: url( "/portal-admin/img/instance-header-bg.gif" );
- background-repeat: repeat-x;
-
-}
-
-.details-header .main-header {
-
- height: 62px;
-}
-
-.details-header .sub-header1 {
- background-color: #eef3f5;
- font-size: 12px;
- padding: 3px 0 3px 0;
-}
-
-.details-header .sub-header2 {
- background-color: #dce3ed;
- font-size: 12px;
- padding: 3px 0 3px 0;
-}
-
-.details-header ul li {
- float: left;
- list-style: none;
- height: 16px;
- padding: 0 0 0 3px;
-}
-
-.details-container {
- margin: 0 15px 15px 15px;
- border: 1px solid #ececec;
-}
-
-.details-container p {
- font-size: 12px;
- margin: 0;
- padding: 0;
-}
-
-.details-container h3 {
- margin: 0;
- padding: 0 0 3px 0;
- font-size: 1.0em;
-}
-
-.details-left-col dd label,
- .details-header .sub-header2 label,
- .details-header .sub-header1 label {
- font-weight: bold;
- color: #000;
-}
-
-.details-left-col h3 {
- padding: 0 0 0 5px;
-}
-
-.details-left-col,
-.details-right-col {
- /*text-align: center;*/
-}
-
-.details-body dl {
- padding: 0 5px 0 5px;
- margin:0;
-}
-
-.details-body dl dt {
- margin: 0;
- padding: 0;
- border-bottom: 1px solid #999999;
-}
-
-.details-body dl dd {
- margin: 0;
- padding: 3px;
-}
-
-.details-body .meta-container-odd {
- margin: 5px;
- padding: 5px;
- vertical-align: top;
-}
-
-.details-body .meta-container-even {
- background-color: #f0f0f0;
- margin: 5px;
- padding: 5px;
- vertical-align: top;
-}
-
-.details-body {
- padding: 15px 0 0 0;
-}
-
-.meta-box{
- width: 95%;
- padding: 0 0 8px 0;
- margin: 0 auto 0 auto;
-}
-
-.meta-box h3 {
- background-color: #f8f8f8;
- padding: 2px 2px 2px 5px;
- margin: 0 0 3px 0;
- color: #666666;
-}
-
-/*disp name bg f7f9fc*/
-
-
-</style>
<h:form>
<div class="details-container">
@@ -252,8 +132,8 @@
<f:subview rendered="#{showDisplayNameEditor}">
- <portal:box class="ltBlueRounded">
- <div style="width:99%">
+ <portal:box class="ltBlueRounded meta-box">
+ <div class="displayNames">
<div>
<h:form style="background-color:transparent;">
<h3 style="background-color:transparent;">Add Instance Display
Names</h3>
@@ -364,60 +244,4 @@
</div>
</h:form>
-
-<ui:remove>
- <f:subview id="demo">
- <c:forEach var="mediaType"
items="#{portlet.info.capabilities.mediaTypes}">
- #{mediaType.value} -1--<br/>
- -2--<br/>
- -3--<br/>
- </c:forEach>
- <hr/>
- <c:forEach var="mode"
items="#{portlet.info.capabilities.allModes}">
- #{mode.modeName} -1--<br/>
- #{mode.description} -2--<br/>
- </c:forEach>
- <hr/>
- <c:forEach var="windowState"
items="#{portlet.info.capabilities.allWindowStates}">
- #{windowState.windowStateName} -1--<br/>
- #{windowState.description} -2--<br/>
- </c:forEach>
- <hr/>
- <c:forEach var="locale"
items="#{portlet.info.capabilities.allLocales}">
- #{locale} -1--<br/>
- </c:forEach>
- <hr/>
- #{portlet.info.preferences}
- #{portlet.info.preferences.keys}
- <c:forEach var="preferenceKeys"
items="#{portlet.info.preferences.keys}">
- #{preferenceKeys} -1--<br/>
- </c:forEach>
-
- <!--<hr/>-->
- <!--#{portlet.info.meta}-->
-
- <hr/>
- #{portlet.info.security}
- <c:forEach var="security"
items="#{portlet.info.security.transportGuarantees}">
- #{security} -1--<br/>
- </c:forEach>
-
- <hr/>
- #{portlet.info.cache.expirationSecs}
-
- <hr/>
-
-
- <hr/>
- #{portlet.info.navigation}
- <c:forEach var="publicParam"
items="#{portlet.info.navigation.publicParameters}">
- #{publicParam.id} -1--<br/>
- #{publicParam.name} -2--<br/>
- #{publicParam.description} -3--<br/>
- </c:forEach>
-
-
- </f:subview>
-</ui:remove>
-
</div>
\ No newline at end of file