]>
Commit | Line | Data |
---|---|---|
252645ce DM |
1 | Ext.define('PMG.ServerAdministration', { |
2 | extend: 'Ext.tab.Panel', | |
3 | alias: 'widget.pmgServerAdministration', | |
4 | ||
5 | title: gettext('Server Administration'), | |
6 | ||
830e5827 DM |
7 | border: false, |
8 | defaults: { border: false }, | |
9 | ||
252645ce | 10 | items: [ |
e653eb82 | 11 | { |
61415efa DC |
12 | xtype: 'pmgServerStatus', |
13 | itemId: 'status' | |
e653eb82 | 14 | }, |
252645ce | 15 | { |
0f3d85d5 | 16 | xtype: 'proxmoxNodeServiceView', |
252645ce | 17 | title: gettext('Services'), |
61415efa | 18 | itemId: 'services', |
0f3d85d5 DM |
19 | startOnlyServices: { |
20 | syslog: true, | |
21 | pmgproxy: true, | |
22 | pmgdaemon: true | |
23 | }, | |
24 | nodename: Proxmox.NodeName | |
252645ce DM |
25 | }, |
26 | { | |
27 | title: gettext('Updates'), | |
61415efa | 28 | itemId: 'updates', |
252645ce | 29 | html: "Server Administration2" |
03912e15 | 30 | }, |
ac6617da DM |
31 | { |
32 | xtype: 'proxmoxLogView', | |
61415efa | 33 | itemId: 'logs', |
ac6617da DM |
34 | title: gettext('Syslog'), |
35 | url: "/api2/extjs/nodes/" + Proxmox.NodeName + "/syslog", | |
36 | log_select_timespan: 1 | |
37 | }, | |
03912e15 DM |
38 | { |
39 | xtype: 'proxmoxNodeTasks', | |
61415efa | 40 | itemId: 'tasks', |
03912e15 DM |
41 | title: gettext('Tasks'), |
42 | height: 'auto', | |
43 | nodename: Proxmox.NodeName | |
252645ce DM |
44 | } |
45 | ] | |
46 | }); | |
47 | ||
48 |