Commit f529441a authored by Ivan Tyagov's avatar Ivan Tyagov

Use CSS to style edit & remove pads icons to make it easier to override.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35507 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 95687633
......@@ -203,39 +203,38 @@
class="tab tab_selected">\n
<span id="active_knowledge_pad_title" \n
tal:content="knowledge_pad/title"/>\n
<img src="icon_edit.gif" \n
title="Settings"\n
i18n:attributes="title"\n
i18n:domain="ui"\n
class="clickable_image"\n
onclick="toggleElement(\'rename_tab_dialog\');" \n
alt="edit"/>\n
\n
<img src="icon_remove.gif" \n
title="Remove"\n
i18n:attributes="title"\n
i18n:domain="ui"\n
class="clickable_image"\n
tal:condition="python: mode==\'erp5_front\'"\n
tal:attributes="onclick python: \'removeKnowledgePadFromServer(\n
\\\'%s\\\', \\\'%s\\\',\\\'/%s\\\')\' \n
%(active_knowledge_pad.getRelativeUrl(), \n
<span title="Settings"\n
i18n:attributes="title"\n
i18n:domain="ui"\n
class="clickable_image rename_tab_dialog_image"\n
onclick="toggleElement(\'rename_tab_dialog\');" \n
alt="edit"></span>\n
\n
<span title="Remove"\n
i18n:attributes="title"\n
i18n:domain="ui"\n
class="clickable_image remove_tab_dialog_image"\n
tal:condition="python: mode==\'erp5_front\'"\n
tal:attributes="onclick python: \'removeKnowledgePadFromServer(\n
\\\'%s\\\', \\\'%s\\\',\\\'/%s\\\')\' \n
%(active_knowledge_pad.getRelativeUrl(), \n
mode,\n
context.getId())" \n
alt="remove"/>\n
<img src="icon_remove.gif" \n
title="Remove"\n
i18n:attributes="title"\n
i18n:domain="ui"\n
class="clickable_image"\n
tal:condition="python: mode!=\'erp5_front\'"\n
tal:attributes="onclick python: \'removeKnowledgePadFromServer(\n
\\\'%s\\\', \\\'%s\\\',\\\'/%s/%s\\\')\' \n
%(active_knowledge_pad.getRelativeUrl(), \n
alt="remove"></span>\n
<span title="Remove"\n
i18n:attributes="title"\n
i18n:domain="ui"\n
class="clickable_image remove_tab_dialog_image"\n
tal:condition="python: mode!=\'erp5_front\'"\n
tal:attributes="onclick python: \'removeKnowledgePadFromServer(\n
\\\'%s\\\', \\\'%s\\\',\\\'/%s/%s\\\')\' \n
%(active_knowledge_pad.getRelativeUrl(), \n
mode,\n
context.getPortalObject().getId(),\n
context.getRelativeUrl())" \n
alt="remove"/>\n
alt="remove"></span>\n
\n
</li>\n
\n
<li tal:condition="not: is_active"\n
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts72636595.17</string> </value>
<value> <string>ts74423868.68</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -93,6 +93,17 @@ h3.handle span.handle {\n
float: left;\n
}\n
\n
#tabs li span.rename_tab_dialog_image{\n
background: url("icon_edit.gif") no-repeat;\n
padding-right: 6px;\n
}\n
\n
#tabs li span.remove_tab_dialog_image{\n
background: url("icon_remove.gif") no-repeat;\n
padding-right: 6px;\n
}\n
\n
\n
.clickable-block{\n
display: block;\n
float: right;\n
......@@ -582,7 +593,7 @@ div.block div.worklist_list ul li a:hover{\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>9672</int> </value>
<value> <int>9895</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
514
\ No newline at end of file
515
\ 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