|
|
@ -18,7 +18,7 @@ pub fn ResultMessage(cx: Scope, message: ReadSignal<Option<ResultMessageData>>)
|
|
|
|
set_open(true);
|
|
|
|
set_open(true);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
move || view! { cx,
|
|
|
|
move || view! { cx,
|
|
|
|
<Show when=move || open() fallback=|_| ()>
|
|
|
|
<Show when=open fallback=|_| ()>
|
|
|
|
{move || message().map(|ResultMessageData { title, message, colorway }| view! { cx,
|
|
|
|
{move || message().map(|ResultMessageData { title, message, colorway }| view! { cx,
|
|
|
|
<div class=class_list!["box", colorway] style="position: relative">
|
|
|
|
<div class=class_list!["box", colorway] style="position: relative">
|
|
|
|
<strong class="block titlebar">{title}</strong>
|
|
|
|
<strong class="block titlebar">{title}</strong>
|
|
|
|