all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager 1/2] ui: remote wizard: fix width of settings panel
@ 2025-09-11  7:49 Dominik Csapak
  2025-09-11  7:49 ` [pdm-devel] [PATCH datacenter-manager 2/2] ui: remote wizard: add placeholder for token field Dominik Csapak
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2025-09-11  7:49 UTC (permalink / raw)
  To: pdm-devel

the way we use a flex column layout and the properties of the input
panel do not work that well together for the width. by introducing
a row  that changes the flex direction changes the way the width works
and uses the full one here.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 ui/src/remotes/wizard_page_info.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/remotes/wizard_page_info.rs b/ui/src/remotes/wizard_page_info.rs
index 88c6463..ff0e969 100644
--- a/ui/src/remotes/wizard_page_info.rs
+++ b/ui/src/remotes/wizard_page_info.rs
@@ -360,7 +360,7 @@ impl Component for PdmWizardPageInfo {
             );
         let content = Column::new()
             .class(FlexFit)
-            .with_child(input_panel)
+            .with_child(Row::new().with_child(input_panel))
             .with_child(
                 Row::new()
                     .padding(2)
-- 
2.47.3



_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pdm-devel] [PATCH datacenter-manager 2/2] ui: remote wizard: add placeholder for token field
  2025-09-11  7:49 [pdm-devel] [PATCH datacenter-manager 1/2] ui: remote wizard: fix width of settings panel Dominik Csapak
@ 2025-09-11  7:49 ` Dominik Csapak
  0 siblings, 0 replies; 2+ messages in thread
From: Dominik Csapak @ 2025-09-11  7:49 UTC (permalink / raw)
  To: pdm-devel

so users know what the format should be (like we have it in e.g. the PBS
storage edit window in PVE)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 ui/src/remotes/wizard_page_info.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/remotes/wizard_page_info.rs b/ui/src/remotes/wizard_page_info.rs
index ff0e969..2fd7fd3 100644
--- a/ui/src/remotes/wizard_page_info.rs
+++ b/ui/src/remotes/wizard_page_info.rs
@@ -333,6 +333,7 @@ impl Component for PdmWizardPageInfo {
                     .name("tokenid")
                     .disabled(self.user_mode)
                     .required(!self.user_mode)
+                    .placeholder(tr!("Example: user@realm!token"))
                     .submit(false),
             )
             .with_right_field(
-- 
2.47.3



_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-11  7:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-11  7:49 [pdm-devel] [PATCH datacenter-manager 1/2] ui: remote wizard: fix width of settings panel Dominik Csapak
2025-09-11  7:49 ` [pdm-devel] [PATCH datacenter-manager 2/2] ui: remote wizard: add placeholder for token field Dominik Csapak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal