summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-04-10 23:26:45 +0200
committerAntony Lesuisse <al@openerp.com>2012-04-10 23:26:45 +0200
commit53510b98e7d9849329fe1666e42c3d96703a7e90 (patch)
treec3c9bb2894d2e939f765033f616d0b957aa91b90 /addons/web/static/src/xml/base.xml
parent8ae36d1cbcd70cfab5a10212486701d8d81d0244 (diff)
tables vs float, viewmanager uses tables, tables have won a battle but not yet the war
bzr revid: al@openerp.com-20120410212645-x2uumkezv9w031ei
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml45
1 files changed, 26 insertions, 19 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index f92862fbf70..fdf5a5a7b5f 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -407,25 +407,32 @@
<t t-name="ViewManager">
<div class="oe_view_manager">
- <div class="oe_view_manager_header">
- <div class="oe_view_manager_row">
- <h2 class="oe_view_title" t-if="widget.flags.display_title !== false">
- <span class="oe_view_title_text"><t t-esc="widget.display_title()"/></span>
- </h2>
- <div class="oe_view_manager_view_search" t-opentag="true"/>
- </div>
- <div class="oe_view_manager_row">
- <div class="oe_view_manager_buttons"/>
- <ul class="oe_view_manager_switch oe_button_group oe_right">
- <t t-if="widget.views_src.length != 1" t-foreach="widget.views_src" t-as="view">
- <li><a t-attf-class="oe_vm_switch_#{view.view_type} oe_i" t-att-data-view-type="view.view_type" t-att-title="view.label || view.view_type">
- </a></li>
- </t>
- </ul>
- <div class="oe_view_manager_pager"/>
- <div class="oe_view_manager_sidebar"/>
- </div>
- </div>
+ <table class="oe_view_manager_header2">
+ <col width="33%"/>
+ <col width="33%"/>
+ <col width="34%"/>
+ <tr>
+ <td colspan="2">
+ <h2 class="oe_view_title" t-if="widget.flags.display_title !== false">
+ <span class="oe_view_title_text"><t t-esc="widget.display_title()"/></span>
+ </h2>
+ </td>
+ <td> <div class="oe_view_manager_view_search" t-opentag="true"/> </td>
+ </tr>
+ <tr>
+ <td> <div class="oe_view_manager_buttons"/> </td>
+ <td> <div class="oe_view_manager_sidebar"/> </td>
+ <td>
+ <ul class="oe_view_manager_switch oe_button_group oe_right">
+ <t t-if="widget.views_src.length != 1" t-foreach="widget.views_src" t-as="view">
+ <li><a t-attf-class="oe_vm_switch_#{view.view_type} oe_i" t-att-data-view-type="view.view_type" t-att-title="view.label || view.view_type">
+ </a></li>
+ </t>
+ </ul>
+ <div class="oe_view_manager_pager oe_right"/>
+ </td>
+ </tr>
+ </table>
<div class="oe_view_manager_body">
<t t-foreach="widget.views_src" t-as="view">
<div t-attf-class="oe_view_manager_view_#{view.view_type}"/>