2016-11-22 03:34:59 +00:00
|
|
|
component Dashboard(posts []*arn.Post)
|
2017-06-07 23:14:45 +00:00
|
|
|
h2.page-title Dash
|
2016-11-22 03:34:59 +00:00
|
|
|
|
2017-06-18 18:22:43 +00:00
|
|
|
.widgets
|
2017-06-20 18:13:04 +00:00
|
|
|
.widget.mountable
|
2017-06-18 18:22:43 +00:00
|
|
|
h3.widget-title Schedule
|
2016-12-06 03:36:31 +00:00
|
|
|
|
|
|
|
for i := 1; i <= 5; i++
|
2017-06-18 18:22:43 +00:00
|
|
|
.widget-element
|
|
|
|
.widget-element-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon("calendar-o")
|
2016-12-06 03:36:31 +00:00
|
|
|
span ...
|
|
|
|
|
2017-06-20 18:13:04 +00:00
|
|
|
.widget.mountable
|
2017-06-18 18:22:43 +00:00
|
|
|
h3.widget-title Forums
|
2016-12-06 03:36:31 +00:00
|
|
|
|
|
|
|
each post in posts
|
2017-06-18 18:22:43 +00:00
|
|
|
a.widget-element.ajax(href=post.Link())
|
|
|
|
.widget-element-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon(arn.GetForumIcon(post.Thread().Tags[0]))
|
|
|
|
span= post.Thread().Title
|
|
|
|
|
2017-06-20 18:13:04 +00:00
|
|
|
.widget.mountable
|
2017-06-18 18:22:43 +00:00
|
|
|
h3.widget-title Groups
|
2016-12-06 10:43:43 +00:00
|
|
|
|
|
|
|
for i := 1; i <= 5; i++
|
2017-06-18 18:22:43 +00:00
|
|
|
.widget-element
|
|
|
|
.widget-element-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon("group")
|
|
|
|
span ...
|
|
|
|
|
2017-06-20 18:13:04 +00:00
|
|
|
.widget.mountable
|
2017-06-18 18:22:43 +00:00
|
|
|
h3.widget-title Messages
|
2016-12-06 10:43:43 +00:00
|
|
|
|
|
|
|
for i := 1; i <= 5; i++
|
2017-06-18 18:22:43 +00:00
|
|
|
.widget-element
|
|
|
|
.widget-element-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon("comment")
|
|
|
|
span ...
|
|
|
|
|
2017-06-20 18:13:04 +00:00
|
|
|
.widget.mountable
|
2017-06-18 18:22:43 +00:00
|
|
|
h3.widget-title Contacts
|
2016-12-06 10:43:43 +00:00
|
|
|
|
|
|
|
for i := 1; i <= 5; i++
|
2017-06-18 18:22:43 +00:00
|
|
|
.widget-element
|
|
|
|
.widget-element-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon("address-card")
|
|
|
|
span ...
|
|
|
|
|
2017-06-20 18:13:04 +00:00
|
|
|
.widget.mountable
|
2017-06-18 18:22:43 +00:00
|
|
|
h3.widget-title Follow
|
2016-12-06 10:43:43 +00:00
|
|
|
|
2017-06-18 18:22:43 +00:00
|
|
|
a.widget-element(href="https://discord.gg/0kimAmMCeXGXuzNF", target="_blank", rel="noopener")
|
|
|
|
.widget-element-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon("microphone")
|
|
|
|
span Discord
|
|
|
|
|
2017-06-18 18:22:43 +00:00
|
|
|
a.widget-element(href="https://www.facebook.com/animenotifier", target="_blank", rel="noopener")
|
|
|
|
.widget-element-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon("facebook")
|
|
|
|
span Facebook
|
|
|
|
|
2017-06-18 18:22:43 +00:00
|
|
|
a.widget-element(href="https://twitter.com/animenotifier", target="_blank", rel="noopener")
|
|
|
|
.widget-element-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon("twitter")
|
|
|
|
span Twitter
|
|
|
|
|
2017-06-18 18:22:43 +00:00
|
|
|
a.widget-element(href="https://plus.google.com/+AnimeReleaseNotifierOfficial", target="_blank", rel="noopener")
|
|
|
|
.widget-element-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon("google-plus")
|
|
|
|
span Google+
|
|
|
|
|
2017-06-18 18:22:43 +00:00
|
|
|
a.widget-element(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener")
|
|
|
|
.widget-element-text
|
2016-12-06 10:43:43 +00:00
|
|
|
Icon("github")
|
|
|
|
span GitHub
|