From: Shannon Sterz <s.sterz@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager v2 3/4] ui: auto-installer: make the fqdn field a large field
Date: Tue, 26 May 2026 14:40:12 +0200 [thread overview]
Message-ID: <20260526124013.366392-4-s.sterz@proxmox.com> (raw)
In-Reply-To: <20260526124013.366392-1-s.sterz@proxmox.com>
especially with template variables the content of this field can get
fairly long. also moves the "FQDN from DHCP" and "Pin Network
Interfaces" around to match the new layout.
Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
ui/src/remotes/auto_installer/prepared_answer_form.rs | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/ui/src/remotes/auto_installer/prepared_answer_form.rs b/ui/src/remotes/auto_installer/prepared_answer_form.rs
index 6efa66b..4610604 100644
--- a/ui/src/remotes/auto_installer/prepared_answer_form.rs
+++ b/ui/src/remotes/auto_installer/prepared_answer_form.rs
@@ -321,11 +321,11 @@ pub fn render_network_options_form(
.disabled(use_dhcp_network)
.required(!use_dhcp_network),
)
- .with_right_field(
+ .with_field(
tr!("FQDN from DHCP"),
Checkbox::new().name("use-dhcp-fqdn").default(false),
)
- .with_right_field(
+ .with_field(
tr!("Fully-Qualified Domain Name (FQDN)"),
Field::new()
.name("fqdn")
@@ -344,15 +344,14 @@ pub fn render_network_options_form(
})
.required(!use_dhcp_fqdn),
)
- .with_right_field("", DisplayField::new().key("dummy"))
- .with_right_field(
+ .with_field(
tr!("Pin Network Interfaces"),
Checkbox::new()
.name("netif-name-pinning-enabled")
.default(config.netif_name_pinning_enabled),
)
.with_advanced_spacer()
- .with_large_advanced_field(
+ .with_advanced_field(
tr!("Network Device Filters"),
KeyValueList::new()
.value(
--
2.47.3
next prev parent reply other threads:[~2026-05-26 12:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-26 12:40 [PATCH datacenter-manager v2 0/4] ui & ux improvements for the auto installer Shannon Sterz
2026-05-26 12:40 ` [PATCH datacenter-manager v2 1/4] ui: auto-installer: use empty string as default fqdn Shannon Sterz
2026-05-26 12:40 ` [PATCH datacenter-manager v2 2/4] ui: auto-installer: set a default template that users can adapt Shannon Sterz
2026-05-26 12:40 ` Shannon Sterz [this message]
2026-05-26 12:40 ` [PATCH datacenter-manager v2 4/4] ui: auto-installer: auto select filter for keyboard layout and language Shannon Sterz
2026-05-26 13:19 ` [PATCH datacenter-manager v2 0/4] ui & ux improvements for the auto installer Lukas Wagner
2026-05-26 13:47 ` applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260526124013.366392-4-s.sterz@proxmox.com \
--to=s.sterz@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox