This commit is contained in:
48
deploy.yaml
48
deploy.yaml
@@ -12,16 +12,44 @@ areas:
|
||||
grow: 1
|
||||
properties:
|
||||
content: Deploy
|
||||
- id: macaddress # The name text input for the brand. The value of this input is the value of the name field in the page state context.
|
||||
- id: macaddress
|
||||
type: TextInput
|
||||
properties:
|
||||
title: MAC Address
|
||||
placeholder: 00:00:00:00:00:00
|
||||
- id: projectname # The description text area input for the brand. The value of this input is the value of the description field in the page state context.
|
||||
type: TextArea
|
||||
- id: projectname
|
||||
type: TextInput
|
||||
properties:
|
||||
title: Project name
|
||||
# placeholder: ...
|
||||
- id: hostname
|
||||
type: TextInput
|
||||
properties:
|
||||
title: Hostname
|
||||
- id: ipaddress
|
||||
type: TextInput
|
||||
properties:
|
||||
title: IP address
|
||||
placeholder: 0.0.0.0
|
||||
- id: subnetmask
|
||||
type: TextInput
|
||||
properties:
|
||||
title: Subnet mask
|
||||
placeholder: 255.255.255.0
|
||||
- id: gateway
|
||||
type: TextInput
|
||||
properties:
|
||||
title: Gateway
|
||||
placeholder: 0.0.0.0
|
||||
- id: dnsserver
|
||||
type: TextInput
|
||||
properties:
|
||||
title: DNS server
|
||||
placeholder: 0.0.0.0, 0.0.0.0
|
||||
- id: dnssuffix
|
||||
type: TextInput
|
||||
properties:
|
||||
title: DNS suffix
|
||||
placeholder: example.org
|
||||
|
||||
# Again use the grow (css flex-grow) layout property to lay out the buttons.
|
||||
- id: back # Create a back button that will link back to the brands page without making any changes.
|
||||
@@ -39,6 +67,18 @@ areas:
|
||||
type: Link
|
||||
params:
|
||||
pageId: brands
|
||||
- id: reset_button
|
||||
type: Button
|
||||
layout:
|
||||
grow: 1 # Because the button has a grow of 1, it will expand to take up available space.
|
||||
properties:
|
||||
title: Reset
|
||||
type: default
|
||||
Icon: ReloadOutlined
|
||||
actions:
|
||||
onClick:
|
||||
- id: reset
|
||||
type: reset()
|
||||
- id: update_brand
|
||||
type: Button
|
||||
layout:
|
||||
|
Reference in New Issue
Block a user