[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{
|
#apikey{
|
||||||
background-color: #D2D2FF;
|
background-color: #D2D2FF;
|
||||||
}
|
}
|
||||||
#register{
|
.btn_api{
|
||||||
margin-left: 10px;
|
background: #F66 !important;
|
||||||
|
border: 1px solid #D00 !important;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lbl-ldnbox{
|
.lbl-ldnbox{
|
||||||
|
|
|
@ -165,11 +165,11 @@ openerp.web_linkedin = function(instance) {
|
||||||
width : 840,
|
width : 840,
|
||||||
height:500,
|
height:500,
|
||||||
close: function(){ self.dialog.remove();},
|
close: function(){ self.dialog.remove();},
|
||||||
buttons:[
|
// buttons:[
|
||||||
{
|
// {
|
||||||
text: _t("Ok"),
|
// text: _t("Ok"),
|
||||||
click: function() { $(this).dialog("close"); }
|
// click: function() { $(this).dialog("close"); }
|
||||||
}]
|
// }]
|
||||||
});
|
});
|
||||||
this.dialog.parent().find('.ui-dialog-titlebar').append('<button class="close">No Thanks</button>').click(function(){
|
this.dialog.parent().find('.ui-dialog-titlebar').append('<button class="close">No Thanks</button>').click(function(){
|
||||||
self.dialog.remove();
|
self.dialog.remove();
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>5) Copy the API Key:
|
<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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in New Issue