]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
add onlineHelp to lxc
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 13 Sep 2016 11:46:13 +0000 (13:46 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 13 Sep 2016 14:41:53 +0000 (16:41 +0200)
and its options, and to network input panel
and mount point input panel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/lxc/Config.js
www/manager6/lxc/Network.js
www/manager6/lxc/ResourceEdit.js

index 9fc89debc6951d32a2b695a40a04dfa43d58b25d..672b49a957e1f3d48d0b634de244b3b67d7c3bec 100644 (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
            });
        }
index 7927a8fb7baf8ba7e8bd62808df793d9eb83300d..eba4bab260aaf5a24e63eb5bf2764f6d95839391 100644 (file)
@@ -4,6 +4,8 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
 
     insideWizard: false,
 
+    onlineHelp: 'chapter-pct.html#_container_network',
+
     setNodename: function(nodename) {
        var me = this;
        
index d88a0d492f39e62c548e4234139a9fc1446ccbe1..498e789a443420d210a7c60fcd747456db7e6790 100644 (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