Commit ae05f19c authored by Vincent Pelletier's avatar Vincent Pelletier

Fix listbox title and "logged in as" font size eing too small.

Fix border visible in dialog mode.
Fix border visible on login screen.
Fix dialogs not displaying left/righ groups next to each other (updated rendering code to follow updates to form_render).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10464 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 11b744cf
...@@ -614,6 +614,13 @@ fieldset.bottom .field label {\n ...@@ -614,6 +614,13 @@ fieldset.bottom .field label {\n
display: none;\n display: none;\n
}\n }\n
\n \n
.login fieldset,\n
.dialog_box .left,\n
.dialog_box .right,\n
.dialog_box .center {\n
border-width: 0;\n
}\n
\n
.content .field {\n .content .field {\n
padding-bottom: 5px;\n padding-bottom: 5px;\n
}\n }\n
...@@ -832,7 +839,6 @@ fieldset.bottom .field label {\n ...@@ -832,7 +839,6 @@ fieldset.bottom .field label {\n
\n \n
#logged_in_as {\n #logged_in_as {\n
float: right;\n float: right;\n
font-size: 90%;\n
}\n }\n
\n \n
#logged_in_as .logged_txt{\n #logged_in_as .logged_txt{\n
...@@ -951,7 +957,9 @@ fieldset.bottom .field label {\n ...@@ -951,7 +957,9 @@ fieldset.bottom .field label {\n
padding-left: 10px;\n padding-left: 10px;\n
}\n }\n
\n \n
.ListSummary * {\n .ListSummary #listbox_title,\n
.ListSummary #listbox_record_number,\n
.ListSummary #listbox_item_number {\n
font-size: 90%;\n font-size: 90%;\n
}\n }\n
\n \n
......
...@@ -110,30 +110,25 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -110,30 +110,25 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
i18n:translate="" i18n:domain="ui">Go</span>\n i18n:translate="" i18n:domain="ui">Go</span>\n
</button>\n </button>\n
</div>\n </div>\n
<div class="content">\n <div class="content"\n
<div tal:condition="python: len(left_group) > 0 or len(right_group) > 0"\n tal:define="group_list python: [];\n
class="top_group">\n dummy python: group_list.extend([here.ERP5XhtmlStyle_getFormGroupTitleAndId(x) for x in form.get_groups(include_empty=0) if x != \'bottom\']);\n
<div tal:condition="python: len(left_group) > 0"\n gid_list python: \' \'.join([x[0] for x in group_list]);">\n
class="left">\n <tal:block tal:repeat="group group_list">\n
<tal:block tal:repeat="field left_group">\n <tal:block tal:define="gid python: group[0];\n
<tal:block metal:use-macro="here/field_render/macros/field_render" />\n gtitle python: group[1];\n
goid python: group[2];">\n
<fieldset tal:condition="python: gid.find(\'hidden\') < 0"\n
tal:attributes="class python: gid;\n
id python: \'fieldset_\' + gid.replace(\' \', \'_\');">\n
<legend tal:content="python: gtitle" class="group_title"/>\n
<tal:block tal:repeat="field python: form.get_fields_in_group(goid)">\n
<tal:block metal:use-macro="here/field_render/macros/field_render"/>\n
</tal:block>\n </tal:block>\n
</div>\n </fieldset>\n
<div tal:condition="python: len(right_group) > 0"\n <p tal:condition="python: gid.find(\'right\') >= 0 or (gid.find(\'left\') >= 0 and \'right\' not in gid_list)" class="clear"/>\n
class="right">\n
<tal:block tal:repeat="field right_group">\n
<tal:block metal:use-macro="here/field_render/macros/field_render" />\n
</tal:block>\n </tal:block>\n
</div>\n
<p class="clear">&nbsp;</p>\n
</div>\n
<div tal:condition="python: len(center_group) > 0"\n
class="center">\n
<tal:block tal:repeat="field center_group">\n
<tal:block metal:use-macro="here/field_render/macros/field_render" />\n
<p class="clear"></p>\n
</tal:block>\n </tal:block>\n
</div>\n
<p class="clear"></p>\n <p class="clear"></p>\n
</div>\n </div>\n
</div>\n </div>\n
......
235 237
\ 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