public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH yew-mobile-gui 0/1] render consent text as markdown
@ 2025-10-09  9:42 Shannon Sterz
  2025-10-09  9:42 ` [pve-devel] [PATCH yew-mobile-gui 1/1] page login: " Shannon Sterz
  0 siblings, 1 reply; 2+ messages in thread
From: Shannon Sterz @ 2025-10-09  9:42 UTC (permalink / raw)
  To: pve-devel

in order to match the behaviour of the desktop ui

Shannon Sterz (1):
  page login: render consent text as markdown

 src/pages/page_login.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--
2.47.3



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


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

* [pve-devel] [PATCH yew-mobile-gui 1/1] page login: render consent text as markdown
  2025-10-09  9:42 [pve-devel] [PATCH yew-mobile-gui 0/1] render consent text as markdown Shannon Sterz
@ 2025-10-09  9:42 ` Shannon Sterz
  0 siblings, 0 replies; 2+ messages in thread
From: Shannon Sterz @ 2025-10-09  9:42 UTC (permalink / raw)
  To: pve-devel

to match the behaviour of the extjs consent text banner

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
 src/pages/page_login.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pages/page_login.rs b/src/pages/page_login.rs
index 8b59421..c23b2f9 100644
--- a/src/pages/page_login.rs
+++ b/src/pages/page_login.rs
@@ -5,11 +5,11 @@ use yew::prelude::*;
 use yew::virtual_dom::{VComp, VNode};
 
 use pwt::prelude::*;
-use pwt::widget::{Button, Column, Container, Row};
+use pwt::widget::{Button, Column, Row};
 
 use crate::widgets::TopNavBar;
 
-use proxmox_yew_comp::LoginPanel;
+use proxmox_yew_comp::{LoginPanel, Markdown};
 
 use proxmox_login::Authentication;
 
@@ -74,7 +74,7 @@ impl Component for PvePageLogin {
                     Column::new()
                         .padding(2)
                         .gap(2)
-                        .with_child(Container::from_tag("p").with_child(consent_text))
+                        .with_child(Markdown::new().text(consent_text))
                         .with_child(
                             Row::new().with_flex_spacer().with_child(
                                 Button::new(tr!("OK"))
-- 
2.47.3



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


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

end of thread, other threads:[~2025-10-09  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-09  9:42 [pve-devel] [PATCH yew-mobile-gui 0/1] render consent text as markdown Shannon Sterz
2025-10-09  9:42 ` [pve-devel] [PATCH yew-mobile-gui 1/1] page login: " Shannon Sterz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal