]>
git.proxmox.com Git - pmg-gui.git/blob - js/SystemConfiguration.js
2 Ext
.define('PMG.SystemConfiguration', {
3 extend
: 'Ext.tab.Panel',
4 xtype
: 'pmgSystemConfiguration',
6 title
: gettext('Configuration') + ': ' + gettext('System'),
9 defaults
: { border
: false },
12 title
: gettext('Network/Time'),
14 iconCls
: 'fa fa-exchange',
21 bodyPadding
: '0 0 10 0',
29 title
: gettext('Time'),
30 xtype
: 'proxmoxNodeTimeView',
31 nodename
: Proxmox
.NodeName
,
34 title
: gettext('DNS'),
35 xtype
: 'proxmoxNodeDNSView',
36 nodename
: Proxmox
.NodeName
,
41 title
: gettext('Interfaces'),
42 xtype
: 'proxmoxNodeNetworkView',
44 nodename
: Proxmox
.NodeName
,
50 xtype
: 'pmgSystemOptions',
52 title
: gettext('Options'),
53 iconCls
: 'fa fa-cogs',
57 initComponent: function() {
62 var networktime
= me
.getComponent('network');
63 Ext
.Array
.forEach(networktime
.query(), function(item
) {
64 item
.relayEvents(networktime
, ['activate', 'deactivate', 'destroy']);