[pve-devel] [PATCH manager 4/9] add onlineHelp links to Datacenter
Dominik Csapak
d.csapak at proxmox.com
Tue Sep 13 13:46:11 CEST 2016
also add it to its options
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/dc/Config.js | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js
index 9efde88..94143ed 100644
--- a/www/manager6/dc/Config.js
+++ b/www/manager6/dc/Config.js
@@ -6,6 +6,8 @@ Ext.define('PVE.dc.Config', {
extend: 'PVE.panel.Config',
alias: 'widget.PVE.dc.Config',
+ onlineHelp: 'pve-admin-guide.html',
+
initComponent: function() {
var me = this;
@@ -29,6 +31,7 @@ Ext.define('PVE.dc.Config', {
me.items.push({
xtype: 'pveDcOptionView',
title: gettext('Options'),
+ onlineHelp: 'datacenter.cfg.5.html',
iconCls: 'fa fa-gear',
itemId: 'options'
});
@@ -38,6 +41,7 @@ Ext.define('PVE.dc.Config', {
me.items.push({
xtype: 'pveStorageView',
title: gettext('Storage'),
+ onlineHelp: 'chapter-pvesm.html',
iconCls: 'fa fa-database',
itemId: 'storage'
});
@@ -47,6 +51,7 @@ Ext.define('PVE.dc.Config', {
me.items.push({
xtype: 'pveDcBackupView',
iconCls: 'fa fa-floppy-o',
+ onlineHelp: 'chapter-vzdump.html',
title: gettext('Backup'),
itemId: 'backup'
},
@@ -54,6 +59,7 @@ Ext.define('PVE.dc.Config', {
xtype: 'pveACLView',
title: gettext('Permissions'),
iconCls: 'fa fa-unlock',
+ onlineHelp: 'chapter-pveum.html',
itemId: 'permissions',
expandedOnInit: true
});
@@ -63,6 +69,7 @@ Ext.define('PVE.dc.Config', {
xtype: 'pveUserView',
groups: ['permissions'],
iconCls: 'fa fa-user',
+ onlineHelp: 'chapter-pveum.html#_users',
title: gettext('Users'),
itemId: 'users'
});
@@ -72,6 +79,7 @@ Ext.define('PVE.dc.Config', {
xtype: 'pveGroupView',
title: gettext('Groups'),
iconCls: 'fa fa-users',
+ onlineHelp: 'chapter-pveum.html#_groups',
groups: ['permissions'],
itemId: 'groups'
},
@@ -79,6 +87,7 @@ Ext.define('PVE.dc.Config', {
xtype: 'pvePoolView',
title: gettext('Pools'),
iconCls: 'fa fa-tags',
+ onlineHelp: 'chapter-pveum.html#_pools',
groups: ['permissions'],
itemId: 'pools'
},
@@ -86,6 +95,7 @@ Ext.define('PVE.dc.Config', {
xtype: 'pveRoleView',
title: gettext('Roles'),
iconCls: 'fa fa-male',
+ onlineHelp: 'chapter-pveum.html#_roles',
groups: ['permissions'],
itemId: 'roles'
},
@@ -93,6 +103,7 @@ Ext.define('PVE.dc.Config', {
xtype: 'pveAuthView',
title: gettext('Authentication'),
groups: ['permissions'],
+ onlineHelp: 'chapter-pveum.html#_authentication_realms',
iconCls: 'fa fa-key',
itemId: 'domains'
},
@@ -100,12 +111,14 @@ Ext.define('PVE.dc.Config', {
xtype: 'pveHAStatusView',
title: 'HA',
iconCls: 'fa fa-heartbeat',
+ onlineHelp: 'chapter-ha-manager.html',
itemId: 'ha'
},
{
title: gettext('Resources'),
groups: ['ha'],
iconCls: 'fa fa-th',
+ onlineHelp: 'chapter-ha-manager.html#_resources',
xtype: 'pveHAResourcesView',
itemId: 'resources'
},
@@ -113,6 +126,7 @@ Ext.define('PVE.dc.Config', {
title: gettext('Groups'),
groups: ['ha'],
xtype: 'pveHAGroupsView',
+ onlineHelp: 'chapter-ha-manager.html#_groups',
iconCls: 'fa fa-object-group',
itemId: 'ha-groups'
},
@@ -120,6 +134,7 @@ Ext.define('PVE.dc.Config', {
title: gettext('Fencing'),
groups: ['ha'],
iconCls: 'fa fa-bolt',
+ onlineHelp: 'chapter-ha-manager.html#_fencing',
xtype: 'pveFencingView',
itemId: 'ha-fencing'
},
@@ -130,6 +145,7 @@ Ext.define('PVE.dc.Config', {
base_url: '/cluster/firewall/rules',
list_refs_url: '/cluster/firewall/refs',
iconCls: 'fa fa-shield',
+ onlineHelp: 'chapter-pve-firewall.html',
itemId: 'firewall'
},
{
@@ -138,6 +154,7 @@ Ext.define('PVE.dc.Config', {
groups: ['firewall'],
iconCls: 'fa fa-gear',
base_url: '/cluster/firewall/options',
+ onlineHelp: 'chapter-pve-firewall.html#_cluster_wide_setup',
fwtype: 'dc',
itemId: 'firewall-options'
},
@@ -146,6 +163,7 @@ Ext.define('PVE.dc.Config', {
title: gettext('Security Group'),
groups: ['firewall'],
iconCls: 'fa fa-group',
+ onlineHelp: 'chapter-pve-firewall.html#_security_groups',
itemId: 'firewall-sg'
},
{
@@ -153,6 +171,7 @@ Ext.define('PVE.dc.Config', {
title: gettext('Alias'),
groups: ['firewall'],
iconCls: 'fa fa-external-link',
+ onlineHelp: 'chapter-pve-firewall.html#_ip_aliases',
base_url: '/cluster/firewall/aliases',
itemId: 'firewall-aliases'
},
@@ -161,6 +180,7 @@ Ext.define('PVE.dc.Config', {
title: 'IPSet',
groups: ['firewall'],
iconCls: 'fa fa-list-ol',
+ onlineHelp: 'chapter-pve-firewall.html#_ip_sets',
base_url: '/cluster/firewall/ipset',
list_refs_url: '/cluster/firewall/refs',
itemId: 'firewall-ipset'
@@ -169,6 +189,7 @@ Ext.define('PVE.dc.Config', {
xtype: 'pveDcSupport',
title: gettext('Support'),
itemId: 'support',
+ onlineHelp: 'chapter-sysadmin.html#_getting_help',
iconCls: 'fa fa-comments-o'
});
}
--
2.1.4
More information about the pve-devel
mailing list