forked from proxmox-mirrors/proxmox-backup

Mostly affects docs and some JS UI components, but also changes the section type name of the s3 client endpoints. While the s3 client crate is aptly named, the config actually describing how to access an S3 object storage is not really a client, but a definition of an endpoint/remote/repo/address. This is really no problem per se, but such internal names tend to leak and can cause (a tiny bit!) confusion for users if they see with e.g. "S3 Endpoints" in the UI but the same thing now uses "s3client" in the config file. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
34 lines
765 B
JavaScript
34 lines
765 B
JavaScript
Ext.define('PBS.form.S3ClientSelector', {
|
|
extend: 'Proxmox.form.ComboGrid',
|
|
alias: 'widget.pbsS3ClientSelector',
|
|
|
|
allowBlank: false,
|
|
autoSelect: false,
|
|
valueField: 'id',
|
|
displayField: 'id',
|
|
|
|
store: {
|
|
model: 'pmx-s3-endpoint',
|
|
autoLoad: true,
|
|
sorters: 'id',
|
|
},
|
|
|
|
listConfig: {
|
|
columns: [
|
|
{
|
|
header: gettext('S3 Endpoint ID'),
|
|
sortable: true,
|
|
dataIndex: 'id',
|
|
renderer: Ext.String.htmlEncode,
|
|
flex: 1,
|
|
},
|
|
{
|
|
header: gettext('Endpoint'),
|
|
sortable: true,
|
|
dataIndex: 'endpoint',
|
|
flex: 1,
|
|
},
|
|
],
|
|
},
|
|
});
|