mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
add web_searchbar_full_width
This commit is contained in:
committed by
Pedro M. Baeza
parent
a095b86105
commit
4e535e7860
@@ -0,0 +1,20 @@
|
||||
.openerp .oe_application .oe_breadcrumb_item:not(:last-child)
|
||||
{
|
||||
max-width: inherit;
|
||||
}
|
||||
.openerp .oe_searchview
|
||||
{
|
||||
width: 100%;
|
||||
}
|
||||
.openerp .oe_view_manager_current > .oe_view_manager_header .oe_header_row_top td
|
||||
{
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
.openerp .oe_view_manager_current > .oe_view_manager_header span.oe_breadcrumb_item
|
||||
{
|
||||
padding-top: 3px;
|
||||
}
|
||||
.openerp .oe_view_manager table.oe_view_manager_header h2
|
||||
{
|
||||
line-height: 20px;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-extend="ViewManagerAction">
|
||||
<t t-jquery="tr.oe_header_row_top td:nth-child(1)">
|
||||
jQuery(this).attr('colspan', 4);
|
||||
</t>
|
||||
<t t-jquery="tr.oe_header_row_top td:nth-child(2)">
|
||||
var $new_row = jQuery('<tr class="oe_header_row"/>');
|
||||
jQuery(this)
|
||||
.parents('tr')
|
||||
.after($new_row);
|
||||
$new_row.append(jQuery(this).attr('colspan', 4));
|
||||
</t>
|
||||
</t>
|
||||
</templates>
|
||||
Reference in New Issue
Block a user