Author: jonesde
Date: Thu Jan 22 18:28:49 2009 New Revision: 736892 URL: http://svn.apache.org/viewvc?rev=736892&view=rev Log: Added new themes directory with Bruno's bluelight theme as a first one to OOTB; this directory is like hot-deploy in that all components dropped in will be loaded, and ONLY themes should go in this directory Added: ofbiz/trunk/themes/ ofbiz/trunk/themes/bluelight/ ofbiz/trunk/themes/bluelight/data/ ofbiz/trunk/themes/bluelight/data/BlueLightThemeData.xml (with props) ofbiz/trunk/themes/bluelight/includes/ ofbiz/trunk/themes/bluelight/includes/appbar.ftl (with props) ofbiz/trunk/themes/bluelight/includes/footer.ftl (with props) ofbiz/trunk/themes/bluelight/includes/header.ftl (with props) ofbiz/trunk/themes/bluelight/includes/messages.ftl (with props) ofbiz/trunk/themes/bluelight/ofbiz-component.xml (with props) ofbiz/trunk/themes/bluelight/webapp/ ofbiz/trunk/themes/bluelight/webapp/bluelight/ ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/ ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/arrow-white-dw.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/arrow-white-rt.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/bar1.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/bar2.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/bar3.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/bar4.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/bar5.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/box-bl.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/box-br.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/box-head-tl.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/box-head-tr.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-11.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-bl.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-br.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-tl.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-tr.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbiz.ico (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbizLogo.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbiz_logo.jpg (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/screenshot.jpg (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/separator.gif (with props) ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css (with props) Modified: ofbiz/trunk/framework/base/config/component-load.xml ofbiz/trunk/hot-deploy/README.txt Modified: ofbiz/trunk/framework/base/config/component-load.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/config/component-load.xml?rev=736892&r1=736891&r2=736892&view=diff ============================================================================== --- ofbiz/trunk/framework/base/config/component-load.xml (original) +++ ofbiz/trunk/framework/base/config/component-load.xml Thu Jan 22 18:28:49 2009 @@ -21,6 +21,7 @@ <component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader.xsd"> <load-components parent-directory="framework"/> + <load-components parent-directory="themes"/> <load-components parent-directory="applications"/> <load-components parent-directory="specialpurpose"/> <load-components parent-directory="hot-deploy"/> Modified: ofbiz/trunk/hot-deploy/README.txt URL: http://svn.apache.org/viewvc/ofbiz/trunk/hot-deploy/README.txt?rev=736892&r1=736891&r2=736892&view=diff ============================================================================== --- ofbiz/trunk/hot-deploy/README.txt (original) +++ ofbiz/trunk/hot-deploy/README.txt Thu Jan 22 18:28:49 2009 @@ -1,5 +1,8 @@ This is a hot-deploy component directory. -All components in this tree will be loaded -after ../framework and ../applications. +All components in this tree will be loaded after the OFBiz components, including those in:: +framework +themes +applications +specialpurpose Added: ofbiz/trunk/themes/bluelight/data/BlueLightThemeData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/data/BlueLightThemeData.xml?rev=736892&view=auto ============================================================================== --- ofbiz/trunk/themes/bluelight/data/BlueLightThemeData.xml (added) +++ ofbiz/trunk/themes/bluelight/data/BlueLightThemeData.xml Thu Jan 22 18:28:49 2009 @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +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. +--> + +<entity-engine-xml> + <VisualTheme visualThemeId="BLUELIGHT" description="BlueLight Theme: Breadcrumbs, drop-down menus and rounded corners"/> + <VisualThemeResource visualThemeId="BLUELIGHT" resourceTypeEnumId="VT_STYLESHEET" resourceValue="/bluelight/style.css" sequenceId="01"/> + <VisualThemeResource visualThemeId="BLUELIGHT" resourceTypeEnumId="VT_SHORTCUT_ICON" resourceValue="/bluelight/ofbiz.ico" sequenceId="01"/> + <VisualThemeResource visualThemeId="BLUELIGHT" resourceTypeEnumId="VT_HDR_IMAGE_URL" resourceValue="/bluelight/ofbiz_logo.jpg" sequenceId="01"/> + <VisualThemeResource visualThemeId="BLUELIGHT" resourceTypeEnumId="VT_HDR_TMPLT_LOC" resourceValue="component://bluelight/includes/header.ftl" sequenceId="01"/> + <VisualThemeResource visualThemeId="BLUELIGHT" resourceTypeEnumId="VT_FTR_TMPLT_LOC" resourceValue="component://bluelight/includes/footer.ftl" sequenceId="01"/> + <VisualThemeResource visualThemeId="BLUELIGHT" resourceTypeEnumId="VT_NAV_TMPLT_LOC" resourceValue="component://bluelight/includes/appbar.ftl" sequenceId="01"/> + <VisualThemeResource visualThemeId="BLUELIGHT" resourceTypeEnumId="VT_MSG_TMPLT_LOC" resourceValue="component://bluelight/includes/messages.ftl" sequenceId="01"/> + <VisualThemeResource visualThemeId="BLUELIGHT" resourceTypeEnumId="VT_SCREENSHOT" resourceValue="/bluelight/screenshot.jpg" sequenceId="01"/> +</entity-engine-xml> Propchange: ofbiz/trunk/themes/bluelight/data/BlueLightThemeData.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/themes/bluelight/data/BlueLightThemeData.xml ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/data/BlueLightThemeData.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/themes/bluelight/data/BlueLightThemeData.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/themes/bluelight/includes/appbar.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/includes/appbar.ftl?rev=736892&view=auto ============================================================================== --- ofbiz/trunk/themes/bluelight/includes/appbar.ftl (added) +++ ofbiz/trunk/themes/bluelight/includes/appbar.ftl Thu Jan 22 18:28:49 2009 @@ -0,0 +1,62 @@ +<#-- +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. +--> +<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if> +<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if> +<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")> +<#assign contextPath = request.getContextPath()> +<#assign displayApps = Static["org.ofbiz.base.component.ComponentConfig"].getAppBarWebInfos(ofbizServerName, "main")> + +<#if userLogin?has_content> +<div class="tabbar"> + <div class="breadcrumbs"> + <div class="breadcrumbs-start"> + <div id="main-navigation"> + <ul> + <li> + <h2>Home</h2> + <ul> + <#list displayApps as display> + <#assign thisApp = display.getContextRoot()> + <#assign permission = true> + <#assign selected = false> + <#assign permissions = display.getBasePermission()> + <#list permissions as perm> + <#if perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session)> + <#-- User must have ALL permissions in the base-permission list --> + <#assign permission = false> + </#if> + </#list> + <#if permission == true> + <#if thisApp == contextPath || contextPath + "/" == thisApp> + <#assign selected = true> + </#if> + <#assign thisURL = thisApp> + <#if thisApp != "/"> + <#assign thisURL = thisURL + "/control/main"> + </#if> +<!-- <#if !selected>--> + <li><a href="${response.encodeURL(thisURL + externalKeyParam)}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li> +<!-- </#if>--> + </#if> + </#list> + </ul> + </li> + </ul> + </div> +</#if> Propchange: ofbiz/trunk/themes/bluelight/includes/appbar.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/themes/bluelight/includes/appbar.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/includes/appbar.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/themes/bluelight/includes/appbar.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/themes/bluelight/includes/footer.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/includes/footer.ftl?rev=736892&view=auto ============================================================================== --- ofbiz/trunk/themes/bluelight/includes/footer.ftl (added) +++ ofbiz/trunk/themes/bluelight/includes/footer.ftl Thu Jan 22 18:28:49 2009 @@ -0,0 +1,78 @@ +<#-- +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. +--> + +<div class="bottom-bar"> + <div class="left"> + <div class="right"> + </div> + </div> +</div> + +<#assign nowTimestamp = Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp()> + +<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if> +<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if> +<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")> +<#assign contextPath = request.getContextPath()> +<#assign displayApps = Static["org.ofbiz.base.component.ComponentConfig"].getAppBarWebInfos(ofbizServerName, "secondary")> + +<#if userLogin?has_content> +<center> + <div id="secondary-navigation"> + <#list displayApps as display> + <#assign thisApp = display.getContextRoot()> + <#assign permission = true> + <#assign selected = false> + <#assign permissions = display.getBasePermission()> + <#list permissions as perm> + <#if perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session)> + <#-- User must have ALL permissions in the base-permission list --> + <#assign permission = false> + </#if> + </#list> + <#if permission == true> + <#if thisApp == contextPath || contextPath + "/" == thisApp> + <#assign selected = true> + </#if> + <#assign thisURL = thisApp> + <#if thisApp != "/"> + <#assign thisURL = thisURL + "/control/main"> + </#if> + <a<#if selected> class="selected"</#if> href="${response.encodeURL(thisURL + externalKeyParam)}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}"> ${display.title}</#if></a> + </#if> + </#list> + </div> +</center> +</#if> + +<div id="footer"> + <p><a href="http://jigsaw.w3.org/css-validator/"><img src="<@ofbizContentUrl>/images/vcss.gif</@ofbizContentUrl>" alt="Valid CSS!"/></a> + <a href="http://validator.w3.org/check?uri=referer"><img src="<@ofbizContentUrl>/images/valid-xhtml10.png</@ofbizContentUrl>" alt="Valid XHTML 1.0!"/></a></p> + <p>Copyright (c) 2001-${nowTimestamp?string("yyyy")} The Apache Software Foundation - <a href="http://www.apache.org" target="_blank">www.apache.org</a><br /> + Powered by <a href="http://ofbiz.apache.org" target="_blank">Apache OFBiz</a></p> +</div> +<#if layoutSettings.VT_FTR_JAVASCRIPT?has_content> + <#list layoutSettings.VT_FTR_JAVASCRIPT as javaScript> + <script type="text/javascript" src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="text/javascript"></script> + </#list> +</#if> + +</div> +</body> +</html> Propchange: ofbiz/trunk/themes/bluelight/includes/footer.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/themes/bluelight/includes/footer.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/includes/footer.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/themes/bluelight/includes/footer.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/themes/bluelight/includes/header.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/includes/header.ftl?rev=736892&view=auto ============================================================================== --- ofbiz/trunk/themes/bluelight/includes/header.ftl (added) +++ ofbiz/trunk/themes/bluelight/includes/header.ftl Thu Jan 22 18:28:49 2009 @@ -0,0 +1,163 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<#-- +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. +--> + +<#if (requestAttributes.person)?exists><#assign person = requestAttributes.person></#if> +<#if (requestAttributes.partyGroup)?exists><#assign partyGroup = requestAttributes.partyGroup></#if> + +<#assign docLangAttr = locale.toString()?replace("_", "-")> +<#assign langDir = "ltr"> +<#if "ar.iw"?contains(docLangAttr?substring(0, 2))> + <#assign langDir = "rtl"> +</#if> +<html lang="${docLangAttr}" dir="${langDir}" xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <title>${layoutSettings.companyName}: <#if (page.titleProperty)?has_content>${uiLabelMap[page.titleProperty]}<#else>${(page.title)?if_exists}</#if></title> + <#if layoutSettings.shortcutIcon?has_content> + <#assign shortcutIcon = layoutSettings.shortcutIcon/> + <#elseif layoutSettings.VT_SHORTCUT_ICON?has_content> + <#assign shortcutIcon = layoutSettings.VT_SHORTCUT_ICON.get(0)/> + </#if> + <#if shortcutIcon?has_content> + <link rel="shortcut icon" href="<@ofbizContentUrl>${shortcutIcon}</@ofbizContentUrl>" /> + </#if> + <#if layoutSettings.javaScripts?has_content> + <#--layoutSettings.javaScripts is a list of java scripts. --> + <#-- use a Set to make sure each javascript is declared only once, but iterate the list to maintain the correct order --> + <#assign javaScriptsSet = Static["org.ofbiz.base.util.UtilMisc"].toSet(layoutSettings.javaScripts)/> + <#list layoutSettings.javaScripts as javaScript> + <#if javaScriptsSet.contains(javaScript)> + <#assign nothing = javaScriptsSet.remove(javaScript)/> + <script type="text/javascript" src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="text/javascript"></script> + </#if> + </#list> + </#if> + <#if layoutSettings.VT_HDR_JAVASCRIPT?has_content> + <#list layoutSettings.VT_HDR_JAVASCRIPT as javaScript> + <script type="text/javascript" src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="text/javascript"></script> + </#list> + </#if> + <#if layoutSettings.styleSheets?has_content> + <#--layoutSettings.styleSheets is a list of style sheets. So, you can have a user-specified "main" style sheet, AND a component style sheet.--> + <#list layoutSettings.styleSheets as styleSheet> + <link rel="stylesheet" href="<@ofbizContentUrl>${styleSheet}</@ofbizContentUrl>" type="text/css"/> + </#list> + </#if> + <#if layoutSettings.VT_STYLESHEET?has_content> + <#list layoutSettings.VT_STYLESHEET as styleSheet> + <link rel="stylesheet" href="<@ofbizContentUrl>${styleSheet}</@ofbizContentUrl>" type="text/css"/> + </#list> + </#if> + <#if layoutSettings.rtlStyleSheets?has_content && langDir == "rtl"> + <#--layoutSettings.rtlStyleSheets is a list of rtl style sheets.--> + <#list layoutSettings.rtlStyleSheets as styleSheet> + <link rel="stylesheet" href="<@ofbizContentUrl>${styleSheet}</@ofbizContentUrl>" type="text/css"/> + </#list> + </#if> + <#if layoutSettings.VT_RTL_STYLESHEET?has_content && langDir == "rtl"> + <#list layoutSettings.VT_RTL_STYLESHEET as styleSheet> + <link rel="stylesheet" href="<@ofbizContentUrl>${styleSheet}</@ofbizContentUrl>" type="text/css"/> + </#list> + </#if> + ${layoutSettings.extraHead?if_exists} + <#if layoutSettings.VT_EXTRA_HEAD?has_content> + <#list layoutSettings.VT_EXTRA_HEAD as extraHead> + ${extraHead} + </#list> + </#if> +</head> +<#if layoutSettings.headerImageLinkUrl?exists> + <#assign logoLinkURL = "${layoutSettings.headerImageLinkUrl}"> +<#else> + <#assign logoLinkURL = "${layoutSettings.commonHeaderImageLinkUrl}"> +</#if> +<body> + <div class="page-container"> + <div class="hidden"> + <a href="#column-container" title="${uiLabelMap.CommonSkipNavigation}" accesskey="2"> + ${uiLabelMap.CommonSkipNavigation} + </a> + </div> + <div id="masthead"> + <ul> + <#if (userPreferences.COMPACT_HEADER)?default("N") == "Y"> + <li class="logo-area"> + <#if shortcutIcon?has_content> + <a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>"><img src="<@ofbizContentUrl>${shortcutIcon}</@ofbizContentUrl>"/></a> + </#if> + </li> + <li> + <#if person?has_content> + ${uiLabelMap.CommonWelcome} ${person.firstName?if_exists} ${person.middleName?if_exists} ${person.lastName?if_exists} [${userLogin.userLoginId}] + <#if defaultOrganizationPartyId?exists>${uiLabelMap.DefaultOrganizationPartyId} : ${defaultOrganizationPartyGroupName?if_exists} [${defaultOrganizationPartyId}]</#if> + <#elseif partyGroup?has_content> + ${uiLabelMap.CommonWelcome} ${partyGroup.groupName?if_exists} [${userLogin.userLoginId}] + <#if defaultOrganizationPartyId?exists>${uiLabelMap.DefaultOrganizationPartyId} : ${defaultOrganizationPartyGroupName?if_exists} [${defaultOrganizationPartyId}]</#if> + <#else> + ${uiLabelMap.CommonWelcome}! + </#if> + </li> + <li class="control-area"> + <p class="collapsed"> + ${nowTimestamp?datetime?string.short} + <a href="setUserPreference?userPrefGroupTypeId=GLOBAL_PREFERENCES&userPrefTypeId=COMPACT_HEADER&userPrefValue=N"> </a> + </p> + </li> + <#else> + <#if layoutSettings.headerImageUrl?exists> + <#assign headerImageUrl = layoutSettings.headerImageUrl> + <#elseif layoutSettings.commonHeaderImageUrl?exists> + <#assign headerImageUrl = layoutSettings.commonHeaderImageUrl> + <#elseif layoutSettings.VT_HDR_IMAGE_URL?exists> + <#assign headerImageUrl = layoutSettings.VT_HDR_IMAGE_URL.get(0)> + </#if> + <#if headerImageUrl?exists> + <li class="logo-area"><a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>"><img alt="${layoutSettings.companyName}" src="<@ofbizContentUrl>${headerImageUrl}</@ofbizContentUrl>"/></a></li> + </#if> + <li class="control-area"> + <#if userLogin?exists> + <p class="expanded"> + <span class="clock">${nowTimestamp?datetime?string.short}</span> + <a href="setUserPreference?userPrefGroupTypeId=GLOBAL_PREFERENCES&userPrefTypeId=COMPACT_HEADER&userPrefValue=Y"> </a> + </p> + </#if> + <p> + <#if person?has_content> + ${uiLabelMap.CommonWelcome} ${person.firstName?if_exists} ${person.lastName?if_exists} [${userLogin.userLoginId}] + <#if defaultOrganizationPartyId?exists><p>${uiLabelMap.DefaultOrganizationPartyId} : ${defaultOrganizationPartyGroupName?if_exists} [${defaultOrganizationPartyId}]</p></#if> + <#elseif partyGroup?has_content> + ${uiLabelMap.CommonWelcome} ${partyGroup.groupName?if_exists} [${userLogin.userLoginId}] + <#if defaultOrganizationPartyId?exists><p>${uiLabelMap.DefaultOrganizationPartyId} : ${defaultOrganizationPartyGroupName?if_exists} [${defaultOrganizationPartyId}]</p></#if> + <#else> + ${uiLabelMap.CommonWelcome}! + </#if> + </p> + + <ul id="preferences-menu"> + <li class="first"><a href="<@ofbizUrl>LookupLocales</@ofbizUrl>">${uiLabelMap.CommonLanguageTitle} : ${locale.getDisplayName(locale)}</a></li> + <li><a href="<@ofbizUrl>LookupTimezones</@ofbizUrl>">${timeZone.getDisplayName(timeZone.useDaylightTime(), Static["java.util.TimeZone"].LONG, locale)}</a></li> + <li><a href="<@ofbizUrl>LookupVisualThemes</@ofbizUrl>">${uiLabelMap.VisualThemes}</a></li> + <li><a href="<@ofbizUrl>logout</@ofbizUrl>">${uiLabelMap.CommonLogout}</a></li> + </ul> + </li> + </#if> + </ul> + <br class="clear" /> + </div> Propchange: ofbiz/trunk/themes/bluelight/includes/header.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/themes/bluelight/includes/header.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/includes/header.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/themes/bluelight/includes/header.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/themes/bluelight/includes/messages.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/includes/messages.ftl?rev=736892&view=auto ============================================================================== --- ofbiz/trunk/themes/bluelight/includes/messages.ftl (added) +++ ofbiz/trunk/themes/bluelight/includes/messages.ftl Thu Jan 22 18:28:49 2009 @@ -0,0 +1,80 @@ +<#-- +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. +--> +<#if userLogin?has_content> + </div> + </div> + <div class="breadcrumbs-sep"> + <#if titleProperty?exists> + ${uiLabelMap[titleProperty]} + </#if> + </div> + <div class="breadcrumbs-end"> + </div> +</div> +<div class="clear"> +</div> +</#if> + +<#if requestAttributes.errorMessageList?has_content><#assign errorMessageList=requestAttributes.errorMessageList></#if> +<#if requestAttributes.eventMessageList?has_content><#assign eventMessageList=requestAttributes.eventMessageList></#if> +<#if requestAttributes.serviceValidationException?exists><#assign serviceValidationException = requestAttributes.serviceValidationException></#if> +<#if requestAttributes.uiLabelMap?has_content><#assign uiLabelMap = requestAttributes.uiLabelMap></#if> + +<#if !errorMessage?has_content> + <#assign errorMessage = requestAttributes._ERROR_MESSAGE_?if_exists> +</#if> +<#if !errorMessageList?has_content> + <#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_?if_exists> +</#if> +<#if !eventMessage?has_content> + <#assign eventMessage = requestAttributes._EVENT_MESSAGE_?if_exists> +</#if> +<#if !eventMessageList?has_content> + <#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_?if_exists> +</#if> + +<#-- display the error messages --> +<#if (errorMessage?has_content || errorMessageList?has_content)> + <div class="content-messages errorMessage"> + <p>${uiLabelMap.CommonFollowingErrorsOccurred}:</p> + <#if errorMessage?has_content> + <p>${errorMessage}</p> + </#if> + <#if errorMessageList?has_content> + <#list errorMessageList as errorMsg> + <p>${errorMsg}</p> + </#list> + </#if> + </div> +</#if> + +<#-- display the event messages --> +<#if (eventMessage?has_content || eventMessageList?has_content)> + <div class="content-messages eventMessage"> + <p>${uiLabelMap.CommonFollowingOccurred}:</p> + <#if eventMessage?has_content> + <p>${eventMessage}</p> + </#if> + <#if eventMessageList?has_content> + <#list eventMessageList as eventMsg> + <p>${eventMsg}</p> + </#list> + </#if> + </div> +</#if> Propchange: ofbiz/trunk/themes/bluelight/includes/messages.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/themes/bluelight/includes/messages.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/includes/messages.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/themes/bluelight/includes/messages.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/themes/bluelight/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/ofbiz-component.xml?rev=736892&view=auto ============================================================================== --- ofbiz/trunk/themes/bluelight/ofbiz-component.xml (added) +++ ofbiz/trunk/themes/bluelight/ofbiz-component.xml Thu Jan 22 18:28:49 2009 @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +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. +--> + +<ofbiz-component name="bluelight" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> + <!-- define resource loaders; most common is to use the component resource loader --> + <resource-loader name="main" type="component"/> + + <!-- entity resources: model(s), eca(s), group, and data definitions --> + <entity-resource type="data" reader-name="seed" loader="main" location="data/BlueLightThemeData.xml"/> + + <!-- web applications; will be mounted when using the embedded Jetty container --> + <webapp name="bluelight" + title="bluelight" + menu-name="secondary" + server="default-server" + location="webapp/bluelight" + mount-point="/bluelight" + app-bar-display="false"/> +</ofbiz-component> Propchange: ofbiz/trunk/themes/bluelight/ofbiz-component.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/themes/bluelight/ofbiz-component.xml ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/ofbiz-component.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/themes/bluelight/ofbiz-component.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml?rev=736892&view=auto ============================================================================== --- ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml (added) +++ ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml Thu Jan 22 18:28:49 2009 @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> +<!-- +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. +--> + +<web-app> + <display-name>Open For Business - bluelight Visual Theme</display-name> + <description>bluelight Visual Theme</description> + + <session-config> + <session-timeout>1</session-timeout> + </session-config> + + <welcome-file-list> + <welcome-file>index.jsp</welcome-file> + <welcome-file>main.jsp</welcome-file> + </welcome-file-list> + +</web-app> Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/arrow-white-dw.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/arrow-white-dw.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/arrow-white-dw.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/arrow-white-dw.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/arrow-white-rt.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/arrow-white-rt.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/arrow-white-rt.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/arrow-white-rt.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar1.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/bar1.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar1.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar1.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar2.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/bar2.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar2.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar2.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar3.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/bar3.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar3.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar3.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar4.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/bar4.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar4.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar4.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar5.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/bar5.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar5.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/bar5.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-bl.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/box-bl.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-bl.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-bl.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-br.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/box-br.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-br.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-br.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-head-tl.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/box-head-tl.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-head-tl.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-head-tl.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-head-tr.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/box-head-tr.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-head-tr.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/box-head-tr.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-11.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-11.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-11.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-11.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-bl.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-bl.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-bl.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-bl.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-br.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-br.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-br.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-br.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-tl.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-tl.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-tl.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-tl.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-tr.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-tr.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-tr.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/corner-tr.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbiz.ico URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbiz.ico?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbiz.ico ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbiz.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbizLogo.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbizLogo.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbizLogo.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbizLogo.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbiz_logo.jpg URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbiz_logo.jpg?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbiz_logo.jpg ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/ofbiz_logo.jpg ------------------------------------------------------------------------------ svn:mime-type = image/jpeg Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/screenshot.jpg URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/screenshot.jpg?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/screenshot.jpg ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/screenshot.jpg ------------------------------------------------------------------------------ svn:mime-type = image/jpeg Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/separator.gif URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/separator.gif?rev=736892&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/separator.gif ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/separator.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif |
Free forum by Nabble | Edit this page |