Commit c04a4e9f authored by Ivan Tyagov's avatar Ivan Tyagov

Make sure that creating a new (own) tab out of a template one is properly styled.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40474 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ee5afacf
......@@ -246,17 +246,15 @@
<li class="tab"\n
tal:condition="not: isKnowledgePadTemplateUsed"\n
onclick="toggleElementById(\'add_new_tab_dialog\');"\n
i18n:translate="" i18n:domain="ui"\n
i18n:translate="title" i18n:domain="ui"\n
title="Add new tab"\n
id="add_new_tab_dialog_link">Add tab</li>\n
<li class="tab"\n
tal:condition="isKnowledgePadTemplateUsed"\n
onclick="showCreateDefaultKnowledgePadWarningMessage();"\n
i18n:translate="" i18n:domain="ui"\n
id="add_new_tab_dialog_link">\n
<img src="images/configure.png" \n
style="width:15px;"\n
alt="images/configure.png"/>\n
</li>\n
i18n:translate="title" i18n:domain="ui"\n
title="Create your own tab"\n
id="create_own_pad_dialog_link"></li>\n
</ul>\n
</div>\n
</td>\n
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts89995593.36</string> </value>
<value> <string>ts90438532.66</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -249,6 +249,22 @@ div.toggable_dialog{\n
border-style: none;\n
}\n
\n
#create_own_pad_dialog_link{\n
cursor: pointer; \n
font-weight: bold;\n
background: url("images/configure.png") no-repeat !important;\n
display: block;\n
float: left;\n
font-weight: bold;\n
height: 22px!important;\n
width:22px!important;\n
padding-top: 5px;\n
padding-left: 5px;\n
margin-left: 5px;\n
border-style: none;\n
border:1px solid red;\n
}\n
\n
#tabs-switcher-container{\n
width: 17.5%;\n
}\n
......@@ -489,7 +505,7 @@ div.gadget-rss-reader .body {\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>7993</int> </value>
<value> <int>8341</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
609
\ No newline at end of file
610
\ 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