Anmelden
DE
games/xencenter-xenadmin-xcp-jumphp / forms / NewPoolForm.form.yaml · commit fb1b7c9
# Pool > New Pool… (a name, a master, the other servers that join it) and Pool > Add Server… (servers that join the selected pool):# src/Form/NewPoolForm.php. The server check boxes are made by the code (the connected servers that are in no pool).form:  title: 'New Pool'  dialog: true  width: 560  fontSize: 13  accent: '#0078d7'  layout: column  padding: 20  gap: 10  children:    - type: row      gap: 12      children:        - {class: App\Gui\IconBox, kind: pool, width: 32, height: 32}        - type: column          gap: 0          children:            - {type: label, id: heading, text: 'New Pool', style: subtitle}            - {type: label, id: where, text: '', style: muted, size: 12, wrap: true}    - {type: label, id: nameLabel, text: 'Name:'}    - {type: textbox, id: name, placeholder: 'Pool name'}    - {type: label, id: descriptionLabel, text: 'Description:'}    - {type: textbox, id: description}    - {type: label, id: masterLabel, text: 'Master (coordinator):'}    - {type: combobox, id: master, items: [], events: {change: onMasterChange}}    - {type: label, id: membersLabel, text: 'Servers that join the pool:'}    - type: column      id: servers      gap: 4      padding: 6      children: []    - {type: label, id: note, text: "Each server joins with Async.pool.join, called on the server itself with the master's address and credentials; a server with running or suspended VMs cannot join.", 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: 'Create Pool', style: primary, default: true, events: {click: onOkClick}}        - {type: button, id: cancel, text: Cancel, cancel: true, events: {click: onCancelClick}}