Author: adrianc
Date: Fri Nov 9 10:22:47 2012
New Revision: 1407413
URL: http://svn.apache.org/viewvc?rev=1407413&view=rev
Log:
Flat Grey theme enhancement - minify JS and CSS files.
Added:
ofbiz/trunk/themes/flatgrey/build.xml (with props)
Modified:
ofbiz/trunk/themes/flatgrey/data/FlatGreyThemeData.xml
ofbiz/trunk/themes/flatgrey/webapp/flatgrey/javascript.css
Added: ofbiz/trunk/themes/flatgrey/build.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/build.xml?rev=1407413&view=auto
==============================================================================
--- ofbiz/trunk/themes/flatgrey/build.xml (added)
+++ ofbiz/trunk/themes/flatgrey/build.xml Fri Nov 9 10:22:47 2012
@@ -0,0 +1,48 @@
+<?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.
+-->
+
+<project name="OFBiz - Flat Grey Theme" default="build" basedir=".">
+ <import file="../../macros.xml"/>
+
+ <!-- ================================================================== -->
+ <!-- Initialization of all property settings -->
+ <!-- ================================================================== -->
+
+ <property name="desc" value="Flat Grey Theme"/>
+ <property name="name" value="ofbiz-flat-grey"/>
+ <property name="ofbiz.home.dir" value="../.."/>
+
+ <target name="clean">
+ <delete file="webapp/flatgrey/js/application-min.js" />
+ <delete file="webapp/flatgrey/javascript-min.css" />
+ <delete file="webapp/flatgrey/maincss-min.css" />
+ <delete file="webapp/flatgrey/mainrtl-min.css" />
+ </target>
+
+ <target name="build" depends="">
+ <echo message="[build] ========== Building Flat Grey Theme =========="
/>
+ <yuicompressor inFile="webapp/flatgrey/js/application.js"
outFile="webapp/flatgrey/js/application-min.js" />
+ <yuicompressor inFile="webapp/flatgrey/javascript.css"
outFile="webapp/flatgrey/javascript-min.css" />
+ <yuicompressor inFile="webapp/flatgrey/maincss.css"
outFile="webapp/flatgrey/maincss-min.css" />
+ <yuicompressor inFile="webapp/flatgrey/mainrtl.css"
outFile="webapp/flatgrey/mainrtl-min.css" />
+ <echo message="[build] ========== Done Building Flat Grey Theme
==========" />
+ </target>
+
+</project>
Propchange: ofbiz/trunk/themes/flatgrey/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/themes/flatgrey/build.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Rev URL
Modified: ofbiz/trunk/themes/flatgrey/data/FlatGreyThemeData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/data/FlatGreyThemeData.xml?rev=1407413&r1=1407412&r2=1407413&view=diff
==============================================================================
--- ofbiz/trunk/themes/flatgrey/data/FlatGreyThemeData.xml (original)
+++ ofbiz/trunk/themes/flatgrey/data/FlatGreyThemeData.xml Fri Nov 9 10:22:47
2012
@@ -21,12 +21,12 @@ under the License.
<entity-engine-xml>
<VisualTheme visualThemeId="FLAT_GREY" visualThemeSetId="BACKOFFICE"
description="Flat Grey - Floating Layout, Sight-Impaired Accessible,
Bidirectional"/>
<VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_NAME" resourceValue="FLAT_GREY" sequenceId="01"/>
- <VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_STYLESHEET" resourceValue="/flatgrey/maincss.css"
sequenceId="01"/>
- <VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_STYLESHEET" resourceValue="/flatgrey/javascript.css"
sequenceId="02"/>
+ <VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_STYLESHEET" resourceValue="/flatgrey/maincss-min.css"
sequenceId="01"/>
+ <VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_STYLESHEET" resourceValue="/flatgrey/javascript-min.css"
sequenceId="02"/>
<VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_HELPSTYLESHEET" resourceValue="/flatgrey/help.css"
sequenceId="01"/>
<VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_DOCBOOKSTYLESHEET"
resourceValue="/flatgrey/webapp/flatgrey/docbook.css" sequenceId="01"/>
- <VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_RTL_STYLESHEET" resourceValue="/flatgrey/mainrtl.css"
sequenceId="01"/>
- <VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_HDR_JAVASCRIPT"
resourceValue="/flatgrey/js/application.js" sequenceId="01"/>
+ <VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_RTL_STYLESHEET"
resourceValue="/flatgrey/mainrtl-min.css" sequenceId="01"/>
+ <VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_HDR_JAVASCRIPT"
resourceValue="/flatgrey/js/application-min.js" sequenceId="01"/>
<VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_SHORTCUT_ICON" resourceValue="/images/ofbiz.ico"
sequenceId="01"/>
<VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_HDR_IMAGE_URL"
resourceValue="/flatgrey/images/ofbiz_logo.gif" sequenceId="01"/>
<VisualThemeResource visualThemeId="FLAT_GREY"
resourceTypeEnumId="VT_HDR_TMPLT_LOC"
resourceValue="component://flatgrey/includes/header.ftl" sequenceId="01"/>
Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/javascript.css
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/javascript.css?rev=1407413&r1=1407412&r2=1407413&view=diff
==============================================================================
--- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/javascript.css (original)
+++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/javascript.css Fri Nov 9
10:22:47 2012
@@ -83,15 +83,6 @@ div.autocomplete ul li {
height:16px;
display:inline;
}
-/* -------------------------------------------------- */
-/* JavaScript jQuery widgets REDMOND Design */
-/* -------------------------------------------------- */
-
-/*! jQuery UI - v1.9.0 - 2012-10-16
-* http://jqueryui.com
-* Includes: jquery.ui.core.css, jquery.ui.resizable.css,
jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css,
jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css,
jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css,
jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css
-* To view and modify this theme, visit
http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande%2CLucida%20Sans%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=5c9ccc&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=55&borderColorHeader=4297d7&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=02_glass.png&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=d0e5f5&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColorHover=217bc0&bgColorActive=f5f8f9&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=100&borderColorActive=79b7e7&fcActive=e17009&iconColorActive=f9bd01&bgColorHighlight=fbec88&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=fa
d42e&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
-* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
/* Layout helpers
----------------------------------*/