[Erp5-report] r8210 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jun 28 18:27:24 CEST 2006
Author: vincent
Date: Wed Jun 28 18:27:21 2006
New Revision: 8210
URL: http://svn.erp5.org?rev=8210&view=rev
Log:
Use the normal way to display tooltips, no css hover trick.
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/erp5.css.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
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=8210&r1=8209&r2=8210&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml Wed Jun 28 18:27:21 2006
@@ -222,7 +222,7 @@
<tal:block tal:condition="list_mode | nothing">\n
<span class="separator"></span>\n
<a tal:condition="search_actions" class="find" title="Find"\n
- tal:attributes="href python: here.ERP5Site_renderLink(\'%s?dialog_category=object_search\' % (search_actions[0][\'url\'], ), http_parameters)">\n
+ tal:attributes="href python: here.ERP5Site_renderCustomLink(search_actions[0][\'url\'], http_parameter_list, dialog_category=\'object_search\')">\n
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Find</span>\n
</a>\n
@@ -236,7 +236,7 @@
<span class="description" i18n:translate="" i18n:domain="ui">Filter</span>\n
</button>\n
<a tal:condition="sort_actions" class="sort" title="Sort"\n
- tal:attributes="href python: here.ERP5Site_renderLink(\'%s?dialog_category=object_sort\' % (sort_actions[0][\'url\'], ), http_parameters)">\n
+ tal:attributes="href python: here.ERP5Site_renderCustomLink(sort_actions[0][\'url\'], http_parameter_list, dialog_category=\'object_sort\')">\n
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Sort</span>\n
</a>\n
@@ -244,12 +244,12 @@
<span tal:condition="exchange_actions | report_actions"\n
class="separator"></span>\n
<a tal:condition="exchange_actions" class="import_export" title="Import / Export"\n
- tal:attributes="href python: here.ERP5Site_renderLink(\'%s?dialog_category=object_exchange\' % (exchange_actions[0][\'url\'], ), http_parameters)">\n
+ tal:attributes="href python: here.ERP5Site_renderCustomLink(exchange_actions[0][\'url\'], http_parameter_list, dialog_category=\'object_exchange\')">\n
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Import / Export</span>\n
</a>\n
<a tal:condition="report_actions" class="report" title="Report"\n
- tal:attributes="href python: here.ERP5Site_renderLink(\'%s?dialog_category=object_report\' % (report_actions[0][\'url\'], ), http_parameters)">\n
+ tal:attributes="href python: here.ERP5Site_renderCustomLink(report_actions[0][\'url\'], http_parameter_list, dialog_category=\'object_report\')">\n
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Report</span>\n
</a>\n
@@ -267,7 +267,7 @@
<tal:block tal:condition="ui_actions">\n
<span class="separator"></span>\n
<a class="configure" title="Configure"\n
- tal:attributes="href python: here.ERP5Site_renderLink(\'%s?dialog_category=object_ui\' % (ui_actions[0][\'url\'], ), http_parameters)">\n
+ tal:attributes="href python: here.ERP5Site_renderCustomLink(ui_actions[0][\'url\'], http_parameter_list, dialog_category=\'object_ui\')">\n
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Configure</span>\n
</a>\n
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=8210&r1=8209&r2=8210&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml Wed Jun 28 18:27:21 2006
@@ -434,6 +434,14 @@
text-align: left;\n
}\n
\n
+#main_bar button .description,\n
+#context_bar button .description,\n
+.content .field .description,\n
+.document .actions button.save .description,\n
+#context_bar .tool_buttons a .description {\n
+ display: none;\n
+}\n
+\n
/* Main bar */\n
\n
#main_bar {\n
@@ -481,7 +489,7 @@
height: 16px;\n
}\n
\n
-/* XXX: Bug fix when no logged\n
+/* XXX: Bug fix when not logged\n
by <chritophe at nexedi.com> */\n
.document .actions {\n
min-height: 2.5em;\n
@@ -489,29 +497,6 @@
\n
.content .field {\n
position: relative;\n
-}\n
-\n
-#main_bar button .description,\n
-#context_bar button .description,\n
-.content .field .description,\n
-.document .actions button.save .description {\n
- display: none;\n
- position: absolute;\n
- white-space: pre;\n
- z-index: 50;\n
- border-width: 1px;\n
- border-style: solid;\n
- border-color: <dtml-var tooltip_border_color>;\n
- background-color: <dtml-var tooltip_background_color>;\n
- color: <dtml-var tooltip_color>;\n
-}\n
-\n
-.content .field .description {\n
- /* \\*/\n
- margin-left: 16em;\n
- /* */\n
- margin-top: -0.5em;\n
- top: 100%;\n
}\n
\n
.content .field .figure {\n
@@ -563,23 +548,6 @@
/*.login label {\n
text-align: right;\n
}*/\n
-\n
-#main_bar .first button .description,\n
-#context_bar button .description {\n
- left: 0;\n
-}\n
-\n
-#main_bar .second button .description,\n
-.document .actions button.save .description {\n
- right: 0;\n
-}\n
-\n
-#main_bar button:hover .description,\n
-.document .actions button.save:hover .description,\n
-.content .field:hover .description,\n
-#context_bar button:hover .description {\n
- display: block;\n
-}\n
\n
#favourites button .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalPath()">/images/favourite.png\');\n
@@ -650,10 +618,6 @@
margin: 0;\n
padding: 0;\n
display: block;\n
-}\n
-\n
-#context_bar .tool_buttons a .description {\n
- display: none;\n
}\n
\n
#context_bar #jump button .image {\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml?rev=8210&r1=8209&r2=8210&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml Wed Jun 28 18:27:21 2006
@@ -76,7 +76,8 @@
<tal:block tal:define="value python:request.get(field.id, None)">\n
<tal:block tal:define="html_render python: field.render_htmlgrid(value, request)">\n
<tal:block tal:condition="python:field.meta_type != \'HiddenStringField\'">\n
- <div tal:repeat="html_tuple html_render" class="field">\n
+ <div tal:repeat="html_tuple html_render" class="field"\n
+ tal:attributes="title python: here.Localizer.translate(\'erp5_ui\', here.Base_getFieldDescription(field))">\n
<label tal:attributes="class python: {0: {0: None, 1: \'required\'},\n
1: {0: \'error\', 1: \'reqerror\'}}[field_errors.has_key(field.id)][field.is_required()]">\n
<tal:block tal:content="structure python: html_tuple[0]"\n
@@ -87,12 +88,6 @@
</label>\n
<div class="input"\n
tal:content="structure python: html_tuple[1]"></div>\n
- <tal:block tal:define="tooltip python: here.Localizer.translate(\'erp5_ui\', here.Base_getFieldDescription(field))">\n
- <span tal:condition="tooltip"\n
- tal:content="tooltip"\n
- class="description"\n
- i18n:translate="" i18n:domain="ui"></span>\n
- </tal:block>\n
<span tal:condition="python: field_errors.has_key(field.id)"\n
class="error"\n
tal:content="python: field_errors[field.id].error_text"\n
More information about the Erp5-report
mailing list