Slightly improved registrations view
This commit is contained in:
parent
b951667421
commit
7095bd544f
@ -5,7 +5,11 @@ component UserRegistrations(total int, years []int, yearInfo map[int]utils.YearR
|
|||||||
for _, year := range years
|
for _, year := range years
|
||||||
h3.mountable= year
|
h3.mountable= year
|
||||||
h4.mountable= strconv.Itoa(yearInfo[year].Total) + " registrations"
|
h4.mountable= strconv.Itoa(yearInfo[year].Total) + " registrations"
|
||||||
for month := 1; month <= 12; month++
|
|
||||||
p.mountable
|
.feature-cards
|
||||||
strong= time.Month(month).String() + ": "
|
for month := 1; month <= 12; month++
|
||||||
span= strconv.Itoa(yearInfo[year].Months[month])
|
.feature-card.mountable
|
||||||
|
.feature-card-title= time.Month(month).String()
|
||||||
|
.feature-card-text= strconv.Itoa(yearInfo[year].Months[month])
|
||||||
|
|
||||||
|
hr
|
5
pages/admin/registrations.scarlet
Normal file
5
pages/admin/registrations.scarlet
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.feature-card-title
|
||||||
|
feature-card-component
|
||||||
|
font-size 1.5rem
|
||||||
|
background feature-card-color
|
||||||
|
color feature-card-icon-color
|
@ -26,8 +26,7 @@ mixin feature-card
|
|||||||
.feature-card
|
.feature-card
|
||||||
feature-card
|
feature-card
|
||||||
|
|
||||||
.feature-card-icon,
|
mixin feature-card-component
|
||||||
.feature-card-text
|
|
||||||
horizontal
|
horizontal
|
||||||
justify-content center
|
justify-content center
|
||||||
align-items center
|
align-items center
|
||||||
@ -35,6 +34,10 @@ mixin feature-card
|
|||||||
padding 1rem
|
padding 1rem
|
||||||
margin 0
|
margin 0
|
||||||
|
|
||||||
|
.feature-card-icon,
|
||||||
|
.feature-card-text
|
||||||
|
feature-card-component
|
||||||
|
|
||||||
.feature-card-icon
|
.feature-card-icon
|
||||||
font-size 3rem
|
font-size 3rem
|
||||||
background feature-card-color
|
background feature-card-color
|
||||||
|
Loading…
Reference in New Issue
Block a user