Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
5faef9defc | |||
c983a1b19c | |||
615691e3c5 | |||
dc9a1b60f1 |
6 changed files with 21 additions and 0 deletions
|
@ -99,6 +99,10 @@ func GetAttendiesByEventPublicTable(c *fiber.Ctx) error {
|
|||
MessageID: "AfterParty",
|
||||
PluralCount: 1,
|
||||
}),
|
||||
"Event": localizer.MustLocalize(&i18n.LocalizeConfig{
|
||||
MessageID: "Event",
|
||||
PluralCount: 1,
|
||||
}),
|
||||
}
|
||||
return c.Render("app/views/index", fiber.Map{
|
||||
"EventName": *(event).Name,
|
||||
|
|
|
@ -41,4 +41,13 @@ tbody>tr:nth-child(odd) {
|
|||
|
||||
.tdred {
|
||||
background-color: #ff6e6e;
|
||||
}
|
||||
|
||||
.tableWrapper {
|
||||
overflow-x: auto;
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.tableWrapper table {
|
||||
transform: rotate(180deg);
|
||||
}
|
|
@ -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}}
|
|
@ -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}}
|
|
@ -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}}
|
|
@ -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}}
|
Loading…
Reference in a new issue