mirror of
https://github.com/Garmelon/Arbeitszeitdokumentationsgenerator.git
synced 2026-04-12 08:45:05 +02:00
Satisfy clippy
This commit is contained in:
parent
b174b796ed
commit
14ef0bb122
1 changed files with 45 additions and 43 deletions
|
|
@ -219,49 +219,51 @@ pub async fn get() -> Document {
|
||||||
div("(hh:mm)"),
|
div("(hh:mm)"),
|
||||||
div("(hh:mm)"),
|
div("(hh:mm)"),
|
||||||
div(()),
|
div(()),
|
||||||
iter::repeat((
|
iter::repeat_n(
|
||||||
div(input((
|
(
|
||||||
attr::class("i-task"),
|
div(input((
|
||||||
attr::name("task"),
|
attr::class("i-task"),
|
||||||
attr::TypeInput::Text,
|
attr::name("task"),
|
||||||
))),
|
attr::TypeInput::Text,
|
||||||
div(input((
|
))),
|
||||||
attr::class("i-day"),
|
div(input((
|
||||||
attr::name("day"),
|
attr::class("i-day"),
|
||||||
attr::TypeInput::Number,
|
attr::name("day"),
|
||||||
attr::placeholder(1),
|
attr::TypeInput::Number,
|
||||||
attr::min(1),
|
attr::placeholder(1),
|
||||||
attr::max(31),
|
attr::min(1),
|
||||||
))),
|
attr::max(31),
|
||||||
div(input((
|
))),
|
||||||
attr::class("i-dur"),
|
div(input((
|
||||||
attr::name("start"),
|
attr::class("i-dur"),
|
||||||
attr::TypeInput::Text,
|
attr::name("start"),
|
||||||
attr::placeholder("12:34"),
|
attr::TypeInput::Text,
|
||||||
))),
|
attr::placeholder("12:34"),
|
||||||
div(input((
|
))),
|
||||||
attr::class("i-dur"),
|
div(input((
|
||||||
attr::name("end"),
|
attr::class("i-dur"),
|
||||||
attr::TypeInput::Text,
|
attr::name("end"),
|
||||||
attr::placeholder("12:34"),
|
attr::TypeInput::Text,
|
||||||
))),
|
attr::placeholder("12:34"),
|
||||||
div(input((
|
))),
|
||||||
attr::class("i-dur"),
|
div(input((
|
||||||
attr::name("rest"),
|
attr::class("i-dur"),
|
||||||
attr::TypeInput::Text,
|
attr::name("rest"),
|
||||||
attr::placeholder("00:00"),
|
attr::TypeInput::Text,
|
||||||
))),
|
attr::placeholder("00:00"),
|
||||||
div(select((
|
))),
|
||||||
attr::name("note"),
|
div(select((
|
||||||
attr::value(""),
|
attr::name("note"),
|
||||||
option((attr::value(""), "Normal")),
|
attr::value(""),
|
||||||
option((attr::value("U"), "Urlaub")),
|
option((attr::value(""), "Normal")),
|
||||||
option((attr::value("K"), "Krankheit")),
|
option((attr::value("U"), "Urlaub")),
|
||||||
option((attr::value("F"), "Feiertag")),
|
option((attr::value("K"), "Krankheit")),
|
||||||
option((attr::value("S"), "Sonstiges")),
|
option((attr::value("F"), "Feiertag")),
|
||||||
))),
|
option((attr::value("S"), "Sonstiges")),
|
||||||
))
|
))),
|
||||||
.take(22)
|
),
|
||||||
|
22,
|
||||||
|
)
|
||||||
.collect::<Vec<_>>(),
|
.collect::<Vec<_>>(),
|
||||||
)),
|
)),
|
||||||
button((
|
button((
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue