Commit d826a505 authored by Ivan Tyagov's avatar Ivan Tyagov

Place listbox results in top, right corner.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38013 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c689463f
......@@ -161,11 +161,15 @@
<div class="listbox-content">\n
\n
<div class="listbox-head">\n
<span tal:content="here/getTitle"/>\n
<span tal:condition="python: here.getTitle() and total_line>0"> - </span>\n
<div class="listbox-head-title" style="">\n
<span tal:replace="here/getTitle" />\n
</div>\n
\n
<!--Show search result -->\n
<span tal:condition="python: total_line > 0"\n
tal:replace="structure python: real_context.Base_translateString(\'Results <em>${start} - ${stop}</em> of <em>${total}</em>.\', mapping=dict(start=current_page_start, stop=current_page_stop, total=total_line))"/>\n
<div tal:condition="python: total_line > 0" \n
class="listbox-head-results">\n
<span tal:replace="structure python: real_context.Base_translateString(\'Results <em>${start} - ${stop}</em> of <em>${total}</em>.\', mapping=dict(start=current_page_start, stop=current_page_stop, total=total_line))"/>\n
</div>\n
</div>\n
\n
<div class="listbox-body">\n
......
......@@ -183,8 +183,22 @@ div.listbox-head{\n
color:#9D968D;\n
font-weight:bold;\n
margin-bottom: 10px;\n
min-height:20px;\n
}\n
div.listbox-head div.listbox-head-title{\n
float:left;\n
width:auto;\n
\n
}\n
\n
div.listbox-head div.listbox-head-results{\n
float: right; \n
width: auto; \n
clear: right;\n
text-align:right;\n
}\n
\n
\n
div.listbox-body{\n
width:auto;\n
}\n
......@@ -209,7 +223,6 @@ div.listbox-footer{\n
margin-bottom:0.3em;\n
margin-top:0.3em;\n
padding-left:0.2em;\n
\n
}\n
\n
/* Listbox Footer in gadget mode */\n
......
1522
\ No newline at end of file
1523
\ 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