From 9d9c34c13732d7f92e5750bc49f980daab26fa5b Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 19 Jan 2022 14:17:30 +0000 Subject: [PATCH] Update 'deploy.yaml' --- deploy.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/deploy.yaml b/deploy.yaml index 7d6dd4b..68f6e6c 100644 --- a/deploy.yaml +++ b/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: