RU
games/xencenter-xenadmin-xcp-jumphp / forms / NetworkPropertiesForm.form.yaml · commit fb1b7c9
# The Properties of a network: its name, its description, its MTU (src/Form/NetworkPropertiesForm.php)form:  title: Properties  dialog: true  width: 520  fontSize: 13  accent: '#0078d7'  layout: column  padding: 20  gap: 10  children:    - type: row      gap: 12      children:        - {class: App\Gui\IconBox, kind: network, width: 32, height: 32}        - {type: label, id: heading, text: 'Properties', style: subtitle}    - {type: label, text: 'Name:'}    - {type: textbox, id: name}    - {type: label, text: 'Description:'}    - {type: textbox, id: description, multiline: true, rows: 3}    - type: row      gap: 8      children:        - {type: label, text: 'MTU:', width: 150}        - {type: textbox, id: mtu, width: 120}    - {type: label, id: note, 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: ok, text: OK, style: primary, default: true, events: {click: onOkClick}}        - {type: button, id: cancel, text: Cancel, cancel: true, events: {click: onCancelClick}}