instead of allocating static space in the control area. This takes the width of the control area back to something sensible. With always allocated space in the control area, there ends up being a blank space(because of the use of visibility:hidden instead of display:none). When the Person.name and Company.Name fields are then long, this control area breaks the flow, and word-wraps in IE, or flows underneath the breadcrumbs in firefox. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997421 13f79535-47bb-0310-9956-ffa450edef68
130 lines
5.6 KiB
Plaintext
130 lines
5.6 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<!-- Global IE fix to avoid layout crash when single word size wider than column width -->
|
|
<!--[if IE]><style type="text/css"> body {word-wrap: break-word;}</style><![endif]-->
|
|
|
|
<div id="wait-spinner" style="display:none">
|
|
<div id="wait-spinner-image"></div>
|
|
</div>
|
|
<div class="page-container">
|
|
<div class="header">
|
|
<div class="header-top">
|
|
|
|
<!-- Sitelogo and sitename -->
|
|
<a class="sitelogo" href="<@ofbizUrl>main</@ofbizUrl>" title="${uiLabelMap.CommonMain}"></a>
|
|
<div class="sitename">
|
|
<#if !productStore?exists>
|
|
<h1><a href="index.html" title="Go to Start page">${uiLabelMap.EcommerceNoProductStore}</a></h1>
|
|
</#if>
|
|
<#if (productStore.title)?exists><h1><a href="index.html" title="Go to Start page">${productStore.title}</a></h1></#if>
|
|
<#if (productStore.subtitle)?exists><h2>${productStore.subtitle}</h2></#if>
|
|
</div>
|
|
|
|
<!-- Navigation Level 0 -->
|
|
<div class="nav0">
|
|
<ul>
|
|
<li><a href="<@ofbizUrl>setSessionLocale?newLocale=it</@ofbizUrl>"><img src="/multiflex/flag_it.gif" alt="" /></a></li>
|
|
<li><a href="<@ofbizUrl>setSessionLocale?newLocale=en</@ofbizUrl>"><img src="/multiflex/flag_en.gif" alt="" /></a></li>
|
|
<li><a href="<@ofbizUrl>setSessionLocale?newLocale=de</@ofbizUrl>"><img src="/multiflex/flag_de.gif" alt="" /></a></li>
|
|
<li><a href="<@ofbizUrl>setSessionLocale?newLocale=fr</@ofbizUrl>"><img src="/multiflex/flag_fr.gif" alt="" /></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<!-- Navigation Level 1 -->
|
|
<div class="nav1">
|
|
<ul>
|
|
<li><a href="<@ofbizUrl>main</@ofbizUrl>">${uiLabelMap.CommonMain}</a></li>
|
|
<li><a href="<@ofbizUrl>contactus</@ofbizUrl>">${uiLabelMap.CommonContactUs}</a></li>
|
|
<li><a href="<@ofbizUrl>policies</@ofbizUrl>">${uiLabelMap.EcommerceSeeStorePoliciesHere}</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- A.2 HEADER MIDDLE -->
|
|
<div class="header-middle">
|
|
<!-- Site message -->
|
|
<div class="sitemessage">
|
|
<h1>EASY • FLEXIBLE • ROBUST</h1>
|
|
<h2>
|
|
<#if sessionAttributes.autoName?has_content>
|
|
${uiLabelMap.CommonWelcome} ${sessionAttributes.autoName}!
|
|
(${uiLabelMap.CommonNotYou}? <a href="<@ofbizUrl>autoLogout</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonClickHere}</a>)
|
|
<#else/>
|
|
${uiLabelMap.CommonWelcome}!
|
|
</#if>
|
|
</h2>
|
|
<h3><a href="#">›› More details</a></h3>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- A.3 HEADER BOTTOM -->
|
|
<div class="header-bottom">
|
|
|
|
<!-- Navigation Level 2 (Drop-down menus) -->
|
|
<div class="nav2">
|
|
|
|
<#if userLogin?has_content && userLogin.userLoginId != "anonymous">
|
|
<!-- Navigation item -->
|
|
<ul>
|
|
<li><a href="<@ofbizUrl>logout</@ofbizUrl>">${uiLabelMap.CommonLogout}</a></li>
|
|
</ul>
|
|
<#else/>
|
|
<!-- Navigation item -->
|
|
<ul>
|
|
<li><a href="<@ofbizUrl>${checkLoginUrl}</@ofbizUrl>">${uiLabelMap.CommonLogin}</a></li>
|
|
</ul>
|
|
|
|
<!-- Navigation item -->
|
|
<ul>
|
|
<li><a href="<@ofbizUrl>newcustomer</@ofbizUrl>">${uiLabelMap.EcommerceRegister}</a></li>
|
|
</ul>
|
|
</#if>
|
|
|
|
<#if catalogQuickaddUse?has_content && catalogQuickaddUse>
|
|
<!-- Navigation item -->
|
|
<ul>
|
|
<li id="header-bar-quickadd"><a href="<@ofbizUrl>quickadd</@ofbizUrl>">${uiLabelMap.CommonQuickAdd}</a></li>
|
|
</ul>
|
|
</#if>
|
|
|
|
<#if userLogin?has_content && userLogin.userLoginId != "anonymous">
|
|
<!-- Navigation item -->
|
|
<ul>
|
|
<li><a href="#">Utente<!--[if IE 7]><!--></a><!--<![endif]-->
|
|
<!--[if lte IE 6]><table><tr><td><![endif]-->
|
|
<ul>
|
|
<li id="header-bar-viewprofile"><a href="<@ofbizUrl>viewprofile</@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
|
|
<li id="header-bar-ListQuotes"><a href="<@ofbizUrl>ListQuotes</@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
|
|
<li id="header-bar-ListRequests"><a href="<@ofbizUrl>ListRequests</@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
|
|
<li id="header-bar-editShoppingList"><a href="<@ofbizUrl>editShoppingList</@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
|
|
<li id="header-bar-orderhistory"><a href="<@ofbizUrl>orderhistory</@ofbizUrl>">${uiLabelMap.EcommerceOrderHistory}</a></li>
|
|
</ul>
|
|
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
|
|
</li>
|
|
</ul>
|
|
</#if>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Breadcrumbs -->
|
|
<div class="header-breadcrumbs">
|
|
</div>
|