Compare commits

..

4 commits
v1.4.0 ... main

Author SHA1 Message Date
5faef9defc
feat(style): mobile tweaks
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Signed-off-by: Nikurasu <publicmail@nikurasu.gay>
2024-06-30 20:35:46 +02:00
c983a1b19c
feat(style): mobile tweaks
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Signed-off-by: Nikurasu <publicmail@nikurasu.gay>
2024-06-29 18:50:20 +02:00
615691e3c5
feat(style): mobile tweaks
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Signed-off-by: Nikurasu <publicmail@nikurasu.gay>
2024-06-29 18:36:38 +02:00
dc9a1b60f1
fix(i18n): add missing localization
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-06-17 21:14:37 +02:00
6 changed files with 21 additions and 0 deletions

View file

@ -99,6 +99,10 @@ func GetAttendiesByEventPublicTable(c *fiber.Ctx) error {
MessageID: "AfterParty", MessageID: "AfterParty",
PluralCount: 1, PluralCount: 1,
}), }),
"Event": localizer.MustLocalize(&i18n.LocalizeConfig{
MessageID: "Event",
PluralCount: 1,
}),
} }
return c.Render("app/views/index", fiber.Map{ return c.Render("app/views/index", fiber.Map{
"EventName": *(event).Name, "EventName": *(event).Name,

View file

@ -42,3 +42,12 @@ tbody>tr:nth-child(odd) {
.tdred { .tdred {
background-color: #ff6e6e; background-color: #ff6e6e;
} }
.tableWrapper {
overflow-x: auto;
transform: rotate(180deg);
}
.tableWrapper table {
transform: rotate(180deg);
}

View file

@ -1,6 +1,7 @@
{{ define "regularstable" }} {{ define "regularstable" }}
<h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1> <h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1>
<h2 class="textWhite">{{ .Locals.Registered }}</h2> <h2 class="textWhite">{{ .Locals.Registered }}</h2>
<div class="tableWrapper">
<table> <table>
<thead> <thead>
<tr class="tableHeading"> <tr class="tableHeading">
@ -46,4 +47,5 @@
{{end}} {{end}}
</tbody> </tbody>
</table> </table>
</div>
{{end}} {{end}}

View file

@ -1,6 +1,7 @@
{{ define "specialEvent" }} {{ define "specialEvent" }}
<h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1> <h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1>
<h2 class="textWhite">{{ .Locals.Registered }}</h2> <h2 class="textWhite">{{ .Locals.Registered }}</h2>
<div class="tableWrapper">
<table> <table>
<thead> <thead>
<tr class="tableHeading"> <tr class="tableHeading">
@ -29,4 +30,5 @@
{{end}} {{end}}
</tbody> </tbody>
</table> </table>
</div>
{{end}} {{end}}

View file

@ -1,6 +1,7 @@
{{define "specialEventRoles"}} {{define "specialEventRoles"}}
<h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1> <h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1>
<h2 class="textWhite">{{ .Locals.Registered }}</h2> <h2 class="textWhite">{{ .Locals.Registered }}</h2>
<div class="tableWrapper">
<table> <table>
<thead> <thead>
<tr class="tableHeading"> <tr class="tableHeading">
@ -63,5 +64,6 @@
{{end}} {{end}}
</tbody> </tbody>
</table> </table>
</div>
{{end}} {{end}}
{{end}} {{end}}

View file

@ -1,6 +1,7 @@
{{define "suitwalk"}} {{define "suitwalk"}}
<h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1> <h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1>
<h2 class="textWhite">{{ .Locals.Registered }}</h2> <h2 class="textWhite">{{ .Locals.Registered }}</h2>
<div class="tableWrapper">
<table> <table>
<thead> <thead>
<tr class="tableHeading"> <tr class="tableHeading">
@ -80,5 +81,6 @@
{{end}} {{end}}
</tbody> </tbody>
</table> </table>
</div>
{{ end }} {{ end }}
{{end}} {{end}}