[Erp5-report] r32140 yo - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemp...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 1 14:31:53 CET 2010


Author: yo
Date: Mon Feb  1 14:31:52 2010
New Revision: 32140

URL: http://svn.erp5.org?rev=32140&view=rev
Log:
2010-02-01 yo
* Add classes into elements which have ids set in page templates, so that we could get rid of the ids potentially (but we can't because of tests).

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
    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/context_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml?rev=32140&r1=32139&r2=32140&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml [utf8] Mon Feb  1 14:31:52 2010
@@ -43,7 +43,7 @@
            xmlns:metal="http://xml.zope.org/namespaces/metal"\n
            xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n
   <tal:block metal:define-macro="master">\n
-    <span id="jump" metal:define-macro="jump">\n
+    <span id="jump" class="jump" metal:define-macro="jump">\n
       <select name="select_jump"\n
               onChange="submitAction(this.form,\'Base_doJump\')">\n
         <option selected="selected" value=""\n
@@ -78,7 +78,7 @@
 \n
     <span class="separator"><!--separator--></span>\n
 \n
-    <span id="action" metal:define-macro="action">\n
+    <span id="action" class="action" metal:define-macro="action">\n
       <select name="select_action"\n
               onChange="submitAction(this.form,\'Base_doAction\')">\n
         <option selected="selected" value=""\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml?rev=32140&r1=32139&r2=32140&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml [utf8] Mon Feb  1 14:31:52 2010
@@ -45,7 +45,7 @@
   <tal:block tal:define="portal here/getPortalObject;\n
                          actions python:portal.portal_actions.listFilteredActionsFor(here)">\n
     <span class="first">\n
-      <span id="favourites">\n
+      <span id="favourites" class="favourites">\n
         <select name="select_favorite"\n
                 onChange="submitAction(this.form,\'Base_doFavorite\')"\n
                 tal:define="ordered_global_actions python:here.getOrderedGlobalActionList(actions[\'global\']);\n
@@ -82,7 +82,7 @@
         </button>\n
       </span>\n
       <span class="separator"><!--separator--></span>\n
-      <span id="modules">\n
+      <span id="modules" class="modules">\n
         <select name="select_module"\n
                 onChange="submitAction(this.form,\'Base_doModule\')"\n
                 tal:define="module_list here/ERP5Site_getModuleItemList;">\n
@@ -101,7 +101,7 @@
       </span>\n
     </span>\n
     <span class="second">\n
-      <span id="language">\n
+      <span id="language" class="language">\n
         <select name="select_language"\n
                 tal:define="language_list python:portal.portal_preferences.getPreference(\'preferred_user_interface_language_list\', None)"\n
                 onChange="submitAction(this.form,\'Base_doLanguage\')">\n
@@ -124,7 +124,7 @@
         </button>\n
       </span>\n
       <span class="separator"><!--separator--></span>\n
-      <span id="search" tal:define="search_default_text python:here.Base_translateString(\'Search\')">\n
+      <span id="search" class="search" tal:define="search_default_text python:here.Base_translateString(\'Search\')">\n
         <input type="hidden" name="all_languages" value="1" />\n
         <input class="quick_search_field" accesskey="4" type="text" name="field_your_search_text"\n
           value="Search" tal:attributes="value string:${search_default_text};\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml?rev=32140&r1=32139&r2=32140&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml [utf8] Mon Feb  1 14:31:52 2010
@@ -97,31 +97,32 @@
           </tal:block>\n
         </head>\n
         <body tal:attributes="class body_css_class|nothing">\n
-          <form id="main_form" \n
+          <form id="main_form"\n
+                class="main_form"\n
                 onsubmit="changed=false; return true"\n
                 tal:attributes="enctype enctype | form/Form_getEnctype | nothing;\n
                 action url;\n
                 method python:str(path(\'form/method | string:post\')).lower()">\n
-            <fieldset id="hidden_fieldset">\n
+            <fieldset id="hidden_fieldset" class="hidden_fieldset">\n
               <input tal:condition="form_action | nothing"\n
-                     id="hidden_button" type="submit" value="dummy"\n
+                     id="hidden_button" class="hidden_button" type="submit" value="dummy"\n
                      tal:attributes="name string:${form_action}:method" />\n
               <tal:block metal:use-macro="global_definitions_macros/http_definitions" />\n
             </fieldset>\n
             <tal:block metal:define-slot="layout">\n
-              <div id="bars">\n
-                <div id="main_bar"\n
+              <div id="bars" class="bars">\n
+                <div id="main_bar" class="main_bar"\n
                      tal:content="structure portal/ERP5Site_renderCachedNavigationBox">\n
                 </div>\n
-                <div id="context_bar">\n
+                <div id="context_bar" class="context_bar">\n
                   <tal:block metal:define-slot="context_bar" />\n
                 </div>\n
               </div>\n
-              <div id="status">\n
-                <div id="breadcrumb">\n
+              <div id="status" class="status">\n
+                <div id="breadcrumb" class="breadcrumb">\n
                   <tal:block metal:use-macro="here/breadcrumb_render/macros/breadcrumb" />\n
                 </div>\n
-                <div id="logged_in_as">\n
+                <div id="logged_in_as" class="logged_in_as">\n
                   <tal:block tal:condition="not: portal/portal_membership/isAnonymousUser">\n
                     <span class="logged_txt" i18n:translate="" i18n:domain="ui">Logged In as :</span>\n
                     <tal:block tal:replace="python:portal.portal_membership.getAuthenticatedMember().getUserName()" />\n
@@ -129,19 +130,20 @@
                 </div>\n
                 <p class="clear"></p>\n
                 <tal:block tal:condition="preferred_html_style_acknowledgeable_message | nothing">\n
-                  <div id="acknowledgeable_message_render">\n
+                  <div id="acknowledgeable_message_render" class="acknowledgeable_message_render">\n
                     <div tal:content="structure here/acknowledgeable_message_render"/>\n
                   </div>\n
                 </tal:block>\n
-                <div tal:content="request/portal_status_message | nothing" id="transition_message" />\n
+                <div tal:content="request/portal_status_message | nothing" id="transition_message"\n
+                     class="transition_message"/>\n
                 <tal:block tal:condition="request/field_errors | nothing">\n
-                  <div id="information_area" i18n:translate="" i18n:domain="ui">\n
+                  <div id="information_area" class="information_area" i18n:translate="" i18n:domain="ui">\n
                     Input data has errors. Please look at the error messages below.\n
                   </div>\n
                   <script type="text/javascript">changed = true;</script>\n
                 </tal:block>\n
               </div>\n
-              <div id="master">\n
+              <div id="master" class="master">\n
                 <tal:block metal:define-slot="main" />\n
               </div>\n
             </tal:block>\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log?rev=32140&r1=32139&r2=32140&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log [utf8] Mon Feb  1 14:31:52 2010
@@ -1,3 +1,6 @@
+2010-02-01 yo
+* Add classes into elements which have ids set in page templates, so that we could get rid of the ids potentially (but we can't because of tests).
+
 2010-02-01 yo
 * Switch to class-based completely instead of id-based styling in erp5.css. The old way is kept for backward compatibility.
 

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=32140&r1=32139&r2=32140&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] Mon Feb  1 14:31:52 2010
@@ -1,1 +1,1 @@
-880
+881




More information about the Erp5-report mailing list