]>
git.proxmox.com Git - pve-manager.git/blob - www/manager/dc/Config.js
6c198055df895a12bee215f12f982f924b7ba3bf
1 Ext
.define('PVE.dc.Config', {
2 extend
: 'PVE.panel.Config',
3 alias
: 'widget.PVE.dc.Config',
5 initComponent: function() {
8 var caps
= Ext
.state
.Manager
.get('GuiCap');
13 title
: gettext("Datacenter"),
17 if (caps
.dc
['Sys.Audit']) {
20 title
: gettext('Summary'),
21 xtype
: 'pveDcSummary',
25 xtype
: 'pveDcOptionView',
26 title
: gettext('Options'),
32 if (caps
.storage
['Datastore.Allocate'] || caps
.dc
['Sys.Audit']) {
34 xtype
: 'pveStorageView',
35 title
: gettext('Storage'),
40 if (caps
.dc
['Sys.Audit']) {
42 xtype
: 'pveDcBackupView',
43 title
: gettext('Backup'),
50 title
: gettext('Users'),
54 if (caps
.dc
['Sys.Audit']) {
57 xtype
: 'pveGroupView',
58 title
: gettext('Groups'),
63 title
: gettext('Pools'),
68 title
: gettext('Permissions'),
73 title
: gettext('Roles'),
78 title
: gettext('Authentication'),
84 phstateid
: me
.hstateid
,
88 xtype
: 'pveFirewallPanel',
89 title
: gettext('Firewall'),
90 base_url
: '/cluster/firewall',
92 phstateid
: me
.hstateid
,
98 xtype
: 'pveDcSupport',
99 title
: gettext('Support'),