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

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}}