diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml index e19421f8e9bda7a1683da8c5ebcb18ac95ea00ec..d07e9c3d92366c779d3321fbc00de1d7373ee8a8 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml @@ -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 diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml index f38d4f9cbbb7d57dfe3160bcb5961cd3c6a7b9d4..93d47a5c80eecf26840d88c76dffeca9a793d92c 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml @@ -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 diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml index addbd5a0a3e9d11cdf047a8322b10de96dd3820b..dbe9d41716fed9a1a44500f4ccf9152bf0fbf906 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml @@ -97,31 +97,32 @@ IDEAS:\n </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 @@ IDEAS:\n </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 diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log index f06ea8b578a9aeaf228407484ca3ee1f7087cb7f..ad8dbcc46ffef2e943b1c75acd628a173cccd2c7 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log @@ -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. diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 0dd217acf8ca7a81b51b27dcd6a53653c0bfd5fb..54d5fa6f52fd8cf8765513c6457a9ba6147b718a 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -880 \ No newline at end of file +881 \ No newline at end of file