[IMP] Improved module and partners kanban view a bit
bzr revid: fme@openerp.com-20120524090214-nrd1yz3afrjwmny2
This commit is contained in:
parent
cfe58b151e
commit
2a09a66192
|
@ -76,9 +76,9 @@
|
|||
<field name="complexity"/>
|
||||
<templates>
|
||||
<t t-name="kanban-box">
|
||||
<div class="oe_module_vignette">
|
||||
<div class="oe_module_vignette oe_kanban_auto_height">
|
||||
<t t-set="installed" t-value="record.state.raw_value == 'installed'"/>
|
||||
<a type="edit">
|
||||
<a type="edit">
|
||||
<img t-attf-src="#{record.icon.value}" class="oe_module_icon"/>
|
||||
</a>
|
||||
<div class="oe_module_desc">
|
||||
|
@ -86,7 +86,7 @@
|
|||
<p class="oe_module_name">
|
||||
<field name="name"/><br/>
|
||||
<span t-if="record.complexity.raw_value == 'Expert'" class="oe_label oe_warning">Complex</span>
|
||||
</p>
|
||||
</p>
|
||||
<button type="object" name="button_immediate_install" states="uninstalled" class="oe_button">Install</button>
|
||||
<button t-if="installed" class="oe_button" disabled="disabled">Installed</button>
|
||||
</div>
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
<t t-set="color" t-value="kanban_color(record.color.raw_value || record.name.raw_value)"/>
|
||||
<div t-att-class="color + (record.color.raw_value == 1 ? ' oe_kanban_color_alert' : '')">
|
||||
<div class="oe_kanban_box oe_kanban_color_border">
|
||||
<div class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
|
||||
<div class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_auto_height">
|
||||
<table class="oe_kanban_table">
|
||||
<tr>
|
||||
<td class="oe_kanban_title1" align="left" valign="middle">
|
||||
|
|
|
@ -1,41 +1,39 @@
|
|||
.oe_module_vignette {
|
||||
padding: 12px 6px 6px 0px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.oe_module_icon, .oe_module_desc {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.oe_module_icon {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
padding: 0 4px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.oe_module_desc {
|
||||
width: 210px;
|
||||
font-size: 13px;
|
||||
padding: 0px 5px;
|
||||
width: 210px;
|
||||
font-size: 13px;
|
||||
padding: 0px 5px;
|
||||
}
|
||||
|
||||
.oe_module_desc h4 {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.oe_module_desc h4 a {
|
||||
color: #4c4c4c;
|
||||
color: #4c4c4c;
|
||||
}
|
||||
|
||||
.oe_module_name {
|
||||
color: #999999;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.oe_module_desc p {
|
||||
margin: 3px 0 5px;
|
||||
margin: 3px 0 5px;
|
||||
}
|
||||
|
||||
.oe_module_desc .oe_button {
|
||||
min-width: 70px;
|
||||
min-width: 70px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue