]>
Commit | Line | Data |
---|---|---|
a6c60aed DC |
1 | Ext.define('PVE.node.CephMonMgrList', { |
2 | extend: 'Ext.container.Container', | |
3 | xtype: 'pveNodeCephMonMgr', | |
1a70cd63 | 4 | |
8058410f | 5 | mixins: ['Proxmox.Mixin.CBind'], |
1a70cd63 | 6 | |
ba93a9c6 DC |
7 | onlineHelp: 'chapter_pveceph', |
8 | ||
a6c60aed DC |
9 | defaults: { |
10 | border: false, | |
11 | onlineHelp: 'chapter_pveceph', | |
f6710aac | 12 | flex: 1, |
a6c60aed | 13 | }, |
1a70cd63 | 14 | |
a6c60aed DC |
15 | layout: { |
16 | type: 'vbox', | |
f6710aac | 17 | align: 'stretch', |
a6c60aed | 18 | }, |
1a70cd63 | 19 | |
a6c60aed DC |
20 | items: [ |
21 | { | |
22 | xtype: 'pveNodeCephServiceList', | |
23 | cbind: { pveSelNode: '{pveSelNode}' }, | |
24 | type: 'mon', | |
25 | additionalColumns: [ | |
1a70cd63 DM |
26 | { |
27 | header: gettext('Quorum'), | |
5e0fd1b9 | 28 | width: 70, |
a6c60aed | 29 | sortable: true, |
e7ade592 | 30 | renderer: Proxmox.Utils.format_boolean, |
f6710aac TL |
31 | dataIndex: 'quorum', |
32 | }, | |
1a70cd63 | 33 | ], |
a6c60aed DC |
34 | stateId: 'grid-ceph-monitor', |
35 | showCephInstallMask: true, | |
f6710aac | 36 | title: gettext('Monitor'), |
a6c60aed DC |
37 | }, |
38 | { | |
39 | xtype: 'pveNodeCephServiceList', | |
40 | type: 'mgr', | |
41 | stateId: 'grid-ceph-manager', | |
42 | cbind: { pveSelNode: '{pveSelNode}' }, | |
f6710aac TL |
43 | title: gettext('Manager'), |
44 | }, | |
45 | ], | |
1a70cd63 | 46 | }); |