diff --git a/src/endpoints/index.css b/src/endpoints/index.css index e9aed52..1306dad 100644 --- a/src/endpoints/index.css +++ b/src/endpoints/index.css @@ -12,6 +12,9 @@ h1 { color: #009682; text-align: center; } +#source { + font-size: small; +} label { font-weight: bold; } diff --git a/src/endpoints/index.rs b/src/endpoints/index.rs index 48d30b5..a391580 100644 --- a/src/endpoints/index.rs +++ b/src/endpoints/index.rs @@ -27,14 +27,19 @@ pub async fn get() -> Markup { }, html! { form #form { - h1 { "Arbeitszeitdokumentationsgenerator" } + h1 { + "Arbeitszeitdokumentationsgenerator " + a #source href="https://github.com/Garmelon/Arbeitszeitdokumentationsgenerator" { "(source)" } + } p { "Du kannst auch " a href="tsg/" { "JSON eingeben" } ", das kompatibel mit dem " a href="https://github.com/kit-sdq/TimeSheetGenerator" { "TimeSheetGenerator" } - " ist." + " ist, oder das dem Generator zugrunde liegende " + a href="https://github.com/Garmelon/Arbeitszeitdokumentationsgenerator/blob/master/kit_timesheet.md" { "Typst-Template" } + " direkt benutzen." } div #header { diff --git a/src/endpoints/tsg.css b/src/endpoints/tsg.css index e5d4ba8..88c09eb 100644 --- a/src/endpoints/tsg.css +++ b/src/endpoints/tsg.css @@ -12,6 +12,9 @@ h1 { color: #009682; text-align: center; } +#source { + font-size: small; +} label { display: block; font-weight: bold; diff --git a/src/endpoints/tsg.rs b/src/endpoints/tsg.rs index 21da962..2156d65 100644 --- a/src/endpoints/tsg.rs +++ b/src/endpoints/tsg.rs @@ -19,7 +19,10 @@ pub async fn get() -> Markup { }, html! { form #form { - h1 { "Arbeitszeitdokumentationsgenerator" } + h1 { + "Arbeitszeitdokumentationsgenerator " + a #source href="https://github.com/Garmelon/Arbeitszeitdokumentationsgenerator" { "(source)" } + } p { "Du kannst deine Daten auch in einem "