2016-11-22 03:34:59 +00:00
|
|
|
component Dashboard(posts []*arn.Post)
|
2016-11-28 16:06:00 +00:00
|
|
|
h2 Dash
|
2016-11-22 03:34:59 +00:00
|
|
|
|
2016-12-06 03:36:31 +00:00
|
|
|
.dashboard
|
|
|
|
.dashboard-widget
|
2016-12-06 10:43:43 +00:00
|
|
|
h3 Schedule
|
2016-12-06 03:36:31 +00:00
|
|
|
|
|
|
|
for i := 1; i <= 5; i++
|
2016-12-06 10:43:43 +00:00
|
|
|
.dashboard-event
|
2016-12-06 03:36:31 +00:00
|
|
|
.dashboard-event-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon("calendar-o")
|
2016-12-06 03:36:31 +00:00
|
|
|
span ...
|
|
|
|
|
|
|
|
.dashboard-widget
|
|
|
|
h3 Forums
|
|
|
|
|
|
|
|
each post in posts
|
|
|
|
a.dashboard-event.ajax(href=post.Link())
|
|
|
|
//- .dashboard-event-author
|
|
|
|
//- AvatarNoLink(post.Author())
|
|
|
|
.dashboard-event-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon(arn.GetForumIcon(post.Thread().Tags[0]))
|
|
|
|
span= post.Thread().Title
|
|
|
|
|
|
|
|
.dashboard-widget
|
|
|
|
h3 Groups
|
|
|
|
|
|
|
|
for i := 1; i <= 5; i++
|
|
|
|
.dashboard-event
|
|
|
|
.dashboard-event-text
|
|
|
|
Icon("group")
|
|
|
|
span ...
|
|
|
|
|
|
|
|
.dashboard-widget
|
|
|
|
h3 Messages
|
|
|
|
|
|
|
|
for i := 1; i <= 5; i++
|
|
|
|
.dashboard-event
|
|
|
|
.dashboard-event-text
|
|
|
|
Icon("comment")
|
|
|
|
span ...
|
|
|
|
|
|
|
|
.dashboard-widget
|
|
|
|
h3 Contacts
|
|
|
|
|
|
|
|
for i := 1; i <= 5; i++
|
|
|
|
.dashboard-event
|
|
|
|
.dashboard-event-text
|
|
|
|
Icon("address-card")
|
|
|
|
span ...
|
|
|
|
|
|
|
|
.dashboard-widget
|
|
|
|
h3 Follow
|
|
|
|
|
|
|
|
a.dashboard-event(href="https://discord.gg/0kimAmMCeXGXuzNF")
|
|
|
|
.dashboard-event-text
|
|
|
|
Icon("microphone")
|
|
|
|
span Discord
|
|
|
|
|
|
|
|
a.dashboard-event(href="https://www.facebook.com/animenotifier")
|
|
|
|
.dashboard-event-text
|
|
|
|
Icon("facebook")
|
|
|
|
span Facebook
|
|
|
|
|
|
|
|
a.dashboard-event(href="https://twitter.com/animenotifier")
|
|
|
|
.dashboard-event-text
|
|
|
|
Icon("twitter")
|
|
|
|
span Twitter
|
|
|
|
|
|
|
|
a.dashboard-event(href="https://plus.google.com/+AnimeReleaseNotifierOfficial")
|
|
|
|
.dashboard-event-text
|
|
|
|
Icon("google-plus")
|
|
|
|
span Google+
|
|
|
|
|
|
|
|
a.dashboard-event(href="https://github.com/animenotifier/notify.moe")
|
|
|
|
.dashboard-event-text
|
|
|
|
Icon("github")
|
|
|
|
span GitHub
|