[WIP] mis_builder refactoring: cleanup widget styles a bit
parent
8e9a245dd2
commit
eca96c9f6c
|
@ -1,7 +1,15 @@
|
||||||
.openerp .mis_builder_ralign {
|
.openerp .mis_builder_amount {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.openerp .mis_builder_collabel {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.openerp .mis_builder_rowlabel {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
.openerp .mis_builder a {
|
.openerp .mis_builder a {
|
||||||
/* we don't want the link color, to respect user styles */
|
/* we don't want the link color, to respect user styles */
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|
|
@ -14,27 +14,23 @@
|
||||||
<tr class="oe_list_header_columns">
|
<tr class="oe_list_header_columns">
|
||||||
<th class="oe_list_header_char">
|
<th class="oe_list_header_char">
|
||||||
</th>
|
</th>
|
||||||
<th t-foreach="h_value.cols" t-as="col" class="oe_list_header_char mis_builder_ralign" t-att-colspan="col.colspan">
|
<th t-foreach="h_value.cols" t-as="col" class="oe_list_header_char mis_builder_collabel" t-att-colspan="col.colspan">
|
||||||
<div>
|
<t t-esc="col.description"/>
|
||||||
<t t-esc="col.description"/>
|
<t t-if="col.comment">
|
||||||
<t t-if="col.comment">
|
<br/>
|
||||||
<br/>
|
<t t-esc="col.comment"/>
|
||||||
<t t-esc="col.comment"/>
|
</t>
|
||||||
</t>
|
|
||||||
</div>
|
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</t>
|
</t>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr t-foreach="widget.mis_report_data.content" t-as="c">
|
<tr t-foreach="widget.mis_report_data.content" t-as="c">
|
||||||
<td t-att="{'style': c_value.default_style}">
|
<td t-att="{'style': c_value.style}">
|
||||||
<div>
|
<t t-esc="c_value.description"/>
|
||||||
<t t-esc="c_value.description"/>
|
|
||||||
</div>
|
|
||||||
</td>
|
</td>
|
||||||
<t t-foreach="c_value.cols" t-as="value">
|
<t t-foreach="c_value.cols" t-as="value">
|
||||||
<td t-att="{'style': c_value.default_style}" class="mis_builder_ralign">
|
<td t-att="{'style': c_value.style}" class="mis_builder_amount">
|
||||||
<div t-att="{'style': value_value.style, 'title': value_value.val_c}">
|
<div t-att="{'style': value_value.style, 'title': value_value.val_c}">
|
||||||
<t t-if="value_value.drilldown">
|
<t t-if="value_value.drilldown">
|
||||||
<a href="javascript:void(0)"
|
<a href="javascript:void(0)"
|
||||||
|
|
Loading…
Reference in New Issue