登录
ZH
games/xencenter-xenadmin-xcp-jumphp / forms / NameForm.form.yaml · commit fb1b7c9
# A name and a description: Take Snapshot, Copy VM (src/Form/NameForm.php)form:  title: 'Take Snapshot'  dialog: true  width: 480  fontSize: 13  accent: '#0078d7'  layout: column  padding: 20  gap: 10  children:    - {type: label, id: heading, text: 'Take Snapshot', style: subtitle}    - {type: label, id: label, text: 'Name:'}    - {type: textbox, id: name, events: {submit: onOkClick}}    - {type: label, text: 'Description:'}    - {type: textbox, id: description, multiline: true, rows: 3}    - {type: label, id: error, text: '', color: '#d1242f'}    - type: row      gap: 8      children:        - {type: spacer}        - {type: button, id: ok, text: OK, style: primary, default: true, events: {click: onOkClick}}        - {type: button, id: cancel, text: Cancel, cancel: true, events: {click: onCancelClick}}