You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bu...@apache.org on 2010/10/31 10:19:30 UTC
svn commit: r1029281 - in /ofbiz/trunk/framework/webtools:
webapp/webtools/entity/ViewGeneric.ftl widget/EntityScreens.xml
Author: buscob
Date: Sun Oct 31 09:19:30 2010
New Revision: 1029281
URL: http://svn.apache.org/viewvc?rev=1029281&view=rev
Log:
Added proper menu button styles
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/entity/ViewGeneric.ftl
ofbiz/trunk/framework/webtools/widget/EntityScreens.xml
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/entity/ViewGeneric.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/entity/ViewGeneric.ftl?rev=1029281&r1=1029280&r2=1029281&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/entity/ViewGeneric.ftl (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/entity/ViewGeneric.ftl Sun Oct 31 09:19:30 2010
@@ -50,15 +50,15 @@ function ShowTab(lname) {
<h2>${uiLabelMap.WebtoolsWithPk}: ${findByPk}</h2>
<br />
<div class="button-bar">
- <a href='<@o...@ofbizUrl>' class="smallSubmit">${uiLabelMap.WebtoolsBackToFindScreen}</a>
+ <a href='<@o...@ofbizUrl>' class="buttontext">${uiLabelMap.WebtoolsBackToFindScreen}</a>
<#if enableEdit = "false">
<#if hasCreatePermission>
- <a href='<@o...@ofbizUrl>' class="smallSubmit">${uiLabelMap.CommonCreateNew}</a>
- <a href="<@o...@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonEdit}</a>
+ <a href='<@o...@ofbizUrl>' class="buttontext create">${uiLabelMap.CommonCreateNew}</a>
+ <a href="<@o...@ofbizUrl>" class="buttontext">${uiLabelMap.CommonEdit}</a>
</#if>
<#if value?has_content>
<#if hasDeletePermission>
- <a href='<@o...@ofbizUrl>' class="smallSubmit">${uiLabelMap.WebtoolsDeleteThisValue}</a>
+ <a href='<@o...@ofbizUrl>' class="buttontext delete">${uiLabelMap.WebtoolsDeleteThisValue}</a>
</#if>
</#if>
</#if>
Modified: ofbiz/trunk/framework/webtools/widget/EntityScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/EntityScreens.xml?rev=1029281&r1=1029280&r2=1029281&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/EntityScreens.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/EntityScreens.xml Sun Oct 31 09:19:30 2010
@@ -172,7 +172,7 @@ under the License.
<link target="ViewRelations" text="${uiLabelMap.WebtoolsViewRelations}" style="buttontext">
<parameter param-name="entityName" from-field="entityName"/>
</link>
- <link target="ViewGeneric" text="${uiLabelMap.CommonCreateNew}" style="buttontext">
+ <link target="ViewGeneric" text="${uiLabelMap.CommonCreateNew}" style="buttontext create">
<parameter param-name="entityName" from-field="entityName"/>
<parameter param-name="enableEdit" value="true"/>
</link>