UK
games/xencenter-xenadmin-xcp-jumphp / forms / StrongConfirmForm.form.yaml · commit fb1b7c9
# A question before a command that destroys data (Forget / Destroy a storage repository): a box to tick first (src/Form/StrongConfirmForm.php)form:  title: XenCenter  dialog: true  width: 500  fontSize: 13  accent: '#0078d7'  layout: column  padding: 20  gap: 16  children:    - type: row      gap: 14      items: start      children:        - {class: App\Gui\IconBox, id: icon, kind: alert, width: 32, height: 32}        - {type: label, id: message, text: '', wrap: true, grow: 1}    - {type: checkbox, id: understood, text: 'I understand: this cannot be undone.', events: {change: onUnderstoodChange}}    - type: row      gap: 8      children:        - {type: spacer}        - {type: button, id: ok, text: Destroy, style: danger, enabled: false, events: {click: onOkClick}}        - {type: button, id: cancel, text: Cancel, cancel: true, default: true, events: {click: onCancelClick}}