Browse Source

[IMP] mis_builder: css cosmetics

pull/86/head
Stéphane Bidoul 9 years ago
parent
commit
842c57206d
  1. 8
      mis_builder/static/src/css/custom.css
  2. 20
      mis_builder/static/src/xml/mis_widget.xml

8
mis_builder/static/src/css/custom.css

@ -1,11 +1,13 @@
.mis_builder_ralign {
.openerp .mis_builder_ralign {
text-align: right;
}
a.mis_builder_drilldown {
.openerp .mis_builder a {
/* we don't want the link color, to respect user styles */
color: inherit;
}
a.mis_builder_drilldown:hover {
.openerp .mis_builder a:hover {
/* underline links on hover to give a visual cue */
text-decoration: underline;
}

20
mis_builder/static/src/xml/mis_widget.xml

@ -1,19 +1,19 @@
<template>
<t t-name="mis_builder.MisReport">
<p> </p>
<table t-if="widget.mis_report_data" class="oe_list_content">
<table t-if="widget.mis_report_data" class="oe_list_content mis_builder">
<thead>
<tr class="oe_list_header_columns">
<th class="oe_list_header_char"></th>
<t t-foreach="widget.mis_report_data.header" t-as="h">
<th t-foreach="h_value.cols" t-as="header" class="oe_list_header_char mis_builder_ralign">
<div>
<t t-esc="header.name"/>
</div>
<div>
<t t-esc="header.date"/>
</div>
</th>
<th t-foreach="h_value.cols" t-as="col" class="oe_list_header_char mis_builder_ralign">
<div>
<t t-esc="col.name"/>
</div>
<div>
<t t-esc="col.date"/>
</div>
</th>
</t>
</tr>
</thead>
@ -25,7 +25,7 @@
</div>
</td>
<t t-foreach="c_value.cols" t-as="value">
<td class="mis_builder_ralign" t-att="{'style': c_value.default_style}">
<td t-att="{'style': c_value.default_style}" class="mis_builder_ralign">
<div t-att="{'style': value_value.style, 'title': value_value.val_c}">
<t t-if="value_value.drilldown">
<a href="javascript:void(0)"

Loading…
Cancel
Save