Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f3913dcfb | ||
|
|
31e98c0936 | ||
|
|
2a15f77f4f |
@@ -313,7 +313,7 @@ pub fn submit_ticket_component() -> Html {
|
||||
{
|
||||
if !room_valid {
|
||||
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 {
|
||||
html! {}
|
||||
|
||||
@@ -425,7 +425,7 @@ pub fn all_users_component() -> Html {
|
||||
html! { <p>{ format!("Error: {}", e) }</p> }
|
||||
} else {
|
||||
html! {
|
||||
<ul class="posti8s">
|
||||
<ul class="postits">
|
||||
{ for users.iter().map(|t| html! {
|
||||
<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>>
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
.listbox {
|
||||
max-width: auto;
|
||||
margin:0 0;
|
||||
background-color: #90ff82;
|
||||
background-color: $rundbgbackgroundcolor;
|
||||
padding-bottom: 96px;
|
||||
color: white;
|
||||
@@ -51,4 +52,8 @@
|
||||
display: grid;
|
||||
grid-template-columns: auto auto auto;
|
||||
gap: 8px;
|
||||
margin-top: 96px;
|
||||
}
|
||||
.warning {
|
||||
color: #570000;
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ body {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
input, select, button {
|
||||
input, select, button, a {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 16px;
|
||||
@@ -98,6 +98,12 @@ body {
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #000000;
|
||||
text-align: center;
|
||||
border-style: dashed;
|
||||
}
|
||||
|
||||
&.login {
|
||||
margin-top: 96px;
|
||||
}
|
||||
@@ -107,3 +113,5 @@ body {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user