Compare commits
No commits in common. "main" and "v1.4.3" have entirely different histories.
5 changed files with 2 additions and 8 deletions
|
@ -9,6 +9,7 @@
|
|||
<body>
|
||||
<main>
|
||||
<h1 class="textWhite">{{.Title}}</h1>
|
||||
<div class="tableWrapper">
|
||||
{{ if eq .EventType "Suitwalk" }}
|
||||
{{template "suitwalk" .}}
|
||||
{{ else if eq .EventType "RegularsTable" }}
|
||||
|
@ -18,6 +19,7 @@
|
|||
{{ else if eq .EventType "SpecialEvent" }}
|
||||
{{ template "specialEvent" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
|
@ -1,7 +1,6 @@
|
|||
{{ define "regularstable" }}
|
||||
<h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1>
|
||||
<h2 class="textWhite">{{ .Locals.Registered }}</h2>
|
||||
<div class="tableWrapper">
|
||||
<table>
|
||||
<thead>
|
||||
<tr class="tableHeading">
|
||||
|
@ -47,5 +46,4 @@
|
|||
{{end}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{end}}
|
|
@ -1,7 +1,6 @@
|
|||
{{ define "specialEvent" }}
|
||||
<h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1>
|
||||
<h2 class="textWhite">{{ .Locals.Registered }}</h2>
|
||||
<div class="tableWrapper">
|
||||
<table>
|
||||
<thead>
|
||||
<tr class="tableHeading">
|
||||
|
@ -30,5 +29,4 @@
|
|||
{{end}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{end}}
|
|
@ -1,7 +1,6 @@
|
|||
{{define "specialEventRoles"}}
|
||||
<h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1>
|
||||
<h2 class="textWhite">{{ .Locals.Registered }}</h2>
|
||||
<div class="tableWrapper">
|
||||
<table>
|
||||
<thead>
|
||||
<tr class="tableHeading">
|
||||
|
@ -64,6 +63,5 @@
|
|||
{{end}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{end}}
|
||||
{{end}}
|
|
@ -1,7 +1,6 @@
|
|||
{{define "suitwalk"}}
|
||||
<h1 class="textWhite">{{ .EventName }} {{ .Locals.Attendie }}</h1>
|
||||
<h2 class="textWhite">{{ .Locals.Registered }}</h2>
|
||||
<div class="tableWrapper">
|
||||
<table>
|
||||
<thead>
|
||||
<tr class="tableHeading">
|
||||
|
@ -81,6 +80,5 @@
|
|||
{{end}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{end}}
|
Loading…
Reference in a new issue