Author: mbrohl
Date: Sat Mar 17 11:31:26 2018 New Revision: 1827072 URL: http://svn.apache.org/viewvc?rev=1827072&view=rev Log: Improved: Standardise Layout throughout Applications. (OFBIZ-10242) This contains the improvements for webtools. Thanky Julian Leichert for reporting and providing the patch. Modified: ofbiz/ofbiz-framework/trunk/framework/webtools/widget/ArtifactInfoScreens.xml ofbiz/ofbiz-framework/trunk/framework/webtools/widget/EntityScreens.xml ofbiz/ofbiz-framework/trunk/framework/webtools/widget/StatsScreens.xml Modified: ofbiz/ofbiz-framework/trunk/framework/webtools/widget/ArtifactInfoScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webtools/widget/ArtifactInfoScreens.xml?rev=1827072&r1=1827071&r2=1827072&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/webtools/widget/ArtifactInfoScreens.xml (original) +++ ofbiz/ofbiz-framework/trunk/framework/webtools/widget/ArtifactInfoScreens.xml Sat Mar 17 11:31:26 2018 @@ -33,7 +33,9 @@ under the License. <widgets> <decorator-screen name="CommonArtifactDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <platform-specific><html><html-template location="component://webtools/template/artifactinfo/ArtifactInfo.ftl"/></html></platform-specific> + <screenlet> + <platform-specific><html><html-template location="component://webtools/template/artifactinfo/ArtifactInfo.ftl"/></html></platform-specific> + </screenlet> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/ofbiz-framework/trunk/framework/webtools/widget/EntityScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webtools/widget/EntityScreens.xml?rev=1827072&r1=1827071&r2=1827072&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/webtools/widget/EntityScreens.xml (original) +++ ofbiz/ofbiz-framework/trunk/framework/webtools/widget/EntityScreens.xml Sat Mar 17 11:31:26 2018 @@ -37,10 +37,14 @@ under the License. <widgets> <decorator-screen name="CommonEntityDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="EntitySQLCommand" location="component://webtools/widget/EntityForms.xml"/> - <platform-specific> - <html><html-template location="component://webtools/template/entity/EntitySQLProcessor.ftl"/></html> - </platform-specific> + <screenlet> + <include-form name="EntitySQLCommand" location="component://webtools/widget/EntityForms.xml"/> + </screenlet> + <screenlet> + <platform-specific> + <html><html-template location="component://webtools/template/entity/EntitySQLProcessor.ftl"/></html> + </platform-specific> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -484,9 +488,11 @@ under the License. <widgets> <decorator-screen name="CommonEntityDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <platform-specific> - <html><html-template location="component://webtools/template/entity/ConnectionPoolStatus.ftl"/></html> - </platform-specific> + <screenlet> + <platform-specific> + <html><html-template location="component://webtools/template/entity/ConnectionPoolStatus.ftl"/></html> + </platform-specific> + </screenlet> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/ofbiz-framework/trunk/framework/webtools/widget/StatsScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webtools/widget/StatsScreens.xml?rev=1827072&r1=1827071&r2=1827072&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/webtools/widget/StatsScreens.xml (original) +++ ofbiz/ofbiz-framework/trunk/framework/webtools/widget/StatsScreens.xml Sat Mar 17 11:31:26 2018 @@ -118,10 +118,12 @@ under the License. <decorator-section name="body"> <section> <widgets> + <screenlet> <container style="page-title"> <label text="${uiLabelMap[titleProperty]}"/> </container> <include-grid name="ListMetrics" location="component://webtools/widget/StatsForms.xml" /> + </screenlet> </widgets> </section> </decorator-section> |
Free forum by Nabble | Edit this page |