[IMP] point_of_sale: use placeholder + remove obsolete css rules
bzr revid: fva@openerp.com-20131105145844-69o6j8ynkn90fz23
This commit is contained in:
parent
29b0755b84
commit
b0c8e312d8
|
@ -44,22 +44,6 @@
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.point-of-sale .shadow-top{
|
|
||||||
position: absolute;
|
|
||||||
top:0;
|
|
||||||
left:0;
|
|
||||||
right:0;
|
|
||||||
height:10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.point-of-sale .darker-shadow-top{
|
|
||||||
position: absolute;
|
|
||||||
top:0;
|
|
||||||
left:0;
|
|
||||||
right:0;
|
|
||||||
height:10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ********* The black loading screen ********* */
|
/* ********* The black loading screen ********* */
|
||||||
|
|
||||||
.point-of-sale .loader{
|
.point-of-sale .loader{
|
||||||
|
|
|
@ -947,7 +947,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
|
||||||
this.action_bar.appendTo(this.$(".pos-rightpane"));
|
this.action_bar.appendTo(this.$(".pos-rightpane"));
|
||||||
|
|
||||||
this.left_action_bar = new module.ActionBarWidget(this);
|
this.left_action_bar = new module.ActionBarWidget(this);
|
||||||
this.left_action_bar.appendTo(this.$(".pos-leftpane"));
|
this.left_action_bar.replace(this.$('.placeholder-LeftActionBar'));
|
||||||
|
|
||||||
this.paypad = new module.PaypadWidget(this, {});
|
this.paypad = new module.PaypadWidget(this, {});
|
||||||
this.paypad.replace(this.$('.placeholder-PaypadWidget'));
|
this.paypad.replace(this.$('.placeholder-PaypadWidget'));
|
||||||
|
@ -961,7 +961,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
|
||||||
this.onscreen_keyboard = new module.OnscreenKeyboardWidget(this, {
|
this.onscreen_keyboard = new module.OnscreenKeyboardWidget(this, {
|
||||||
'keyboard_model': 'simple'
|
'keyboard_model': 'simple'
|
||||||
});
|
});
|
||||||
this.onscreen_keyboard.appendTo(this.$(".pos-content"));
|
this.onscreen_keyboard.replace(this.$('.placeholder-OnscreenKeyboardWidget'));
|
||||||
|
|
||||||
this.close_button = new module.HeaderButtonWidget(this,{
|
this.close_button = new module.HeaderButtonWidget(this,{
|
||||||
label: _t('Close'),
|
label: _t('Close'),
|
||||||
|
|
|
@ -27,9 +27,12 @@
|
||||||
<div class="placeholder-PaypadWidget"></div>
|
<div class="placeholder-PaypadWidget"></div>
|
||||||
<div class="placeholder-NumpadWidget"></div>
|
<div class="placeholder-NumpadWidget"></div>
|
||||||
</footer>
|
</footer>
|
||||||
|
<div class='placeholder-LeftActionBar'></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="pos-rightpane">
|
<div class="pos-rightpane">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="placeholder-OnscreenKeyboardWidget"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="loader">
|
<div class="loader">
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue