]>
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',
59 if (caps
.dc
['Sys.Audit']) {
62 xtype
: 'pveSDNStatus',
63 title
: gettext('SDN'),
64 iconCls
: 'fa fa-unlock',
70 xtype
: 'pveSDNControllerView',
72 title
: gettext('Controllers'),
73 iconCls
: 'fa fa-database',
74 itemId
: 'sdncontroller'
77 xtype
: 'pveSDNZoneView',
79 title
: gettext('Zones'),
80 iconCls
: 'fa fa-database',
84 xtype
: 'pveSDNVnetView',
86 title
: gettext('Vnets'),
87 iconCls
: 'fa fa-database',
92 if (caps
.dc
['Sys.Audit']) {
94 xtype
: 'pveDcBackupView',
95 iconCls
: 'fa fa-floppy-o',
96 title
: gettext('Backup'),
100 xtype
: 'pveReplicaView',
101 iconCls
: 'fa fa-retweet',
102 title
: gettext('Replication'),
103 itemId
: 'replication'
107 title
: gettext('Permissions'),
108 iconCls
: 'fa fa-unlock',
109 itemId
: 'permissions',
115 xtype
: 'pveUserView',
116 groups
: ['permissions'],
117 iconCls
: 'fa fa-user',
118 title
: gettext('Users'),
122 if (caps
.dc
['Sys.Audit']) {
124 xtype
: 'pveGroupView',
125 title
: gettext('Groups'),
126 iconCls
: 'fa fa-users',
127 groups
: ['permissions'],
131 xtype
: 'pvePoolView',
132 title
: gettext('Pools'),
133 iconCls
: 'fa fa-tags',
134 groups
: ['permissions'],
138 xtype
: 'pveRoleView',
139 title
: gettext('Roles'),
140 iconCls
: 'fa fa-male',
141 groups
: ['permissions'],
145 xtype
: 'pveAuthView',
146 title
: gettext('Authentication'),
147 groups
: ['permissions'],
148 iconCls
: 'fa fa-key',
152 xtype
: 'pveHAStatus',
154 iconCls
: 'fa fa-heartbeat',
158 title
: gettext('Groups'),
160 xtype
: 'pveHAGroupsView',
161 iconCls
: 'fa fa-object-group',
165 title
: gettext('Fencing'),
167 iconCls
: 'fa fa-bolt',
168 xtype
: 'pveFencingView',
172 xtype
: 'pveFirewallRules',
173 title
: gettext('Firewall'),
175 base_url
: '/cluster/firewall/rules',
176 list_refs_url
: '/cluster/firewall/refs',
177 iconCls
: 'fa fa-shield',
181 xtype
: 'pveFirewallOptions',
182 title
: gettext('Options'),
183 groups
: ['firewall'],
184 iconCls
: 'fa fa-gear',
185 base_url
: '/cluster/firewall/options',
186 onlineHelp
: 'pve_firewall_cluster_wide_setup',
188 itemId
: 'firewall-options'
191 xtype
: 'pveSecurityGroups',
192 title
: gettext('Security Group'),
193 groups
: ['firewall'],
194 iconCls
: 'fa fa-group',
195 itemId
: 'firewall-sg'
198 xtype
: 'pveFirewallAliases',
199 title
: gettext('Alias'),
200 groups
: ['firewall'],
201 iconCls
: 'fa fa-external-link',
202 base_url
: '/cluster/firewall/aliases',
203 itemId
: 'firewall-aliases'
208 groups
: ['firewall'],
209 iconCls
: 'fa fa-list-ol',
210 base_url
: '/cluster/firewall/ipset',
211 list_refs_url
: '/cluster/firewall/refs',
212 itemId
: 'firewall-ipset'
215 xtype
: 'pveDcSupport',
216 title
: gettext('Support'),
218 iconCls
: 'fa fa-comments-o'