[IMP] Fixed kanban view problems

bzr revid: mit@openerp.com-20120516122522-du590ixokm32z19r
This commit is contained in:
Minh Tran
2012-05-16 14:25:22 +02:00
parent 742124c840
commit 5ca8f42396
4 changed files with 17 additions and 5 deletions
+8 -1
View File
@@ -1942,6 +1942,14 @@
.openerp .oe-listview-content .numeric input {
text-align: right;
}
.openerp .oe_kanban_view {
position: absolute;
top: 110px;
bottom: 0;
}
.openerp .oe_kanban_groups {
height: 100%;
}
.openerp .oe_kanban_group_title {
margin: 1px 1px 4px;
font-size: 15px;
@@ -1949,7 +1957,6 @@
text-shadow: 0 1px 0 white;
}
.openerp .oe_kanban_column, .openerp .oe_kanban_group_header {
width: 240px;
vertical-align: top;
padding: 6px 7px 6px 6px;
background: #f0eeee;
+6 -1
View File
@@ -1614,13 +1614,18 @@ $colour4: #8a89ba
text-align: right
// }}}
// KanbanView {{{
.oe_kanban_view
position: absolute
top: 110px
bottom: 0
.oe_kanban_groups
height: 100%
.oe_kanban_group_title
margin: 1px 1px 4px
font-size: 15px
font-weight: bold
text-shadow: 0 1px 0 white
.oe_kanban_column, .oe_kanban_group_header
width: 240px
vertical-align: top
padding: 6px 7px 6px 6px
background: #f0eeee
+1 -1
View File
@@ -371,7 +371,7 @@ instance.web_kanban.KanbanGroup = instance.web.OldWidget.extend({
if (self.quick) { return; }
self.quick = new instance.web_kanban.QuickCreate(this)
.on('added', self, self.proxy('quick_add'));
self.quick.appendTo(self.$element.find('.oe_kanban_group_header'));
self.quick.appendTo(self.$element.find('.oe_kanban_header'));
});
this.$records.find('.oe_kanban_show_more').click(this.do_show_more);
if (this.state.folded) {
@@ -16,9 +16,9 @@
</t>
</div>
<t t-name="KanbanView.group_header">
<td>
<td class="oe_kanban_group_header">
<t t-if="widget.view.group_by">
<div class="oe_kanban_group_header">
<div class="oe_kanban_header">
<div class="oe_kanban_fold_icon"></div>
<div class="oe_kanban_add"></div>
<div class="oe_fold_column">