Label JSON fields in UI

This commit is contained in:
Joscha 2024-05-06 23:21:10 +02:00
parent e5ca4974d0
commit 76dc9685b0
2 changed files with 10 additions and 2 deletions

View file

@ -12,6 +12,11 @@ h1 {
color: #009682;
text-align: center;
}
label {
display: block;
font-weight: bold;
margin-top: 4mm;
}
textarea {
display: block;
width: 100%;

View file

@ -27,8 +27,11 @@ pub async fn get() -> Markup {
" eingeben."
}
textarea name="global" placeholder="Global.json" {}
textarea name="month" placeholder="Month.json" {}
label for="i-global" { "Global.json" }
textarea #i-global name="global" placeholder="{}" {}
label for="i-month" { "Month.json" }
textarea #i-month name="month" placeholder="{}" {}
button #submit type="button" { "Arbeitszeitdokumentation generieren" }