Files
ofbiz-framework/themes/rainbowstone/widget/Theme.xml
T
Jacques Le Roux 95b17d4d23 Improved: The main logo in screen upper part shows distorted
(OFBIZ-9990)

Fixes this issue in Tomahawk and Flat Grey themes by using ofbiz_logo.png, 
instead of the old logo deprecated ofbiz_logo.gif 

While at it use the same logo everywhere it's possible. It was needed for links 
to http://ofbiz.apache.org/images/ofbiz_logo.gif which no longer exists 
(actually seems only used for tests so could stay like that but better not refer 
to it anyway)

Also use this logo for Bluelight theme where it fits. 

It could not be used in Rainbow themes because they are using a Scalable Vector 
Graphics file (ofbiz-white.svg) that can't be replaced by the new png logo file
BTW this file still uses a TM symbol instead of a ®

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816897 13f79535-47bb-0310-9956-ffa450edef68
2017-12-01 18:45:50 +00:00

67 lines
3.8 KiB
XML

<?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.
-->
<theme name="rainbowstone"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://ofbiz.apache.org/Widget-Theme" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Theme http://ofbiz.apache.org/dtds/widget-theme.xsd">
<visual-themes>
<visual-theme id="RAINBOWSTONE_SAPHIR" display-name="Rainbow Stone - Sapphire">
<screenshot location="/rainbowstone/images/themeSaphir.png"/>
</visual-theme>
<visual-theme id="RAINBOWSTONE_AMBER" display-name="Rainbow Stone - Amber">
<screenshot location="/rainbowstone/images/themeAmber.png"/>
</visual-theme>
<visual-theme id="RAINBOWSTONE_RUBY" display-name="Rainbow Stone - Ruby">
<screenshot location="/rainbowstone/images/themeRuby.png"/>
</visual-theme>
<visual-theme id="RAINBOWSTONE_EMERALD" display-name="Rainbow Stone - Emerald">
<screenshot location="/rainbowstone/images/themeEmerald.png"/>
</visual-theme>
</visual-themes>
<extends location="component://common-theme/widget/Theme.xml"/>
<theme-properties>
<!--header image -->
<property name="VT_HDR_IMAGE_URL" value="/rainbowstone/images/ofbiz_logo.png"/>
<!--template location-->
<property name="VT_HDR_TMPLT_LOC" value="component://rainbowstone/template/includes/Header.ftl"/>
<property name="VT_FTR_TMPLT_LOC" value="component://rainbowstone/template/includes/Footer.ftl"/>
<property name="VT_NAV_TMPLT_LOC" value="component://rainbowstone/template/includes/TopAppBar.ftl"/>
<property name="VT_CHPWD_TMPLT_LOC" value="component://rainbowstone/template/ChangePassword.ftl"/>
<property name="VT_FGPWD_TMPLT_LOC" value="component://rainbowstone/template/ForgotPassword.ftl"/>
<property name="VT_GSQUE_TMPLT_LOC" value="component://rainbowstone/template/GetSecurityQuestion.ftl"/>
<property name="VT_LOGIN_TMPLT_LOC" value="component://rainbowstone/template/Login.ftl"/>
<!--javascript lib-->
<property name="VT_HDR_JAVASCRIPT['add']" value="/rainbowstone/js/less.min.js"/>
<property name="VT_FTR_JAVASCRIPT['add']" value="/rainbowstone/js/rainbowstone.js"/>
<!--Css style-->
<property name="VT_STYLESHEET['add']" value="/rainbowstone/style.css"/>
<property name="VT_STYLESHEET['add']" value="/rainbowstone/flag-icon.min.css"/>
<property name="VT_STYLESHEET['add']" value="/rainbowstone/javascript.css"/>
<property name="VT_RTL_STYLESHEET['add']" value="/rainbowstone/stylertl.css"/>
<property name="VT_HELPSTYLESHEET['add']" value="/rainbowstone/help.css"/>
<property name="VT_DOCBOOKSTYLESHEET['add']" value="/rainbowstone/webapp/rainbowstone/docbook.css"/>
</theme-properties>
<templates>
<template name="screen" type="html" content-type="UTF-8" encoding="none" encoder="html" compress="false">
<template-file widget="menu" location="component://rainbowstone/template/macro/HtmlMenuMacroLibrary.ftl"/>
</template>
</templates>
</theme>