ui: trailing whitespace cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9710e5d00e
commit
2e75b6d8bf
|
@ -235,11 +235,11 @@ Ext.define('PMG.dashboard.SubscriptionInfo', {
|
|||
data.icon = 'check green';
|
||||
data.message = gettext('Your subscription status is valid.');
|
||||
break;
|
||||
case 1:
|
||||
case 1:
|
||||
data.icon = 'exclamation-triangle yellow';
|
||||
data.message = gettext('Warning: Your subscription levels are not the same.');
|
||||
break;
|
||||
case 0:
|
||||
case 0:
|
||||
data.icon = 'times-circle red';
|
||||
data.message = gettext('You have at least one node without subscription.');
|
||||
break;
|
||||
|
|
|
@ -16,7 +16,7 @@ Ext.define('PBS.MainView', {
|
|||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
beforeChangePath: function(path, subpath, action) {
|
||||
var me = this;
|
||||
|
||||
|
@ -46,7 +46,7 @@ Ext.define('PBS.MainView', {
|
|||
|
||||
action.resume();
|
||||
},
|
||||
|
||||
|
||||
changePath: function(path,subpath) {
|
||||
var me = this;
|
||||
var contentpanel = me.lookupReference('contentpanel');
|
||||
|
@ -225,4 +225,4 @@ Ext.define('PBS.MainView', {
|
|||
]
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*global Blob,Proxmox*/
|
||||
Ext.define('PBS.SubscriptionKeyEdit', {
|
||||
extend: 'Proxmox.window.Edit',
|
||||
|
||||
|
||||
title: gettext('Upload Subscription Key'),
|
||||
width: 300,
|
||||
autoLoad: true,
|
||||
|
@ -81,12 +81,12 @@ Ext.define('PBS.Subscription', {
|
|||
Ext.apply(me, {
|
||||
url: '/api2/json' + baseurl,
|
||||
cwidth1: 170,
|
||||
tbar: [
|
||||
tbar: [
|
||||
{
|
||||
text: gettext('Upload Subscription Key'),
|
||||
handler: function() {
|
||||
var win = Ext.create('PBS.SubscriptionKeyEdit', {
|
||||
url: '/api2/extjs/' + baseurl
|
||||
url: '/api2/extjs/' + baseurl
|
||||
});
|
||||
win.show();
|
||||
win.on('destroy', reload);
|
||||
|
|
Loading…
Reference in New Issue