You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/05/03 18:19:05 UTC

svn commit: r771073 - in /ofbiz/trunk: applications/product/widget/catalog/CommonScreens.xml framework/bi/webapp/bi/main.ftl framework/bi/widget/BiScreens.xml framework/common/config/CommonUiLabels.xml framework/webtools/webapp/webtools/main.ftl

Author: jleroux
Date: Sun May  3 16:19:04 2009
New Revision: 771073

URL: http://svn.apache.org/viewvc?rev=771073&view=rev
Log:
I missed some files in the 1st commit for BizznessTime theme.
I will do 2 commits to not push (backport) the new BizznessTime theme as default in R9.04 as long as we are not sure of its quality in trunk.
Putting it as default in trunk should help to strengthen it (hoping reports from users)

Added:
    ofbiz/trunk/framework/bi/webapp/bi/main.ftl
Modified:
    ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml
    ofbiz/trunk/framework/bi/widget/BiScreens.xml
    ofbiz/trunk/framework/common/config/CommonUiLabels.xml
    ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl

Modified: ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml?rev=771073&r1=771072&r2=771073&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml Sun May  3 16:19:04 2009
@@ -229,7 +229,7 @@
     <screen name="leftbar">
         <section>
             <widgets>
-                <container style="left">
+                <container style="left" id="leftSection">
                     <include-screen name="keywordsearchbox"/>
                     <include-screen name="sidecatalogs"/>
                     <include-screen name="sidedeepcategory"/>

Added: ofbiz/trunk/framework/bi/webapp/bi/main.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/bi/webapp/bi/main.ftl?rev=771073&view=auto
==============================================================================
--- ofbiz/trunk/framework/bi/webapp/bi/main.ftl (added)
+++ ofbiz/trunk/framework/bi/webapp/bi/main.ftl Sun May  3 16:19:04 2009
@@ -0,0 +1,38 @@
+
+<h1>${uiLabelMap.BusinessIntelligenceIntegratedFramework}</h1>
+<p>
+	${uiLabelMap.BusinessIntelligenceNote1}
+	${uiLabelMap.BusinessIntelligenceNote2}
+	${uiLabelMap.BusinessIntelligenceNote3}
+	${uiLabelMap.BusinessIntelligenceNote4}
+	${uiLabelMap.BusinessIntelligenceNote5}
+	${uiLabelMap.BusinessIntelligenceNote6}
+	${uiLabelMap.BusinessIntelligenceNote7}
+	${uiLabelMap.BusinessIntelligenceNote8}
+	${uiLabelMap.BusinessIntelligenceNote9}
+	${uiLabelMap.BusinessIntelligenceNote10}
+	${uiLabelMap.BusinessIntelligenceNote11}
+	${uiLabelMap.BusinessIntelligenceNote12}
+</p>
+<h2>${uiLabelMap.BusinessIntelligenceCurrentStatus}</h2>
+<p>
+	${uiLabelMap.BusinessIntelligenceNote13}
+	${uiLabelMap.BusinessIntelligenceNote14}
+	${uiLabelMap.BusinessIntelligenceNote15}
+	${uiLabelMap.BusinessIntelligenceNote16}
+	${uiLabelMap.BusinessIntelligenceNote17}
+	${uiLabelMap.BusinessIntelligenceNote18}
+</p>
+<h2>${uiLabelMap.BusinessIntelligenceQuickStartGuide}</h2>
+<p>
+	${uiLabelMap.BusinessIntelligenceNote19}
+	${uiLabelMap.BusinessIntelligenceNote20}
+	${uiLabelMap.BusinessIntelligenceNote21}
+	${uiLabelMap.BusinessIntelligenceNote22}
+	${uiLabelMap.BusinessIntelligenceNote23}
+	${uiLabelMap.BusinessIntelligenceNote24}
+	${uiLabelMap.BusinessIntelligenceNote25}
+	${uiLabelMap.BusinessIntelligenceNote26}
+	${uiLabelMap.BusinessIntelligenceNote27}
+	${uiLabelMap.BusinessIntelligenceNote28}
+</p>

Modified: ofbiz/trunk/framework/bi/widget/BiScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/bi/widget/BiScreens.xml?rev=771073&r1=771072&r2=771073&view=diff
==============================================================================
--- ofbiz/trunk/framework/bi/widget/BiScreens.xml (original)
+++ ofbiz/trunk/framework/bi/widget/BiScreens.xml Sun May  3 16:19:04 2009
@@ -141,108 +141,28 @@
             <widgets>
                 <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
-                        <container>
-                            <label style="h1">${uiLabelMap.BusinessIntelligenceIntegratedFramework}</label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote1}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote2}
-                                ${uiLabelMap.BusinessIntelligenceNote3}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote4}
-                                ${uiLabelMap.BusinessIntelligenceNote5}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote6}
-                                ${uiLabelMap.BusinessIntelligenceNote7}
-                                ${uiLabelMap.BusinessIntelligenceNote8}
-                                ${uiLabelMap.BusinessIntelligenceNote9}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote10}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote11}
-                                ${uiLabelMap.BusinessIntelligenceNote12}
-                            </label>
-                        </container>
-                        <container>
-                            <label style="h3">
-                                ${uiLabelMap.BusinessIntelligenceCurrentStatus}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote13}
-                                ${uiLabelMap.BusinessIntelligenceNote14}
-                                ${uiLabelMap.BusinessIntelligenceNote15}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote16}
-                                ${uiLabelMap.BusinessIntelligenceNote17}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote18}
-                            </label>
-                        </container>
-                        <container>
-                            <label style="h3">
-                                ${uiLabelMap.BusinessIntelligenceQuickStartGuide}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote19}
-                                ${uiLabelMap.BusinessIntelligenceNote20}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote21}
-                                ${uiLabelMap.BusinessIntelligenceNote22}
-                                ${uiLabelMap.BusinessIntelligenceNote23}
-                                ${uiLabelMap.BusinessIntelligenceNote24}
-                                ${uiLabelMap.BusinessIntelligenceNote25}
-                            </label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote26}
-                                ${uiLabelMap.BusinessIntelligenceNote27}
-                                ${uiLabelMap.BusinessIntelligenceNote28}
-                            </label>
-                        </container>
-                        <container>
-                            <link target="quickInitDataWarehouse" text="${uiLabelMap.BusinessIntelligenceQuickInitDataWarehouse}" style="buttontext">
-                                <parameter param-name="fromDate"/>
-                                <parameter param-name="thruDate"/>
-                            </link>
-                            <label> (${uiLabelMap.CommonFromDate} ${fromDate} ${uiLabelMap.CommonThruDate} ${thruDate})</label>
-                        </container>
-                        <container>
-                            <label>
-                                ${uiLabelMap.BusinessIntelligenceNote29}
-                                ${uiLabelMap.BusinessIntelligenceNote30}
-                                ${uiLabelMap.BusinessIntelligenceNote31}
-                            </label>
+                        <container style="screenlet">
+                        	<container>
+                                <section>
+                                    <widgets>
+                                        <platform-specific>
+                                            <html><html-template location="component://bi/webapp/bi/main.ftl"/></html>
+                                        </platform-specific>
+                                    </widgets>
+                                </section>
+                            </container>
+                            <container style="screenlet-body">
+                            	<link target="quickInitDataWarehouse" text="${uiLabelMap.BusinessIntelligenceQuickInitDataWarehouse}" style="buttontext">
+                                	<parameter param-name="fromDate"/>
+                                	<parameter param-name="thruDate"/>
+                            	</link>
+                            	<label style="note"> (${uiLabelMap.CommonFromDate} ${fromDate} ${uiLabelMap.CommonThruDate} ${thruDate})</label>
+                            	<label style="note">
+                                	${uiLabelMap.BusinessIntelligenceNote29}
+                                	${uiLabelMap.BusinessIntelligenceNote30}
+                                	${uiLabelMap.BusinessIntelligenceNote31}
+                            	</label>
+                        	</container> 
                         </container>
                     </decorator-section>
                 </decorator-screen>

