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>
|
<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" }}
|
||||||
|
@ -18,6 +19,7 @@
|
||||||
{{ else if eq .EventType "SpecialEvent" }}
|
{{ else if eq .EventType "SpecialEvent" }}
|
||||||
{{ template "specialEvent" . }}
|
{{ template "specialEvent" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -1,7 +1,6 @@
|
||||||
{{ 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">
|
||||||
|
@ -47,5 +46,4 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
{{end}}
|
{{end}}
|
|
@ -1,7 +1,6 @@
|
||||||
{{ 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">
|
||||||
|
@ -30,5 +29,4 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
{{end}}
|
{{end}}
|
|
@ -1,7 +1,6 @@
|
||||||
{{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">
|
||||||
|
@ -64,6 +63,5 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
|
@ -1,7 +1,6 @@
|
||||||
{{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">
|
||||||
|
@ -81,6 +80,5 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{end}}
|
{{end}}
|
Loading…
Reference in a new issue