]>
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',
37 xtype
: 'pveDcOptionView',
38 title
: gettext('Options'),
39 iconCls
: 'fa fa-gear',
44 if (caps
.storage
['Datastore.Allocate'] || caps
.dc
['Sys.Audit']) {
46 xtype
: 'pveStorageView',
47 title
: gettext('Storage'),
48 iconCls
: 'fa fa-database',
53 if (caps
.dc
['Sys.Audit']) {
55 xtype
: 'pveDcBackupView',
56 iconCls
: 'fa fa-floppy-o',
57 title
: gettext('Backup'),
61 xtype
: 'pveReplicaView',
62 iconCls
: 'fa fa-retweet',
63 title
: gettext('Replication'),
68 title
: gettext('Permissions'),
69 iconCls
: 'fa fa-unlock',
70 itemId
: 'permissions',
77 groups
: ['permissions'],
78 iconCls
: 'fa fa-user',
79 title
: gettext('Users'),
83 if (caps
.dc
['Sys.Audit']) {
85 xtype
: 'pveGroupView',
86 title
: gettext('Groups'),
87 iconCls
: 'fa fa-users',
88 groups
: ['permissions'],
93 title
: gettext('Pools'),
94 iconCls
: 'fa fa-tags',
95 groups
: ['permissions'],
100 title
: gettext('Roles'),
101 iconCls
: 'fa fa-male',
102 groups
: ['permissions'],
106 xtype
: 'pveAuthView',
107 title
: gettext('Authentication'),
108 groups
: ['permissions'],
109 iconCls
: 'fa fa-key',
113 xtype
: 'pveHAStatus',
115 iconCls
: 'fa fa-heartbeat',
119 title
: gettext('Groups'),
121 xtype
: 'pveHAGroupsView',
122 iconCls
: 'fa fa-object-group',
126 title
: gettext('Fencing'),
128 iconCls
: 'fa fa-bolt',
129 xtype
: 'pveFencingView',
133 xtype
: 'pveFirewallRules',
134 title
: gettext('Firewall'),
136 base_url
: '/cluster/firewall/rules',
137 list_refs_url
: '/cluster/firewall/refs',
138 iconCls
: 'fa fa-shield',
142 xtype
: 'pveFirewallOptions',
143 title
: gettext('Options'),
144 groups
: ['firewall'],
145 iconCls
: 'fa fa-gear',
146 base_url
: '/cluster/firewall/options',
147 onlineHelp
: 'pve_firewall_cluster_wide_setup',
149 itemId
: 'firewall-options'
152 xtype
: 'pveSecurityGroups',
153 title
: gettext('Security Group'),
154 groups
: ['firewall'],
155 iconCls
: 'fa fa-group',
156 itemId
: 'firewall-sg'
159 xtype
: 'pveFirewallAliases',
160 title
: gettext('Alias'),
161 groups
: ['firewall'],
162 iconCls
: 'fa fa-external-link',
163 base_url
: '/cluster/firewall/aliases',
164 itemId
: 'firewall-aliases'
169 groups
: ['firewall'],
170 iconCls
: 'fa fa-list-ol',
171 base_url
: '/cluster/firewall/ipset',
172 list_refs_url
: '/cluster/firewall/refs',
173 itemId
: 'firewall-ipset'
176 xtype
: 'pveDcSupport',
177 title
: gettext('Support'),
179 iconCls
: 'fa fa-comments-o'