[IMP] point_of_sale: use placeholder + remove obsolete css rules

bzr revid: fva@openerp.com-20131105145844-69o6j8ynkn90fz23
This commit is contained in:
Frédéric van der Essen 2013-11-05 15:58:44 +01:00
parent 29b0755b84
commit b0c8e312d8
3 changed files with 5 additions and 18 deletions

View File

@ -44,22 +44,6 @@
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 ********* */
.point-of-sale .loader{

View File

@ -947,7 +947,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
this.action_bar.appendTo(this.$(".pos-rightpane"));
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.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, {
'keyboard_model': 'simple'
});
this.onscreen_keyboard.appendTo(this.$(".pos-content"));
this.onscreen_keyboard.replace(this.$('.placeholder-OnscreenKeyboardWidget'));
this.close_button = new module.HeaderButtonWidget(this,{
label: _t('Close'),

View File

@ -27,9 +27,12 @@
<div class="placeholder-PaypadWidget"></div>
<div class="placeholder-NumpadWidget"></div>
</footer>
<div class='placeholder-LeftActionBar'></div>
</div>
<div class="pos-rightpane">
</div>
<div class="placeholder-OnscreenKeyboardWidget"></div>
</div>
<div class="loader">
</div>