[IMP]enter css.
bzr revid: vme@tinyerp.com-20120913063712-fckff2ufxgwvwuaz
This commit is contained in:
parent
dc97de0e27
commit
ad54fae15f
|
@ -1,3 +1,36 @@
|
||||||
|
.openerp .oe_dashboard_layout_1 .oe_dashboard_column.index_0 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.openerp .oe_dashboard_layout_1 .oe_dashboard_column.index_1, .openerp .oe_dashboard_layout_1 .oe_dashboard_column.index_2 {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.openerp .oe_dashboard_layout_1-1 .oe_dashboard_column {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
.openerp .oe_dashboard_layout_1-1 .oe_dashboard_column.index_2 {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.openerp .oe_dashboard_layout_1-1-1 .oe_dashboard_column {
|
||||||
|
width: 33%;
|
||||||
|
}
|
||||||
|
.openerp .oe_dashboard_layout_2-1 .oe_dashboard_column.index_0 {
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
.openerp .oe_dashboard_layout_2-1 .oe_dashboard_column.index_1 {
|
||||||
|
width: 30%;
|
||||||
|
}
|
||||||
|
.openerp .oe_dashboard_layout_2-1 .oe_dashboard_column.index_2 {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.openerp .oe_dashboard_layout_1-2 .oe_dashboard_column.index_0 {
|
||||||
|
width: 30%;
|
||||||
|
}
|
||||||
|
.openerp .oe_dashboard_layout_1-2 .oe_dashboard_column.index_1 {
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
.openerp .oe_dashboard_layout_1-2 .oe_dashboard_column.index_2 {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.openerp .oe_dashboard_layout_selector ul {
|
.openerp .oe_dashboard_layout_selector ul {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,31 @@
|
||||||
box-shadow: $bsval
|
box-shadow: $bsval
|
||||||
|
|
||||||
.openerp
|
.openerp
|
||||||
|
.oe_dashboard_layout_1 .oe_dashboard_column
|
||||||
|
&.index_0
|
||||||
|
width: 100%
|
||||||
|
&.index_1, &.index_2
|
||||||
|
display: none
|
||||||
|
.oe_dashboard_layout_1-1 .oe_dashboard_column
|
||||||
|
width: 50%
|
||||||
|
&.index_2
|
||||||
|
display: none
|
||||||
|
.oe_dashboard_layout_1-1-1 .oe_dashboard_column
|
||||||
|
width: 33%
|
||||||
|
.oe_dashboard_layout_2-1 .oe_dashboard_column
|
||||||
|
&.index_0
|
||||||
|
width: 70%
|
||||||
|
&.index_1
|
||||||
|
width: 30%
|
||||||
|
&.index_2
|
||||||
|
display: none
|
||||||
|
.oe_dashboard_layout_1-2 .oe_dashboard_column
|
||||||
|
&.index_0
|
||||||
|
width: 30%
|
||||||
|
&.index_1
|
||||||
|
width: 70%
|
||||||
|
&.index_2
|
||||||
|
display: none
|
||||||
.oe_dashboard_layout_selector
|
.oe_dashboard_layout_selector
|
||||||
ul
|
ul
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
|
|
|
@ -17,10 +17,7 @@ instance.web.form.DashBoard = instance.web.form.FormWidget.extend({
|
||||||
start: function() {
|
start: function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
|
|
||||||
if(!this.session.debug)
|
|
||||||
this.$el.find(".oe_dashboard_links button:first").css("display", "none");
|
|
||||||
|
|
||||||
this.$el.find('.oe_dashboard_column').sortable({
|
this.$el.find('.oe_dashboard_column').sortable({
|
||||||
connectWith: '.oe_dashboard_column',
|
connectWith: '.oe_dashboard_column',
|
||||||
handle: '.oe_header',
|
handle: '.oe_header',
|
||||||
|
|
Loading…
Reference in New Issue