ES
games/xencenter-xenadmin-xcp-jumphp / forms / ExportForm.form.yaml · commit fb1b7c9
# VM > Export: the VM (halted) as an XVA file, streamed from XAPI's /export to the disk (src/Form/ExportForm.php)form:  title: 'Export VM'  dialog: true  width: 580  fontSize: 13  accent: '#0078d7'  layout: column  padding: 20  gap: 10  children:    - type: row      gap: 12      children:        - {class: App\Gui\IconBox, kind: vm, width: 32, height: 32}        - type: column          gap: 0          children:            - {type: label, id: heading, text: 'Export VM', style: subtitle}            - {type: label, id: where, text: '', style: muted, size: 12}    - {type: label, text: 'The VM is saved as an XVA file (its configuration and its disks): File > Import brings it back, in this pool or another.', wrap: true, style: muted}    - {type: label, text: 'File:'}    - type: row      gap: 8      children:        - {type: textbox, id: path, grow: 1, events: {submit: onExportClick}}        - {type: button, id: browse, text: 'Browse…', events: {click: onBrowseClick}}    - {type: checkbox, id: compress, text: 'Compress the file (gzip: smaller, a little slower)', checked: true}    - {type: label, id: size, text: '', style: muted, size: 12, wrap: true}    - {type: label, id: error, text: '', color: '#d1242f', wrap: true}    - type: row      gap: 8      children:        - {type: spacer}        - {type: button, id: export, text: 'Export', style: primary, default: true, events: {click: onExportClick}}        - {type: button, id: cancel, text: Cancel, cancel: true, events: {click: onCancelClick}}