diff --git a/opendut-lea/src/components/generate_setup_string.rs b/opendut-lea/src/components/generate_setup_string.rs
index fb9c23f0..c6a69374 100644
--- a/opendut-lea/src/components/generate_setup_string.rs
+++ b/opendut-lea/src/components/generate_setup_string.rs
@@ -2,7 +2,7 @@ use leptos::{either::Either, prelude::*};
use opendut_auth::public::OptionalAuthData;
use opendut_types::peer::PeerId;
-use crate::{app::use_app_globals, components::{use_toaster, ButtonColor, ButtonState, SimpleButton, Toast}, user::UNAUTHENTICATED_USER};
+use crate::{app::use_app_globals, components::{use_toaster, ButtonColor, ButtonState, SimpleButton, Toast, WarningMessage}, user::UNAUTHENTICATED_USER};
#[component]
@@ -66,16 +66,7 @@ pub fn GenerateSetupStringForm(kind: GenerateSetupStringKind) -> impl IntoView {
})}
-
-
-
-
-
-
-
"Please keep Setup-Strings secret and handle them with care like your passwords."
-
-
-
+ "Please keep Setup-Strings secret and handle them with care like your passwords."
}
}
diff --git a/opendut-lea/src/components/mod.rs b/opendut-lea/src/components/mod.rs
index 9e6285bc..4fd85df2 100644
--- a/opendut-lea/src/components/mod.rs
+++ b/opendut-lea/src/components/mod.rs
@@ -17,6 +17,7 @@ pub use toast::{Toast, ToastContent, Toaster, ToastKind, use_toaster};
pub use util::ButtonStateSignalProvider;
pub use util::Toggled;
pub use util::use_active_tab;
+pub use warning_message::WarningMessage;
pub mod health;
pub mod tooltip;
@@ -32,6 +33,7 @@ mod loading_spinner;
mod page;
mod toast;
mod util;
+mod warning_message;
#[derive(Clone, Copy, Debug)]
#[allow(dead_code)]
diff --git a/opendut-lea/src/components/warning_message.rs b/opendut-lea/src/components/warning_message.rs
new file mode 100644
index 00000000..ca5d4cbe
--- /dev/null
+++ b/opendut-lea/src/components/warning_message.rs
@@ -0,0 +1,17 @@
+use leptos::prelude::*;
+
+#[component]
+pub fn WarningMessage(children: Children) -> impl IntoView {
+ view! {
+
+ }
+}
diff --git a/opendut-lea/src/peers/configurator/tabs/setup/mod.rs b/opendut-lea/src/peers/configurator/tabs/setup/mod.rs
index b569778e..fcdc33c1 100644
--- a/opendut-lea/src/peers/configurator/tabs/setup/mod.rs
+++ b/opendut-lea/src/peers/configurator/tabs/setup/mod.rs
@@ -1,6 +1,6 @@
use leptos::prelude::*;
-use crate::components::{GenerateSetupStringForm, GenerateSetupStringKind};
+use crate::components::{GenerateSetupStringForm, GenerateSetupStringKind, WarningMessage};
use crate::peers::configurator::types::UserPeerConfiguration;
#[component]
@@ -9,8 +9,7 @@ pub fn SetupTab(peer_configuration: ReadSignal) -> impl I
view! {
-
-
"Setup-Strings may only be used to set up one host. For setting up multiple hosts, you should create a peer for each host."
+
"Setup-Strings may only be used to set up one host. For setting up multiple hosts, you should create a peer for each host."
}
}