IE7 and tab-bar style fixups for Party Manager component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652609 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2008-05-01 18:20:46 +00:00
parent 23bf0c6ca2
commit cc1a53dc8a
8 changed files with 37 additions and 18 deletions
@@ -19,7 +19,7 @@ under the License.
-->
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
<menu name="CommEventTabBar" default-selected-style="selected" type="simple"
menu-container-style="button-bar button-style-1" selected-menuitem-context-field-name="subTabButtonItem">
menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="subTabButtonItem">
<menu-item name="CommunicationEvent" title="${uiLabelMap.PartyCommEvent}">
<link target="EditCommunicationEvent?partyId=${partyId}&amp;communicationEventId=${communicationEventId}"/>
</menu-item>
@@ -17,7 +17,6 @@ specific language governing permissions and limitations
under the License.
-->
<!-- begin SecurityGroupTabBar.ftl -->
<#if security.hasEntityPermission("PARTYMGR", "_VIEW", session)>
<#-- Main Heading -->
<#if partyClassificationGroup?has_content>
@@ -32,5 +31,5 @@ under the License.
<br/>
</#if>
<#else>
<h2">${uiLabelMap.PartyMgrViewPermissionError}</h2>
<h2>${uiLabelMap.PartyMgrViewPermissionError}</h2>
</#if>
@@ -203,10 +203,10 @@ under the License.
<#if hideFields != "Y">
<hr/>
</#if>
<div id="findPartyResults" class="screenlet-body">
<h2>${uiLabelMap.CommonSearchResults}</h2>
</div>
<#if partyList?has_content>
<div id="findPartyResults" class="screenlet-body">
<h2>${uiLabelMap.CommonSearchResults}</h2>
</div>
<table class="basic-table hover-bar" cellspacing="0">
<tr class="header-row-2">
<td>${uiLabelMap.PartyPartyId}</td>
@@ -18,7 +18,6 @@ under the License.
-->
<#if groupId?has_content>
<!-- begin SecurityGroupTabBar.ftl -->
<#assign selected = tabButtonItem?default("void")>
<div class="button-bar tab-bar">
<ul>
@@ -28,5 +27,4 @@ under the License.
<br class="clear" />
</ul>
</div>
<!-- end SecurityGroupTabBar.ftl -->
</#if>
@@ -23,3 +23,13 @@
width: auto;
margin-bottom: 1em;
}
.profile-left {
float: left;
width: 47%;
}
.profile-right {
float: right;
width: 47%;
}
@@ -82,13 +82,19 @@ under the License.
<entity-one entity-name="PartyClassificationGroup" value-name="partyClassificationGroup"/>
</actions>
<widgets>
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="pre-body">
<section>
<widgets>
<platform-specific>
<html><html-template location="component://party/webapp/partymgr/party/ClassificationTabBar.ftl"/></html>
</platform-specific>
</widgets>
</section>
</decorator-section>
<decorator-section name="body">
<section>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
@@ -137,7 +143,7 @@ under the License.
<entity-one entity-name="Party" value-name="party"/>
</actions>
<widgets>
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
@@ -175,13 +181,19 @@ under the License.
<entity-one entity-name="PartyClassificationGroup" value-name="partyClassificationGroup"/>
</actions>
<widgets>
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="pre-body">
<section>
<widgets>
<platform-specific>
<html><html-template location="component://party/webapp/partymgr/party/ClassificationTabBar.ftl"/></html>
</platform-specific>
</widgets>
</section>
</decorator-section>
<decorator-section name="body">
<section>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
@@ -86,25 +86,25 @@ under the License.
</condition>
<widgets>
<container style="button-bar button-style-2">
<link target="viewprofile?partyId=${party.partyId}" text="${uiLabelMap.PartyHideOld}" style="smallSubmit"/>
<link target="viewprofile?partyId=${party.partyId}" text="${uiLabelMap.PartyHideOld}"/>
</container>
</widgets>
<fail-widgets>
<container style="button-bar button-style-2">
<link target="viewprofile?partyId=${party.partyId}&amp;SHOW_OLD=true" text="${uiLabelMap.PartyShowOld}" style="smallSubmit"/>
<link target="viewprofile?partyId=${party.partyId}&amp;SHOW_OLD=true" text="${uiLabelMap.PartyShowOld}"/>
</container>
</fail-widgets>
</section>
<section>
<widgets>
<container style="lefthalf">
<container style="profile-left">
<include-screen name="Party" location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="Contact" location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="LoyaltyPoints" location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="PaymentMethods" location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="AvsSettings" location="component://party/widget/partymgr/ProfileScreens.xml"/>
</container>
<container style="righthalf">
<container style="profile-right">
<include-screen name="FinAccounts" location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="UserLogin" location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="Attributes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
+1 -1
View File
@@ -897,7 +897,6 @@ padding: 0.4em;
}
#column-container {
background-color: #FFFFFF;
margin: auto;
padding: 1em;
position: relative;
@@ -1264,6 +1263,7 @@ float: right;
font-size: 1em;
font-weight: bold;
padding: 0.1em 0.5em 0.2em 0.5em;
white-space: nowrap;
}
.screenlet-title-bar ul h1,