[IMP] Improved api button of dialog box.
bzr revid: jra@tinyerp.com-20120626133337-08vmfyblesa91ud8
This commit is contained in:
parent
7afb9ce0e7
commit
f97e3adc43
|
@ -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{
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue