add onlineHelp to lxc

and its options, and to network input panel
and mount point input panel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-09-13 13:46:13 +02:00 committed by Dietmar Maurer
parent 0f9347a6ff
commit 7f1ac74ce7
3 changed files with 18 additions and 0 deletions

View File

@ -2,6 +2,8 @@ Ext.define('PVE.lxc.Config', {
extend: 'PVE.panel.Config',
alias: 'widget.PVE.lxc.Config',
onlineHelp: 'chapter-pct.html',
initComponent: function() {
var me = this;
@ -151,6 +153,7 @@ Ext.define('PVE.lxc.Config', {
{
title: gettext('Resources'),
itemId: 'resources',
onlineHelp: 'chapter-pct.html#_configuration',
expandedOnInit: true,
iconCls: 'fa fa-cube',
xtype: 'pveLxcRessourceView'
@ -158,18 +161,21 @@ Ext.define('PVE.lxc.Config', {
{
title: gettext('Network'),
iconCls: 'fa fa-exchange',
onlineHelp: 'chapter-pct.html#_container_network',
itemId: 'network',
xtype: 'pveLxcNetworkView'
},
{
title: gettext('DNS'),
iconCls: 'fa fa-globe',
onlineHelp: 'chapter-pct.html#_container_network',
itemId: 'dns',
xtype: 'pveLxcDNS'
},
{
title: gettext('Options'),
itemId: 'options',
onlineHelp: 'chapter-pct.html#_options',
iconCls: 'fa fa-gear',
xtype: 'pveLxcOptions'
},
@ -186,6 +192,7 @@ Ext.define('PVE.lxc.Config', {
me.items.push({
title: gettext('Backup'),
iconCls: 'fa fa-floppy-o',
onlineHelp: 'chapter-vzdump.html',
xtype: 'pveBackupView',
itemId: 'backup'
});
@ -195,6 +202,7 @@ Ext.define('PVE.lxc.Config', {
me.items.push({
title: gettext('Snapshots'),
iconCls: 'fa fa-history',
onlineHelp: 'chapter-pct.html#_snapshots',
xtype: 'pveLxcSnapshotTree',
itemId: 'snapshot'
});
@ -205,6 +213,7 @@ Ext.define('PVE.lxc.Config', {
{
xtype: 'pveFirewallRules',
title: gettext('Firewall'),
onlineHelp: 'chapter-pve-firewall.html',
iconCls: 'fa fa-shield',
allow_iface: true,
base_url: base_url + '/firewall/rules',
@ -215,6 +224,7 @@ Ext.define('PVE.lxc.Config', {
xtype: 'pveFirewallOptions',
groups: ['firewall'],
iconCls: 'fa fa-gear',
onlineHelp: 'chapter-pve-firewall.html#_vm_container_configuration',
title: gettext('Options'),
base_url: base_url + '/firewall/options',
fwtype: 'vm',
@ -225,6 +235,7 @@ Ext.define('PVE.lxc.Config', {
title: gettext('Alias'),
groups: ['firewall'],
iconCls: 'fa fa-external-link',
onlineHelp: 'chapter-pve-firewall.html#_ip_aliases',
base_url: base_url + '/firewall/aliases',
itemId: 'firewall-aliases'
},
@ -233,6 +244,7 @@ Ext.define('PVE.lxc.Config', {
title: gettext('IPSet'),
groups: ['firewall'],
iconCls: 'fa fa-list-ol',
onlineHelp: 'chapter-pve-firewall.html#_ip_sets',
base_url: base_url + '/firewall/ipset',
list_refs_url: base_url + '/firewall/refs',
itemId: 'firewall-ipset'
@ -241,6 +253,7 @@ Ext.define('PVE.lxc.Config', {
title: gettext('Log'),
groups: ['firewall'],
iconCls: 'fa fa-list',
onlineHelp: 'chapter-pve-firewall.html',
itemId: 'firewall-fwlog',
xtype: 'pveLogView',
url: '/api2/extjs' + base_url + '/firewall/log'
@ -254,6 +267,7 @@ Ext.define('PVE.lxc.Config', {
title: gettext('Permissions'),
itemId: 'permissions',
iconCls: 'fa fa-unlock',
onlineHelp: 'chapter-pveum.html',
path: '/vms/' + vmid
});
}

View File

@ -4,6 +4,8 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
insideWizard: false,
onlineHelp: 'chapter-pct.html#_container_network',
setNodename: function(nodename) {
var me = this;

View File

@ -187,6 +187,8 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
insideWizard: false,
onlineHelp: 'chapter-pct.html#_container_storage',
unused: false, // ADD usused disk imaged
vmconfig: {}, // used to select usused disks