]>
git.proxmox.com Git - pve-manager.git/blob - www/manager6/dc/Config.js
2 * Datacenter config panel, located in the center of the ViewPort after the Datacenter view is selected
5 Ext
.define('PVE.dc.Config', {
6 extend
: 'PVE.panel.Config',
7 alias
: 'widget.PVE.dc.Config',
9 onlineHelp
: 'pve_admin_guide',
11 initComponent: function() {
14 var caps
= Ext
.state
.Manager
.get('GuiCap');
19 title
: gettext("Datacenter"),
23 if (caps
.dc
['Sys.Audit']) {
25 title
: gettext('Summary'),
26 xtype
: 'pveDcSummary',
27 iconCls
: 'fa fa-book',
32 xtype
: 'pveDcOptionView',
33 title
: gettext('Options'),
34 iconCls
: 'fa fa-gear',
39 if (caps
.storage
['Datastore.Allocate'] || caps
.dc
['Sys.Audit']) {
41 xtype
: 'pveStorageView',
42 title
: gettext('Storage'),
43 iconCls
: 'fa fa-database',
48 if (caps
.dc
['Sys.Audit']) {
50 xtype
: 'pveDcBackupView',
51 iconCls
: 'fa fa-floppy-o',
52 title
: gettext('Backup'),
57 title
: gettext('Permissions'),
58 iconCls
: 'fa fa-unlock',
59 itemId
: 'permissions',
66 groups
: ['permissions'],
67 iconCls
: 'fa fa-user',
68 title
: gettext('Users'),
72 if (caps
.dc
['Sys.Audit']) {
74 xtype
: 'pveGroupView',
75 title
: gettext('Groups'),
76 iconCls
: 'fa fa-users',
77 groups
: ['permissions'],
82 title
: gettext('Pools'),
83 iconCls
: 'fa fa-tags',
84 groups
: ['permissions'],
89 title
: gettext('Roles'),
90 iconCls
: 'fa fa-male',
91 groups
: ['permissions'],
96 title
: gettext('Authentication'),
97 groups
: ['permissions'],
102 xtype
: 'pveHAStatusView',
104 iconCls
: 'fa fa-heartbeat',
108 title
: gettext('Resources'),
111 xtype
: 'pveHAResourcesView',
115 title
: gettext('Groups'),
117 xtype
: 'pveHAGroupsView',
118 iconCls
: 'fa fa-object-group',
122 title
: gettext('Fencing'),
124 iconCls
: 'fa fa-bolt',
125 xtype
: 'pveFencingView',
129 xtype
: 'pveFirewallRules',
130 title
: gettext('Firewall'),
132 base_url
: '/cluster/firewall/rules',
133 list_refs_url
: '/cluster/firewall/refs',
134 iconCls
: 'fa fa-shield',
138 xtype
: 'pveFirewallOptions',
139 title
: gettext('Options'),
140 groups
: ['firewall'],
141 iconCls
: 'fa fa-gear',
142 base_url
: '/cluster/firewall/options',
143 onlineHelp
: 'pve_firewall_cluster_wide_setup',
145 itemId
: 'firewall-options'
148 xtype
: 'pveSecurityGroups',
149 title
: gettext('Security Group'),
150 groups
: ['firewall'],
151 iconCls
: 'fa fa-group',
152 itemId
: 'firewall-sg'
155 xtype
: 'pveFirewallAliases',
156 title
: gettext('Alias'),
157 groups
: ['firewall'],
158 iconCls
: 'fa fa-external-link',
159 base_url
: '/cluster/firewall/aliases',
160 itemId
: 'firewall-aliases'
165 groups
: ['firewall'],
166 iconCls
: 'fa fa-list-ol',
167 base_url
: '/cluster/firewall/ipset',
168 list_refs_url
: '/cluster/firewall/refs',
169 itemId
: 'firewall-ipset'
172 xtype
: 'pveDcSupport',
173 title
: gettext('Support'),
175 iconCls
: 'fa fa-comments-o'