New dashboard idea (still not happy though)

This commit is contained in:
2016-11-22 12:34:59 +09:00
parent 4159525c25
commit 80506aa92e
18 changed files with 192 additions and 79 deletions

View File

@ -1,4 +1,12 @@
component Dashboard
component Dashboard(posts []*arn.Post)
section
header
h2 Dash
h2 Dash
.dashboard-widget
each post in posts
a.dashboard-event.ui.ajax(href=post.Link())
.dashboard-event-author
AvatarNoLink(post.Author())
.dashboard-event-text
span= post.Thread().Title