78 lines
1.8 KiB
Plaintext
78 lines
1.8 KiB
Plaintext
component Dashboard(posts []*arn.Post)
|
|
h2.page-title Dash
|
|
|
|
.dashboard
|
|
.dashboard-widget
|
|
h3 Schedule
|
|
|
|
for i := 1; i <= 5; i++
|
|
.dashboard-event
|
|
.dashboard-event-text
|
|
Icon("calendar-o")
|
|
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
|
|
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", target="_blank", rel="noopener")
|
|
.dashboard-event-text
|
|
Icon("microphone")
|
|
span Discord
|
|
|
|
a.dashboard-event(href="https://www.facebook.com/animenotifier", target="_blank", rel="noopener")
|
|
.dashboard-event-text
|
|
Icon("facebook")
|
|
span Facebook
|
|
|
|
a.dashboard-event(href="https://twitter.com/animenotifier", target="_blank", rel="noopener")
|
|
.dashboard-event-text
|
|
Icon("twitter")
|
|
span Twitter
|
|
|
|
a.dashboard-event(href="https://plus.google.com/+AnimeReleaseNotifierOfficial", target="_blank", rel="noopener")
|
|
.dashboard-event-text
|
|
Icon("google-plus")
|
|
span Google+
|
|
|
|
a.dashboard-event(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener")
|
|
.dashboard-event-text
|
|
Icon("github")
|
|
span GitHub |