diff options
| author | Minh Tran <mit@openerp.com> | 2012-05-10 19:54:35 +0200 |
|---|---|---|
| committer | Minh Tran <mit@openerp.com> | 2012-05-10 19:54:35 +0200 |
| commit | df504e2e17b12468cc520b4a48c4a9c8c3330861 (patch) | |
| tree | 54119489d66b144da210badbc1c590ca3e1533ef /addons/web/static/src/xml/base.xml | |
| parent | 5121d6693f6eae84ab6f18fbe3b7457a43cd5b33 (diff) | |
revert to table for header
bzr revid: mit@openerp.com-20120510175435-stbl7vszjru3xwr1
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 73 |
1 files changed, 54 insertions, 19 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index aa88e861819..2219479b17b 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -423,25 +423,60 @@ <t t-name="ViewManager"> <div class="oe_view_manager"> - <div class="oe_view_manager_header"> - <div class="oe_header_row"> - <div class="oe_view_manager_view_search" t-opentag="true"/> - <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> - <div class="oe_header_row"> - <div class="oe_view_manager_buttons oe_left"/> - <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 t-if="view.view_type != 'form'"><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"/> - <div class="oe_view_manager_sidebar"/> - </div> - </div> + <!--<div class="oe_view_manager_header">--> + <!--<div class="oe_header_row">--> + <!--<div class="oe_view_manager_view_search" t-opentag="true"/>--> + <!--<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>--> + <!--<div class="oe_header_row">--> + <!--<div class="oe_view_manager_buttons oe_left"/>--> + <!--<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 t-if="view.view_type != 'form'"><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"/>--> + <!--<div class="oe_view_manager_sidebar"/>--> + <!--</div>--> + <!--</div>--> + + <table class="oe_view_manager_header"> + <col width="33%"/> + <col width="33%"/> + <col width="34%"/> + <tr class="oe_header_row"> + <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 class="oe_header_row"> + <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 > 2" t-foreach="widget.views_src" t-as="view"> + <li t-if="view.view_type != 'form'"><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}"/> |
