[Erp5-report] r28441 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Aug 18 15:36:41 CEST 2009


Author: fabien
Date: Tue Aug 18 15:36:39 2009
New Revision: 28441

URL: http://svn.erp5.org?rev=28441&view=rev
Log:
- use buttons instead of inputs, this make apparence customisation easier.
- Modify css to have transparent background on span inside buttons.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml?rev=28441&r1=28440&r2=28441&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml [utf8] Tue Aug 18 15:36:39 2009
@@ -60,22 +60,29 @@
             <tal:block metal:define-slot="main" />\n
             <tal:block metal:define-slot="bottom" />\n
           </div>\n
-          <input tal:condition="cancel_url|request/cancel_url|nothing"\n
-                 i18n:attributes="value" i18n:domain="ui" value="Cancel Action" accesskey="C"\n
-                 id="dialog_cancel_button" name="Base_cancel:method" type="submit" />\n
-          <input i18n:attributes="value" i18n:domain="ui"\n
-                 tal:attributes="value python: here.Base_getFormViewDialogActionButtonUpdateActionTitle(form);"\n
-                 tal:condition="form/update_action|nothing" accesskey="U"\n
-                 id="dialog_update_button"\n
-                 name="Base_showUpdateDialog:method" type="submit" />\n
-          <input tal:attributes="value python: here.Base_getFormViewDialogActionButtonTitle(form);"\n
-                 i18n:attributes="value" i18n:domain="ui" accesskey="V"\n
-                 id="dialog_submit_button" type="submit" name="Base_callDialogMethod:method" />\n
+          <button \n
+                 value="Cancel Action" accesskey="C"\n
+                 id="dialog_cancel_button" name="Base_cancel:method"\n
+                 type="submit" class="bt-med">\n
+                 <span i18n:translate="" i18n:domain="ui" tal:content="string:Cancel Action">Update</span>\n
+          </button>\n
+          <button tal:condition="form/update_action|nothing" accesskey="U"\n
+                 id="dialog_update_button" class="bt-med"\n
+                 name="Base_showUpdateDialog:method" type="submit">\n
+                 <span i18n:translate="" i18n:domain="ui" tal:content="python:\n
+                   here.Base_getFormViewDialogActionButtonUpdateActionTitle(form)">Update</span>\n
+          </button>\n
+          <button accesskey="V"\n
+            id="dialog_submit_button" class="bt-med" \n
+            type="submit" name="Base_callDialogMethod:method">\n
+            <span i18n:translate="" i18n:domain="ui" tal:content="python: here.Base_getFormViewDialogActionButtonTitle(form)">Clone & Edit</span>\n
+          </button>\n
         </tal:block>\n
       </tal:block>\n
     </tal:block>\n
   </tal:block>\n
-</tal:block>
+</tal:block>\n
+
 
 ]]></string> </value>
         </item>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml?rev=28441&r1=28440&r2=28441&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml [utf8] Tue Aug 18 15:36:39 2009
@@ -422,7 +422,7 @@
 }\n
 \n
 button span {\n
-  background-color: inherit;\n
+  background-color: transparent;\n
   color: #000;\n
 }\n
 \n
@@ -1510,7 +1510,8 @@
 }\n
 .listbox_missing_search_criterion td{\n
   text-align: center!important;\n
-}
+}\n
+
 
 ]]></string> </value>
         </item>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=28441&r1=28440&r2=28441&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Tue Aug 18 15:36:39 2009
@@ -1,1 +1,1 @@
-806
+808




More information about the Erp5-report mailing list