]>
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 initComponent: function() {
12 var caps
= Ext
.state
.Manager
.get('GuiCap');
17 title
: gettext("Datacenter"),
21 if (caps
.dc
['Sys.Audit']) {
23 title
: gettext('Summary'),
24 xtype
: 'pveDcSummary',
29 xtype
: 'pveDcOptionView',
30 title
: gettext('Options'),
35 if (caps
.storage
['Datastore.Allocate'] || caps
.dc
['Sys.Audit']) {
37 xtype
: 'pveStorageView',
38 title
: gettext('Storage'),
43 if (caps
.dc
['Sys.Audit']) {
45 xtype
: 'pveDcBackupView',
46 title
: gettext('Backup'),
53 title
: gettext('Users'),
57 if (caps
.dc
['Sys.Audit']) {
59 xtype
: 'pveGroupView',
60 title
: gettext('Groups'),
66 title
: gettext('Pools'),
72 title
: gettext('Permissions'),
78 title
: gettext('Roles'),
84 title
: gettext('Authentication'),
91 phstateid
: me
.hstateid
,
96 xtype
: 'pveFirewallPanel',
97 title
: gettext('Firewall'),
98 base_url
: '/cluster/firewall',
100 phstateid
: me
.hstateid
,
105 xtype
: 'pveDcSupport',
106 title
: gettext('Support'),