Compare commits

..

1 commit
v1.4.3 ... 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
5 changed files with 8 additions and 2 deletions

View file

@ -9,7 +9,6 @@
<body>
<main>
<h1 class="textWhite">{{.Title}}</h1>
<div class="tableWrapper">
{{ if eq .EventType "Suitwalk" }}
{{template "suitwalk" .}}
{{ else if eq .EventType "RegularsTable" }}
@ -19,7 +18,6 @@
{{ else if eq .EventType "SpecialEvent" }}
{{ template "specialEvent" . }}
{{ end }}
</div>
</main>
</body>
</html>

View file

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

View file

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

View file

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

View file

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