Added user registrations page

This commit is contained in:
2018-04-16 15:17:23 +02:00
parent b49496fe16
commit 802273b7c3
6 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,11 @@
component UserRegistrations(years []int, yearInfo map[int]utils.YearRegistrations)
AdminTabs
h1.page-title User registrations
for _, year := range years
h3.mountable= year
h4.mountable= strconv.Itoa(yearInfo[year].Total) + " registrations"
for month := 1; month <= 12; month++
p.mountable
strong= time.Month(month).String() + ": "
span= strconv.Itoa(yearInfo[year].Months[month])