The ticket backgrounds have color depending on background and some
improvements
This commit is contained in:
2026-06-06 18:18:22 +02:00
parent dfb031949b
commit c3b7321005
4 changed files with 44 additions and 16 deletions
+4 -4
View File
@@ -222,7 +222,7 @@ pub fn register_component() -> Html {
};
html! {
<form {onsubmit}>
<form {onsubmit} class="rundbg">
<label>{ "Vorname:" }
<input type="text" value={(*first_name).clone()} oninput={fn_change}/>
</label>
@@ -330,7 +330,7 @@ pub fn login_component() -> Html {
html! {
<div>
<h1 class="headline">{ "Anmeldung" }</h1>
<form {onsubmit} class="rundbg">
<form {onsubmit} class="rundbg login">
<input
placeholder="username"
value={(*username).clone()}
@@ -425,9 +425,9 @@ pub fn all_users_component() -> Html {
html! { <p>{ format!("Error: {}", e) }</p> }
} else {
html! {
<ul>
<ul class="posti8s">
{ for users.iter().map(|t| html! {
<li key={t.id.to_string()}>
<li key={t.id.to_string()} class="listbox">
<Link<crate::Route> to={crate::Route::UserByID{id: t.id}}><h3>{ format!("{} {}- #{}", t.first_name, t.last_name, t.id) }</h3></Link<crate::Route>>
</li>
})}