all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager 1/2] ui: pve: clippy fix
@ 2025-09-23  9:42 Dominik Csapak
  2025-09-23  9:42 ` [pdm-devel] [PATCH datacenter-manager 2/2] ui: pve: tree: add title in the toolbar Dominik Csapak
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2025-09-23  9:42 UTC (permalink / raw)
  To: pdm-devel

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

diff --git a/ui/src/pve/mod.rs b/ui/src/pve/mod.rs
index fcbccc48..058424a9 100644
--- a/ui/src/pve/mod.rs
+++ b/ui/src/pve/mod.rs
@@ -240,7 +240,7 @@ impl LoadableComponent for PveRemoteComp {
                                 remote.to_string(),
                                 self.resources.clone(),
                                 ctx.loading(),
-                                link.callback(|node| Msg::SelectedView(node)),
+                                link.callback(Msg::SelectedView),
                                 {
                                     let link = link.clone();
                                     move |_| link.send_reload()
-- 
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: pve: tree: add title in the toolbar
  2025-09-23  9:42 [pdm-devel] [PATCH datacenter-manager 1/2] ui: pve: clippy fix Dominik Csapak
@ 2025-09-23  9:42 ` Dominik Csapak
  0 siblings, 0 replies; 2+ messages in thread
From: Dominik Csapak @ 2025-09-23  9:42 UTC (permalink / raw)
  To: pdm-devel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 ui/src/pve/tree.rs | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/ui/src/pve/tree.rs b/ui/src/pve/tree.rs
index a1b83020..299fd895 100644
--- a/ui/src/pve/tree.rs
+++ b/ui/src/pve/tree.rs
@@ -10,7 +10,7 @@ use yew::{
 use proxmox_yew_comp::{
     LoadableComponent, LoadableComponentContext, LoadableComponentLink, LoadableComponentMaster,
 };
-use pwt::css::{AlignItems, ColorScheme, FlexFit, JustifyContent};
+use pwt::css::{AlignItems, ColorScheme, FlexFit, FontStyle, JustifyContent};
 use pwt::props::{ContainerBuilder, CssBorderBuilder, ExtractPrimaryKey, WidgetBuilder};
 use pwt::state::{KeyedSlabTree, NavigationContext, NavigationContextExt, Selection, TreeStore};
 use pwt::widget::{
@@ -460,6 +460,14 @@ impl LoadableComponent for PveTreeComp {
             .with_child(
                 Toolbar::new()
                     .border_bottom(true)
+                    .with_child(
+                        Row::new()
+                            .class(AlignItems::Baseline)
+                            .class(FontStyle::TitleMedium)
+                            .gap(2)
+                            .with_child(Fa::new("server"))
+                            .with_child(tr!("Resources")),
+                    )
                     .with_child(
                         Field::new()
                             .value(self.filter.clone())
-- 
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-23  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-23  9:42 [pdm-devel] [PATCH datacenter-manager 1/2] ui: pve: clippy fix Dominik Csapak
2025-09-23  9:42 ` [pdm-devel] [PATCH datacenter-manager 2/2] ui: pve: tree: add title in the toolbar 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