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,31 +203,29 @@ ...@@ -203,31 +203,29 @@
class="tab tab_selected">\n class="tab tab_selected">\n
<span id="active_knowledge_pad_title" \n <span id="active_knowledge_pad_title" \n
tal:content="knowledge_pad/title"/>\n tal:content="knowledge_pad/title"/>\n
<img src="icon_edit.gif" \n \n
title="Settings"\n <span title="Settings"\n
i18n:attributes="title"\n i18n:attributes="title"\n
i18n:domain="ui"\n i18n:domain="ui"\n
class="clickable_image"\n class="clickable_image rename_tab_dialog_image"\n
onclick="toggleElement(\'rename_tab_dialog\');" \n onclick="toggleElement(\'rename_tab_dialog\');" \n
alt="edit"/>\n alt="edit"></span>\n
\n \n
<img src="icon_remove.gif" \n <span title="Remove"\n
title="Remove"\n
i18n:attributes="title"\n i18n:attributes="title"\n
i18n:domain="ui"\n i18n:domain="ui"\n
class="clickable_image"\n class="clickable_image remove_tab_dialog_image"\n
tal:condition="python: mode==\'erp5_front\'"\n tal:condition="python: mode==\'erp5_front\'"\n
tal:attributes="onclick python: \'removeKnowledgePadFromServer(\n tal:attributes="onclick python: \'removeKnowledgePadFromServer(\n
\\\'%s\\\', \\\'%s\\\',\\\'/%s\\\')\' \n \\\'%s\\\', \\\'%s\\\',\\\'/%s\\\')\' \n
%(active_knowledge_pad.getRelativeUrl(), \n %(active_knowledge_pad.getRelativeUrl(), \n
mode,\n mode,\n
context.getId())" \n context.getId())" \n
alt="remove"/>\n alt="remove"></span>\n
<img src="icon_remove.gif" \n <span title="Remove"\n
title="Remove"\n
i18n:attributes="title"\n i18n:attributes="title"\n
i18n:domain="ui"\n i18n:domain="ui"\n
class="clickable_image"\n class="clickable_image remove_tab_dialog_image"\n
tal:condition="python: mode!=\'erp5_front\'"\n tal:condition="python: mode!=\'erp5_front\'"\n
tal:attributes="onclick python: \'removeKnowledgePadFromServer(\n tal:attributes="onclick python: \'removeKnowledgePadFromServer(\n
\\\'%s\\\', \\\'%s\\\',\\\'/%s/%s\\\')\' \n \\\'%s\\\', \\\'%s\\\',\\\'/%s/%s\\\')\' \n
...@@ -235,7 +233,8 @@ ...@@ -235,7 +233,8 @@
mode,\n mode,\n
context.getPortalObject().getId(),\n context.getPortalObject().getId(),\n
context.getRelativeUrl())" \n context.getRelativeUrl())" \n
alt="remove"/>\n alt="remove"></span>\n
\n
</li>\n </li>\n
\n \n
<li tal:condition="not: is_active"\n <li tal:condition="not: is_active"\n
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</item> </item>
<item> <item>
<key> <string>_EtagSupport__etag</string> </key> <key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts72636595.17</string> </value> <value> <string>ts74423868.68</string> </value>
</item> </item>
<item> <item>
<key> <string>__name__</string> </key> <key> <string>__name__</string> </key>
...@@ -93,6 +93,17 @@ h3.handle span.handle {\n ...@@ -93,6 +93,17 @@ h3.handle span.handle {\n
float: left;\n float: left;\n
}\n }\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 .clickable-block{\n
display: block;\n display: block;\n
float: right;\n float: right;\n
...@@ -582,7 +593,7 @@ div.block div.worklist_list ul li a:hover{\n ...@@ -582,7 +593,7 @@ div.block div.worklist_list ul li a:hover{\n
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>size</string> </key>
<value> <int>9672</int> </value> <value> <int>9895</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
514 515
\ No newline at end of file \ 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