[IMP] Improved api button of dialog box.

bzr revid: jra@tinyerp.com-20120626133337-08vmfyblesa91ud8
This commit is contained in:
Jiten (OpenERP) 2012-06-26 19:03:37 +05:30
parent 7afb9ce0e7
commit f97e3adc43
3 changed files with 10 additions and 8 deletions

View File

@ -39,8 +39,10 @@
#apikey{
background-color: #D2D2FF;
}
#register{
margin-left: 10px;
.btn_api{
background: #F66 !important;
border: 1px solid #D00 !important;
font-weight: bold;
}
.lbl-ldnbox{

View File

@ -165,11 +165,11 @@ openerp.web_linkedin = function(instance) {
width : 840,
height:500,
close: function(){ self.dialog.remove();},
buttons:[
{
text: _t("Ok"),
click: function() { $(this).dialog("close"); }
}]
// buttons:[
// {
// text: _t("Ok"),
// click: function() { $(this).dialog("close"); }
// }]
});
this.dialog.parent().find('.ui-dialog-titlebar').append('<button class="close">No Thanks</button>').click(function(){
self.dialog.remove();

View File

@ -49,7 +49,7 @@
</div>
<div>
<p>5) Copy the API Key:
<input type="text" id="apikey"/><button id="register" class="oe_form_button_save_dirty" >Apply</button>
<input type="text" id="apikey"/><button id="register" style="margin-left:10px; color:white;" class="btn_api" >Apply</button>
</p>
</div>
<div>