Improved tabs
This commit is contained in:
parent
2945954dd1
commit
6329b7026d
@ -17,11 +17,11 @@ component StatisticsHeader
|
|||||||
.buttons.tabs
|
.buttons.tabs
|
||||||
a.button.tab.action(href="/statistics", data-action="diff", data-trigger="click")
|
a.button.tab.action(href="/statistics", data-action="diff", data-trigger="click")
|
||||||
Icon("user")
|
Icon("user")
|
||||||
span Users
|
span.tab-text Users
|
||||||
|
|
||||||
a.button.tab.action(href="/statistics/anime", data-action="diff", data-trigger="click")
|
a.button.tab.action(href="/statistics/anime", data-action="diff", data-trigger="click")
|
||||||
Icon("tv")
|
Icon("tv")
|
||||||
span Anime
|
span.tab-text Anime
|
||||||
|
|
||||||
component PieChart(slices []*arn.PieChartSlice)
|
component PieChart(slices []*arn.PieChartSlice)
|
||||||
svg.pie-chart(viewBox="-1.1 -1.1 2.2 2.2")
|
svg.pie-chart(viewBox="-1.1 -1.1 2.2 2.2")
|
||||||
|
@ -4,19 +4,19 @@ component Users(users []*arn.User)
|
|||||||
.buttons.tabs
|
.buttons.tabs
|
||||||
a.button.tab.action(href="/users", data-action="diff", data-trigger="click")
|
a.button.tab.action(href="/users", data-action="diff", data-trigger="click")
|
||||||
Icon("users")
|
Icon("users")
|
||||||
span Active
|
span.tab-text Active
|
||||||
|
|
||||||
a.button.tab.action(href="/users/anime/watching", data-action="diff", data-trigger="click")
|
a.button.tab.action(href="/users/anime/watching", data-action="diff", data-trigger="click")
|
||||||
Icon("tv")
|
Icon("tv")
|
||||||
span Watching
|
span.tab-text Watching
|
||||||
|
|
||||||
a.button.tab.action(href="/users/osu", data-action="diff", data-trigger="click")
|
a.button.tab.action(href="/users/osu", data-action="diff", data-trigger="click")
|
||||||
Icon("gamepad")
|
Icon("gamepad")
|
||||||
span Osu
|
span.tab-text Osu
|
||||||
|
|
||||||
a.button.tab.action(href="/users/staff", data-action="diff", data-trigger="click")
|
a.button.tab.action(href="/users/staff", data-action="diff", data-trigger="click")
|
||||||
Icon("user-secret")
|
Icon("user-secret")
|
||||||
span Staff
|
span.tab-text Staff
|
||||||
|
|
||||||
.user-avatars
|
.user-avatars
|
||||||
each user in users
|
each user in users
|
||||||
|
Loading…
Reference in New Issue
Block a user