forked from 0x2620/pandora
cleanup; wording
This commit is contained in:
parent
016240b6f8
commit
02552f3f83
4 changed files with 118 additions and 73 deletions
|
|
@ -4,24 +4,33 @@
|
|||
pandora.ui.licenseDialog = function() {
|
||||
|
||||
var that = pandora.ui.iconDialog({
|
||||
buttons: [
|
||||
Ox.Button({
|
||||
id: 'close',
|
||||
title: Ox._('Close')
|
||||
})
|
||||
.bindEvent({
|
||||
click: function() {
|
||||
that.close();
|
||||
}
|
||||
})
|
||||
],
|
||||
content: Ox._(
|
||||
'This installation of <b>pan.do/ra</b> is unlicensed. '
|
||||
+ 'Please contact your vendor for more information on '
|
||||
+ 'how to acquire a license or renew an expired one.'
|
||||
),
|
||||
keys: {enter: 'close', escape: 'close'},
|
||||
title: Ox._('License')
|
||||
});
|
||||
buttons: [
|
||||
Ox.Button({
|
||||
disabled: true,
|
||||
id: 'close',
|
||||
title: Ox._('Close')
|
||||
})
|
||||
.bindEvent({
|
||||
click: function() {
|
||||
that.close();
|
||||
}
|
||||
})
|
||||
],
|
||||
content: Ox._(
|
||||
'This installation of <b>pan.do/ra</b> is unlicensed. '
|
||||
+ 'Please contact your vendor for more information on '
|
||||
+ 'how to acquire a license or renew an expired one.'
|
||||
),
|
||||
title: Ox._('License')
|
||||
})
|
||||
.bindEvent({
|
||||
open: function() {
|
||||
setTimeout(function() {
|
||||
that.enableButton('close');
|
||||
}, 15000);
|
||||
}
|
||||
});
|
||||
|
||||
return that;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue