]>
git.proxmox.com Git - pve-manager.git/blob - www/mobile/LXCSummary.js
1 Ext
.define('PVE.LXCSummary', {
2 extend
: 'PVE.VMSummaryBase',
3 alias
: 'widget.pveLXCSummary',
6 pathMatch: function(loc
) {
7 return loc
.match(/^nodes\/([^\s/]+)\/lxc\/(\d+)$/);
14 'hostname', 'ostype', 'memory', 'swap', 'cpulimit', 'cpuunits',
15 /^net\d+/, 'rootfs', /^mp\d+/, 'nameserver', 'searchdomain', 'description',
18 initialize: function() {
21 var match
= me
.self
.pathMatch(me
.getAppUrl());
23 throw "pathMatch failed";
26 me
.nodename
= match
[1];
29 me
.down('titlebar').setTitle('CT: ' + me
.vmid
);