Commit 828f6daf authored by Dietmar Maurer's avatar Dietmar Maurer

remove UBC GUI

parent 5762504d
......@@ -144,7 +144,6 @@ __PACKAGE__->register_method ({
{ name => 'qemu' },
{ name => 'lxc' },
{ name => 'vzdump' },
{ name => 'ubcfailcnt' },
{ name => 'network' },
{ name => 'aplinfo' },
{ name => 'startall' },
......
......@@ -103,7 +103,6 @@ JSSRC= \
node/TimeView.js \
node/TimeEdit.js \
node/StatusView.js \
node/BCFailCnt.js \
node/Summary.js \
node/ServiceView.js \
node/NetworkEdit.js \
......
/*jslint confusion: true */
Ext.define('PVE.node.BCFailCnt', {
extend: 'Ext.grid.GridPanel',
alias: ['widget.pveNodeBCFailCnt'],
initComponent : function() {
var me = this;
var nodename = me.pveSelNode.data.node;
if (!nodename) {
throw "no node name specified";
}
var store = new Ext.data.Store({
model: 'pve-openvz-ubc',
proxy: {
type: 'pve',
url: '/api2/json/nodes/' + nodename + '/ubcfailcnt'
},
sorters: [
{
property : 'id',
direction: 'ASC'
}
]
});
var reload = function() {
store.load();
};
Ext.applyIf(me, {
store: store,
stateful: false,
columns: [
{
header: 'Container',
width: 100,
dataIndex: 'id'
},
{
header: 'failcnt',
flex: 1,
dataIndex: 'failcnt'
}
],
listeners: {
show: reload,
itemdblclick: function(v, record) {
var ws = me.up('pveStdWorkspace');
ws.selectById('openvz/' + record.data.id);
}
}
});
me.callParent();
}
}, function() {
Ext.define('pve-openvz-ubc', {
extend: "Ext.data.Model",
fields: [ 'id', { name: 'failcnt', type: 'number' } ]
});
});
......@@ -181,17 +181,6 @@ Ext.define('PVE.node.Config', {
}
]);
if (caps.nodes['Sys.Audit']) {
me.items.push([
{
title: 'UBC',
itemId: 'ubc',
xtype: 'pveNodeBCFailCnt'
}
]);
}
me.items.push([
{
title: gettext('Subscription'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment