Author SHA1 Message Date
schn33fuchs 7f3913dcfb Post merge fix 2026-06-06 18:44:40 +02:00
schn33fuchs 31e98c0936 Merge branch 'ticket_background' 2026-06-06 18:36:31 +02:00
TheDiluTek 2a15f77f4f so ein bisschen buttons und links und non admin user tests 2026-06-06 18:13:40 +02:00
4 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ pub fn submit_ticket_component() -> Html {
{ {
if !room_valid { if !room_valid {
html! { html! {
<p style="color: red;">{ "Ungültiger oder nicht erlaubter Raum (z. B. 101, K12, D5)" }</p> <p class="warning" >{ "Ungültiger / nicht erlaubter Raum (z. B. 101, K12, D5)" }</p>
} }
} else { } else {
html! {} html! {}
+1 -1
View File
@@ -425,7 +425,7 @@ pub fn all_users_component() -> Html {
html! { <p>{ format!("Error: {}", e) }</p> } html! { <p>{ format!("Error: {}", e) }</p> }
} else { } else {
html! { html! {
<ul class="posti8s"> <ul class="postits">
{ for users.iter().map(|t| html! { { for users.iter().map(|t| html! {
<li key={t.id.to_string()} class="listbox"> <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>> <Link<crate::Route> to={crate::Route::UserByID{id: t.id}}><h3>{ format!("{} {}- #{}", t.first_name, t.last_name, t.id) }</h3></Link<crate::Route>>
@@ -16,6 +16,7 @@
.listbox { .listbox {
max-width: auto; max-width: auto;
margin:0 0; margin:0 0;
background-color: #90ff82;
background-color: $rundbgbackgroundcolor; background-color: $rundbgbackgroundcolor;
padding-bottom: 96px; padding-bottom: 96px;
color: white; color: white;
@@ -51,4 +52,8 @@
display: grid; display: grid;
grid-template-columns: auto auto auto; grid-template-columns: auto auto auto;
gap: 8px; gap: 8px;
margin-top: 96px;
}
.warning {
color: #570000;
} }
+10 -2
View File
@@ -61,7 +61,7 @@ body {
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
max-width: 40%; max-width: 40%;
margin:0 auto; margin: 0 auto;
background-color: variables.$rundbgbackgroundcolor; background-color: variables.$rundbgbackgroundcolor;
padding-bottom: 96px; padding-bottom: 96px;
padding-left: 32px; padding-left: 32px;
@@ -80,7 +80,7 @@ body {
box-sizing: border-box; box-sizing: border-box;
} }
input, select, button { input, select, button, a {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 16px; padding: 16px;
@@ -98,6 +98,12 @@ body {
margin: 16px 0; margin: 16px 0;
} }
a {
color: #000000;
text-align: center;
border-style: dashed;
}
&.login { &.login {
margin-top: 96px; margin-top: 96px;
} }
@@ -107,3 +113,5 @@ body {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
} }