]> git.proxmox.com Git - proxmox-backup.git/blame - www/form/RemoteSelector.js
docs: add note for not using remote storages
[proxmox-backup.git] / www / form / RemoteSelector.js
CommitLineData
70958471
DC
1Ext.define('PBS.form.RemoteSelector', {
2 extend: 'Proxmox.form.ComboGrid',
3 alias: 'widget.pbsRemoteSelector',
4
5 allowBlank: false,
6 autoSelect: false,
7 valueField: 'name',
8 displayField: 'name',
9
10 store: {
11 model: 'pmx-remotes',
12 autoLoad: true,
13 sorters: 'name',
14 },
15
16 listConfig: {
17 columns: [
18 {
2e02a859 19 header: gettext('Remote ID'),
70958471
DC
20 sortable: true,
21 dataIndex: 'name',
22 renderer: Ext.String.htmlEncode,
23 flex: 1,
24 },
25 {
26 header: gettext('Host'),
27 sortable: true,
28 dataIndex: 'host',
29 flex: 1,
30 },
31 {
10052ea6 32 header: gettext('Auth ID'),
70958471 33 sortable: true,
10052ea6 34 dataIndex: 'auth-id',
70958471
DC
35 renderer: Ext.String.htmlEncode,
36 flex: 1,
37 },
38 ],
39 },
40});