add license infrastructure
This commit is contained in:
parent
2dc081b8aa
commit
baaae8ac5c
3 changed files with 49 additions and 1 deletions
27
static/js/licenseDialog.js
Normal file
27
static/js/licenseDialog.js
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
'use strict';
|
||||
|
||||
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')
|
||||
});
|
||||
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue