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",
|
MessageID: "AfterParty",
|
||||||
PluralCount: 1,
|
PluralCount: 1,
|
||||||
}),
|
}),
|
||||||
|
"Event": localizer.MustLocalize(&i18n.LocalizeConfig{
|
||||||
|
MessageID: "Event",
|
||||||
|
PluralCount: 1,
|
||||||
|
}),
|
||||||
}
|
}
|
||||||
return c.Render("app/views/index", fiber.Map{
|
return c.Render("app/views/index", fiber.Map{
|
||||||
"EventName": *(event).Name,
|
"EventName": *(event).Name,
|
||||||
|
|
|
@ -41,4 +41,13 @@ tbody>tr:nth-child(odd) {
|
||||||
|
|
||||||
.tdred {
|
.tdred {
|
||||||
background-color: #ff6e6e;
|
background-color: #ff6e6e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tableWrapper {
|
||||||
|
overflow-x: auto;
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tableWrapper table {
|
||||||
|
transform: rotate(180deg);
|
||||||
}
|
}
|
|
@ -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}}
|
|
@ -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}}
|
|
@ -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}}
|
|
@ -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}}
|
Loading…
Reference in a new issue