Modified: ofbiz/trunk/framework/common/config/CommonUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/config/CommonUiLabels.xml?rev=771073&r1=771072&r2=771073&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/config/CommonUiLabels.xml (original)
+++ ofbiz/trunk/framework/common/config/CommonUiLabels.xml Sun May  3 16:19:04 2009
@@ -564,6 +564,19 @@
         <value xml:lang="zh">任何网站</value>
         <value xml:lang="zh_CN">任意网站</value>
     </property>
+    <property key="CommonApplications">
+        <value xml:lang="de">Anwendungen</value>
+        <value xml:lang="en">Applications</value>
+        <value xml:lang="es">Aplicaciones</value>
+        <value xml:lang="fr">Applications</value>
+        <value xml:lang="hi_IN">एप्प्लिकेशन्स</value>
+        <value xml:lang="it">Applicazioni</value>
+        <value xml:lang="nl">Toepassingen</value>
+        <value xml:lang="pt">Aplicações</value>
+        <value xml:lang="ru">Применения</value>
+        <value xml:lang="zh">应用</value>
+        <value xml:lang="zh_CN">應用</value>
+    </property>
     <property key="CommonApply">
         <value xml:lang="ar">تطبيق</value>
         <value xml:lang="de">Anwenden</value>
@@ -4857,6 +4870,19 @@
         <value xml:lang="zh">上一个</value>
         <value xml:lang="zh_CN">前</value>
     </property>
+    <property key="CommonPrimaryApps">
+        <value xml:lang="de">Primäranwendungen</value>
+        <value xml:lang="en">Primary Apps</value>
+        <value xml:lang="es">Apps primario</value>
+        <value xml:lang="fr">Applications principales</value>
+        <value xml:lang="hi_IN">प्राथमिक एप्प्लिकेशन्स</value>
+        <value xml:lang="it">Apps primario</value>
+        <value xml:lang="nl">Primaire Apps</value>
+        <value xml:lang="pt">Apps preliminar</value>
+        <value xml:lang="ru">Основные применения</value>
+        <value xml:lang="zh">主要应用</value>
+        <value xml:lang="zh_CN">主要應用</value>
+    </property>
     <property key="CommonPrint">
         <value xml:lang="ar">نسخ</value>
         <value xml:lang="de">Drucken</value>
@@ -5582,6 +5608,19 @@
         <value xml:lang="th">ในลำดับที่สอง</value>
         <value xml:lang="zh">每秒</value>
     </property>
+    <property key="CommonSecondaryApps">
+        <value xml:lang="de">Sekundäranwendungen</value>
+        <value xml:lang="en">Secondary Apps</value>
+        <value xml:lang="es">Apps secundario</value>
+        <value xml:lang="fr">Applications secondaires</value>
+        <value xml:lang="hi_IN">द्वितीयक एप्प्लिकेशन्स</value>
+        <value xml:lang="it">Apps secondario</value>
+        <value xml:lang="nl">Secundaire Apps</value>
+        <value xml:lang="pt">Apps secundário</value>
+        <value xml:lang="ru">Вторичные применения</value>
+        <value xml:lang="zh">附属应用</value>
+        <value xml:lang="zh_CN">附屬應用</value>
+    </property>
     <property key="CommonSecondly">
         <value xml:lang="ar">ثانيا</value>
         <value xml:lang="de">Zweiter</value>

Modified: ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl?rev=771073&r1=771072&r2=771073&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl Sun May  3 16:19:04 2009
@@ -16,30 +16,6 @@
 specific language governing permissions and limitations
 under the License.
 -->
-
-<#-- TODO: Remove embedded style during UI refactor -->
-<style type="text/css">
-.webToolList {
-list-style-type: none;
-margin-left: 1em;
-}
-.webToolList li {
-padding: 0 1em 0 1em;
-}
-.webToolList h3 {
-padding: 1em 0 0 0;
-margin-left: -1em;
-}
-.webToolList li a {
-color: #000099;
-font-weight: bold;
-text-decoration: none;
-}
-.webToolList li a:hover {
-text-decoration: underline;
-}
-</style>
-
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <ul>