Layout improvements from Adrian Crum (OFBIZ-947).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533790 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacopo Cappellato
2007-04-30 16:35:15 +00:00
parent e536407f2d
commit 49c402969f
13 changed files with 26 additions and 32 deletions
@@ -17,7 +17,6 @@ specific language governing permissions and limitations
under the License.
-->
<!-- begin EditPartyRelationships.ftl -->
<br />
<div class="screenlet">
<div class="screenlet-title-bar">
@@ -17,11 +17,10 @@ specific language governing permissions and limitations
under the License.
-->
<!-- begin addressMatchMap.ftl -->
<div id="address-match-map" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PageTitleAddressMatchMap}</h3>
<li class="head3">${uiLabelMap.PageTitleAddressMatchMap}</li>
<li><a href="<@ofbizUrl>findAddressMatch</@ofbizUrl>">${uiLabelMap.PageTitleFindMatches}</a></li>
</ul>
<br class="clear" />
@@ -17,12 +17,11 @@ specific language governing permissions and limitations
under the License.
-->
<!-- begin editShoppingList.ftl -->
<br />
<div class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyShoppingLists}</h3>
<li class="head3">${uiLabelMap.PartyShoppingLists}</li>
<li><a href="<@ofbizUrl>createEmptyShoppingList</@ofbizUrl>?partyId=${partyId?if_exists}">${uiLabelMap.CommonCreateNew}</a></li>
</ul>
<br class="clear" />
@@ -51,7 +50,7 @@ under the License.
<div class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyShoppingListDetail} - ${shoppingList.listName}</h3>
<li class="head3">${uiLabelMap.PartyShoppingListDetail} - ${shoppingList.listName}</li>
<li><a href="javascript:document.updateList.submit();">${uiLabelMap.CommonSave}</a></li>
<li><a href="/ordermgr/control/createQuoteFromShoppingList?shoppingListId=${shoppingList.shoppingListId?if_exists}&applyStorePromotions=N">${uiLabelMap.PartyCreateNewQuote}</a></li>
<li><a href="/ordermgr/control/createCustRequestFromShoppingList?shoppingListId=${shoppingList.shoppingListId?if_exists}">${uiLabelMap.PartyCreateNewCustRequest}</a></li>
@@ -129,7 +128,7 @@ under the License.
<div class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyChildShoppingList} - ${shoppingList.listName}</h3>
<li class="head3">${uiLabelMap.PartyChildShoppingList} - ${shoppingList.listName}</li>
<li><a href="<@ofbizUrl>addListToCart?shoppingListId=${shoppingList.shoppingListId}&includeChild=yes</@ofbizUrl>">${uiLabelMap.PartyAddChildListsToCart}</a></li>
</ul>
<br class="clear" />
@@ -158,7 +157,7 @@ under the License.
<div class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyListItems} - ${shoppingList.listName}</h3>
<li class="head3">${uiLabelMap.PartyListItems} - ${shoppingList.listName}</li>
<#-- <li><a href="<@ofbizUrl>addListToCart?shoppingListId=${shoppingList.shoppingListId}</@ofbizUrl>">${uiLabelMap.PartyAddListToCart}</a></li> -->
</ul>
<br class="clear" />
@@ -17,11 +17,10 @@ specific language governing permissions and limitations
under the License.
-->
<!-- begin findMatches.ftl -->
<div id="address-match-map" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PageTitleAddressMatches}</h3>
<li class="head3">${uiLabelMap.PageTitleAddressMatches}</li>
<li><a href="<@ofbizUrl>addressMatchMap</@ofbizUrl>">${uiLabelMap.PageTitleAddressMatchMap}</a></li>
</ul>
<br class="clear" />
@@ -117,5 +116,3 @@ under the License.
</#if>
</table>
</div>
</div>
<!-- end findMatches.ftl -->
@@ -19,11 +19,10 @@ under the License.
<#assign extInfo = parameters.extInfo?default("N")>
<!-- begin findParty.ftl -->
<div id="findPartyParameters" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyFindParty}</h3>
<li class="head3">${uiLabelMap.PartyFindParty}</li>
<#if parameters.hideFields?default("N") == "Y">
<li><a href="<@ofbizUrl>findparty?hideFields=N${paramList}</@ofbizUrl>">${uiLabelMap.CommonShowLookupFields}</a></li>
<#else>
@@ -163,7 +162,7 @@ under the License.
<div id="findPartyResults" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyPartiesFound}</h3>
<li class="head3">${uiLabelMap.PartyPartiesFound}</li>
<#if (partyListSize > 0)>
<#if (partyListSize > highIndex)>
<li><a class="nav-next" href="<@ofbizUrl>findparty?VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}&amp;hideFields=${parameters.hideFields?default("N")}${paramList}</@ofbizUrl>">${uiLabelMap.CommonNext}</a></li>
@@ -21,7 +21,6 @@ under the License.
<#assign partyId = requestParameters.partyId?if_exists>
<#assign partyIdTo = requestParameters.partyIdTo?if_exists>
<!-- begin linkparty.ftl -->
<br/>
<#if hasUpdatePermission>
<div id="linkParty" class="screenlet">
@@ -17,7 +17,6 @@ specific language governing permissions and limitations
under the License.
-->
<!-- begin viewProfile.ftl -->
<#if party?has_content>
<div class="align-float">
<#if showOld>
@@ -32,14 +31,14 @@ under the License.
<div class="screenlet-title-bar">
<ul>
<#if lookupPerson?has_content>
<h3>${uiLabelMap.PartyPersonalInformation}</h3>
<li class="head3">${uiLabelMap.PartyPersonalInformation}</li>
<#if security.hasEntityPermission("PARTYMGR", "_UPDATE", session)>
<li><a href="<@ofbizUrl>editperson?partyId=${party.partyId}</@ofbizUrl>">${uiLabelMap.CommonUpdate}</a></li>
</#if>
</#if>
<#if lookupGroup?has_content>
<#assign lookupPartyType = party.getRelatedOneCache("PartyType")>
<h3>${uiLabelMap.PartyPartyGroupInformation}</h3>
<li class="head3">${uiLabelMap.PartyPartyGroupInformation}</li>
<#if security.hasEntityPermission("PARTYMGR", "_UPDATE", session)>
<li><a href="<@ofbizUrl>editpartygroup?partyId=${party.partyId}</@ofbizUrl>">${uiLabelMap.CommonUpdate}</a></li>
</#if>
@@ -133,7 +132,7 @@ under the License.
<div id="partyContactInfo" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyContactInformation}</h3>
<li class="head3">${uiLabelMap.PartyContactInformation}</li>
<#if security.hasEntityPermission("PARTYMGR", "_CREATE", session)>
<li><a href="<@ofbizUrl>editcontactmech?partyId=${party.partyId}</@ofbizUrl>">${uiLabelMap.CommonCreateNew}</a></li>
</#if>
@@ -260,7 +259,7 @@ under the License.
<div id="partyPaymentMethod" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyPaymentMethodInformation}</h3>
<li class="head3">${uiLabelMap.PartyPaymentMethodInformation}</li>
<#if security.hasEntityPermission("PAY_INFO", "_CREATE", session)>
<li><a href="<@ofbizUrl>editeftaccount?partyId=${party.partyId}</@ofbizUrl>">${uiLabelMap.AccountingCreateNewEftAccount}</a></li>
<li><a href="<@ofbizUrl>editgiftcard?partyId=${party.partyId}</@ofbizUrl>">${uiLabelMap.AccountingCreateNewGiftCard}</a></li>
@@ -413,7 +412,7 @@ under the License.
<div id="partyUserLogins" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyUserName}</h3>
<li class="head3">${uiLabelMap.PartyUserName}</li>
<#if security.hasEntityPermission("PARTYMGR", "_CREATE", session)>
<li><a href="<@ofbizUrl>createnewlogin?partyId=${party.partyId}</@ofbizUrl>">${uiLabelMap.CommonCreateNew}</a></li>
</#if>
@@ -460,7 +459,7 @@ under the License.
<div id="partyAttributes" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyAttributes}</h3>
<li class="head3">${uiLabelMap.PartyAttributes}</li>
<#if security.hasEntityPermission("PARTYMGR", "_CREATE", session)>
<li><a href="<@ofbizUrl>editPartyAttribute?partyId=${party.partyId}</@ofbizUrl>">${uiLabelMap.CommonCreateNew}</a></li>
</#if>
@@ -494,7 +493,7 @@ under the License.
<div id="partyVisits" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyLastVisit}</h3>
<li class="head3">${uiLabelMap.PartyLastVisit}</li>
<li><a href="<@ofbizUrl>showvisits?partyId=${partyId}</@ofbizUrl>">${uiLabelMap.CommonListAll}</a></li>
</ul>
<br class="clear" />
@@ -537,7 +536,7 @@ under the License.
<div id="partyShoppingCart" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.PartyCurrentShoppingCart}</h3>
<li class="head3">${uiLabelMap.PartyCurrentShoppingCart}</li>
<#if security.hasEntityPermission("PARTYMGR", "_UPDATE", session)>
<#if savedCartListId?has_content>
<#assign listParam = "&shoppingListId=" + savedCartListId>
@@ -637,7 +636,7 @@ under the License.
<div id="partyNotes" class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.CommonNotes}</h3>
<li class="head3">${uiLabelMap.CommonNotes}</li>
<#if security.hasEntityPermission("PARTYMGR", "_NOTE", session)>
<li><a href="<@ofbizUrl>AddPartyNote?partyId=${partyId}</@ofbizUrl>">${uiLabelMap.CommonCreateNew}</a></li>
</#if>
@@ -18,7 +18,6 @@ under the License.
-->
<#-- Party Roles -->
<!-- begin viewroles.ftl -->
<br/>
<div id="partyRoles" class="screenlet">
<div class="screenlet-title-bar">
+5 -1
View File
@@ -1422,7 +1422,11 @@ padding: 0.2em 0.5em 0.2em 0.5em;
.screenlet-title-bar ul h1,
.screenlet-title-bar ul h2,
.screenlet-title-bar ul h3 {
.screenlet-title-bar ul h3,
.screenlet-title-bar ul .head1,
.screenlet-title-bar ul .head2,
.screenlet-title-bar ul .head3 {
/* h1 - h3 deprecated, fails validation */
background-color: #000099;
border-left: none;
float: left;
@@ -213,7 +213,7 @@ under the License.
<div class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${relation.title} ${uiLabelMap.WebtoolsRelatedEntity}: ${relation.relatedTable}</h3>
<li class="head3">${relation.title} ${uiLabelMap.WebtoolsRelatedEntity}: ${relation.relatedTable}</li>
<#if relation.valueRelated?has_content>
<li><a href='<@ofbizUrl>ViewGeneric?${relation.encodeRelatedEntityFindString}</@ofbizUrl>'>${uiLabelMap.CommonView}</a></li>
<#else>
+1 -1
View File
@@ -43,7 +43,7 @@ text-decoration: underline;
<div class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.WebtoolsMainPage}</h3>
<li class="head3">${uiLabelMap.WebtoolsMainPage}</li>
<li class="disabled">${delegator.getDelegatorName()}</li>
</ul>
<br class="clear"/>
@@ -34,7 +34,7 @@ under the License.
<div class="screenlet-title-bar">
<#if currentCustomTimePeriod?has_content>
<ul>
<h3>Current Custom Time Period</h3>
<li class="head3">Current Custom Time Period</li>
<li><a href="<@ofbizUrl>EditCustomTimePeriod?findOrganizationPartyId=${findOrganizationPartyId?if_exists}</@ofbizUrl>">Clear Current</a></li>
</ul>
<br class="clear" />
@@ -39,7 +39,7 @@ under the License.
<div class="screenlet">
<div class="screenlet-title-bar">
<ul>
<h3>${uiLabelMap.WebtoolsService}: ${selectedServiceMap.serviceName}</h3>
<li class="head3">${uiLabelMap.WebtoolsService}: ${selectedServiceMap.serviceName}</li>
<li><a href='<@ofbizUrl>${url}</@ofbizUrl>'>${uiLabelMap.CommonListAll}</a></li>
<li><a href='<@ofbizUrl>/scheduleJob?SERVICE_NAME=${selectedServiceMap.serviceName}</@ofbizUrl>'>${uiLabelMap.WebtoolsSchedule}</a></li>
</ul>