]>
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',
32 xtype
: 'pveDcOptionView',
33 title
: gettext('Options'),
34 iconCls
: 'fa fa-gear',
39 if (caps
.storage
['Datastore.Allocate'] || caps
.dc
['Sys.Audit']) {
41 xtype
: 'pveStorageView',
42 title
: gettext('Storage'),
43 iconCls
: 'fa fa-database',
48 if (caps
.dc
['Sys.Audit']) {
50 xtype
: 'pveDcBackupView',
51 iconCls
: 'fa fa-floppy-o',
52 title
: gettext('Backup'),
56 xtype
: 'pveReplicaView',
57 iconCls
: 'fa fa-retweet',
58 title
: gettext('Replication'),
63 title
: gettext('Permissions'),
64 iconCls
: 'fa fa-unlock',
65 itemId
: 'permissions',
72 groups
: ['permissions'],
73 iconCls
: 'fa fa-user',
74 title
: gettext('Users'),
78 if (caps
.dc
['Sys.Audit']) {
80 xtype
: 'pveGroupView',
81 title
: gettext('Groups'),
82 iconCls
: 'fa fa-users',
83 groups
: ['permissions'],
88 title
: gettext('Pools'),
89 iconCls
: 'fa fa-tags',
90 groups
: ['permissions'],
95 title
: gettext('Roles'),
96 iconCls
: 'fa fa-male',
97 groups
: ['permissions'],
101 xtype
: 'pveAuthView',
102 title
: gettext('Authentication'),
103 groups
: ['permissions'],
104 iconCls
: 'fa fa-key',
108 xtype
: 'pveHAStatus',
110 iconCls
: 'fa fa-heartbeat',
114 title
: gettext('Groups'),
116 xtype
: 'pveHAGroupsView',
117 iconCls
: 'fa fa-object-group',
121 title
: gettext('Fencing'),
123 iconCls
: 'fa fa-bolt',
124 xtype
: 'pveFencingView',
128 xtype
: 'pveFirewallRules',
129 title
: gettext('Firewall'),
131 base_url
: '/cluster/firewall/rules',
132 list_refs_url
: '/cluster/firewall/refs',
133 iconCls
: 'fa fa-shield',
137 xtype
: 'pveFirewallOptions',
138 title
: gettext('Options'),
139 groups
: ['firewall'],
140 iconCls
: 'fa fa-gear',
141 base_url
: '/cluster/firewall/options',
142 onlineHelp
: 'pve_firewall_cluster_wide_setup',
144 itemId
: 'firewall-options'
147 xtype
: 'pveSecurityGroups',
148 title
: gettext('Security Group'),
149 groups
: ['firewall'],
150 iconCls
: 'fa fa-group',
151 itemId
: 'firewall-sg'
154 xtype
: 'pveFirewallAliases',
155 title
: gettext('Alias'),
156 groups
: ['firewall'],
157 iconCls
: 'fa fa-external-link',
158 base_url
: '/cluster/firewall/aliases',
159 itemId
: 'firewall-aliases'
164 groups
: ['firewall'],
165 iconCls
: 'fa fa-list-ol',
166 base_url
: '/cluster/firewall/ipset',
167 list_refs_url
: '/cluster/firewall/refs',
168 itemId
: 'firewall-ipset'
171 xtype
: 'pveDcSupport',
172 title
: gettext('Support'),
174 iconCls
: 'fa fa-comments-o'