]>
git.proxmox.com Git - proxmox-backup.git/blob - www/SystemConfiguration.js
1 Ext
.define('PBS.SystemConfiguration', {
2 extend
: 'Ext.tab.Panel',
3 xtype
: 'pbsSystemConfiguration',
5 title
: gettext('Configuration') + ': ' + gettext('System'),
7 defaults
: { border
: false },
8 tools
: [PBS
.Utils
.get_help_tool("sysadmin-network-configuration")],
12 title
: gettext('Network/Time'),
14 iconCls
: 'fa fa-exchange',
28 xtype
: 'proxmoxNodeTimeView',
29 title
: gettext('Time'),
30 nodename
: 'localhost',
33 xtype
: 'proxmoxNodeDNSView',
34 title
: gettext('DNS'),
35 nodename
: 'localhost',
38 xtype
: 'proxmoxNodeNetworkView',
39 title
: gettext('Network Interfaces'),
43 types
: ['bond', 'bridge'],
44 nodename
: 'localhost',
49 title
: gettext('Metric Server'),
50 iconCls
: 'fa fa-bar-chart',
51 xtype
: 'pbsMetricServerView',
56 title
: gettext('Other'),
57 itemId
: 'other-options',
58 iconCls
: 'fa fa-sliders',
72 title
: gettext('General'),
73 xtype
: 'pbsNodeOptionView',
76 title
: gettext('WebAuthn TFA'),
77 xtype
: 'pbsWebauthnConfigView',
83 initComponent: function() {
88 let networktime
= me
.getComponent('network');
89 networktime
.query()?.forEach(el
=> el
.relayEvents(networktime
, ['activate', 'deactivate', 'destroy']));
91 let options
= me
.getComponent('other-options');
92 options
.query()?.forEach(el
=> el
.relayEvents(options
, ['activate', 'deactivate', 'destroy']));