Commit 0b95fe97 authored by Yoshinori Okuji's avatar Yoshinori Okuji

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).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32140 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e8761685
......@@ -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
......
......@@ -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
......
......@@ -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
......
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.
......
880
\ No newline at end of file
881
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment