]>
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',
31 title
: gettext('Cluster'),
32 xtype
: 'pveClusterAdministration',
33 iconCls
: 'fa fa-server',
39 iconCls
: 'fa fa-ceph',
40 xtype
: 'pveNodeCephStatus',
43 xtype
: 'pveDcOptionView',
44 title
: gettext('Options'),
45 iconCls
: 'fa fa-gear',
50 if (caps
.storage
['Datastore.Allocate'] || caps
.dc
['Sys.Audit']) {
52 xtype
: 'pveStorageView',
53 title
: gettext('Storage'),
54 iconCls
: 'fa fa-database',
60 if (caps
.dc
['Sys.Audit']) {
62 xtype
: 'pveDcBackupView',
63 iconCls
: 'fa fa-floppy-o',
64 title
: gettext('Backup'),
68 xtype
: 'pveReplicaView',
69 iconCls
: 'fa fa-retweet',
70 title
: gettext('Replication'),
71 itemId
: 'replication',
75 title
: gettext('Permissions'),
76 iconCls
: 'fa fa-unlock',
77 itemId
: 'permissions',
84 groups
: ['permissions'],
85 iconCls
: 'fa fa-user',
86 title
: gettext('Users'),
91 xtype
: 'pveTokenView',
92 groups
: ['permissions'],
93 iconCls
: 'fa fa-user-o',
94 title
: gettext('API Tokens'),
98 if (caps
.dc
['Sys.Audit']) {
100 xtype
: 'pveGroupView',
101 title
: gettext('Groups'),
102 iconCls
: 'fa fa-users',
103 groups
: ['permissions'],
107 xtype
: 'pvePoolView',
108 title
: gettext('Pools'),
109 iconCls
: 'fa fa-tags',
110 groups
: ['permissions'],
114 xtype
: 'pveRoleView',
115 title
: gettext('Roles'),
116 iconCls
: 'fa fa-male',
117 groups
: ['permissions'],
121 xtype
: 'pveAuthView',
122 title
: gettext('Authentication'),
123 groups
: ['permissions'],
124 iconCls
: 'fa fa-key',
128 xtype
: 'pveHAStatus',
130 iconCls
: 'fa fa-heartbeat',
134 title
: gettext('Groups'),
136 xtype
: 'pveHAGroupsView',
137 iconCls
: 'fa fa-object-group',
141 title
: gettext('Fencing'),
143 iconCls
: 'fa fa-bolt',
144 xtype
: 'pveFencingView',
145 itemId
: 'ha-fencing',
147 if (PVE
.SDNInfo
|| PVE
.SDNInfo
=== undefined) {
149 xtype
: 'pveSDNStatus',
150 title
: gettext('SDN'),
151 iconCls
: 'fa fa-sdn',
154 expandedOnInit
: true,
157 xtype
: 'pveSDNZoneView',
159 title
: gettext('Zones'),
167 title
: gettext('Vnets'),
169 iconCls
: 'fa fa-network-wired',
173 xtype
: 'pveSDNOptions',
175 title
: gettext('Options'),
177 iconCls
: 'fa fa-gear',
178 itemId
: 'sdnoptions',
182 if (Proxmox
.UserName
=== 'root@pam') {
184 xtype
: 'pveACMEClusterView',
186 iconCls
: 'fa fa-certificate',
192 xtype
: 'pveFirewallRules',
193 title
: gettext('Firewall'),
195 base_url
: '/cluster/firewall/rules',
196 list_refs_url
: '/cluster/firewall/refs',
197 iconCls
: 'fa fa-shield',
201 xtype
: 'pveFirewallOptions',
202 title
: gettext('Options'),
203 groups
: ['firewall'],
204 iconCls
: 'fa fa-gear',
205 base_url
: '/cluster/firewall/options',
206 onlineHelp
: 'pve_firewall_cluster_wide_setup',
208 itemId
: 'firewall-options',
211 xtype
: 'pveSecurityGroups',
212 title
: gettext('Security Group'),
213 groups
: ['firewall'],
214 iconCls
: 'fa fa-group',
215 itemId
: 'firewall-sg',
218 xtype
: 'pveFirewallAliases',
219 title
: gettext('Alias'),
220 groups
: ['firewall'],
221 iconCls
: 'fa fa-external-link',
222 base_url
: '/cluster/firewall/aliases',
223 itemId
: 'firewall-aliases',
228 groups
: ['firewall'],
229 iconCls
: 'fa fa-list-ol',
230 base_url
: '/cluster/firewall/ipset',
231 list_refs_url
: '/cluster/firewall/refs',
232 itemId
: 'firewall-ipset',
235 xtype
: 'pveMetricServerView',
236 title
: gettext('Metric Server'),
237 iconCls
: 'fa fa-bar-chart',
238 itemId
: 'metricservers',
239 onlineHelp
: 'external_metric_server',
242 xtype
: 'pveDcSupport',
243 title
: gettext('Support'),
245 iconCls
: 'fa fa-comments-o',