The style.css file is still not very clean. It has been only partially adapted to the ecommerce application but it will still be usefull to test the ecommerce visualTheme change. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746545 13f79535-47bb-0310-9956-ffa450edef68
129 lines
5.7 KiB
Plaintext
129 lines
5.7 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.
|
|
-->
|
|
<#include "component://ecommerce/webapp/ecommerce/includes/headerHead.ftl" />
|
|
|
|
<!-- 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]-->
|
|
|
|
<body>
|
|
<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" /></a></li>
|
|
<li><a href="<@ofbizUrl>setSessionLocale?newLocale=en</@ofbizUrl>"><img src="/multiflex/flag_en.gif" /></a></li>
|
|
<li><a href="<@ofbizUrl>setSessionLocale?newLocale=de</@ofbizUrl>"><img src="/multiflex/flag_de.gif" /></a></li>
|
|
<li><a href="<@ofbizUrl>setSessionLocale?newLocale=fr</@ofbizUrl>"><img src="/multiflex/flag_fr.gif" /></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>
|
|
<!-- 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>
|