Improved forum frontpage

This commit is contained in:
2017-06-20 13:15:32 +02:00
parent 94608a0754
commit 009c73629f
6 changed files with 21 additions and 15 deletions

View File

@ -10,7 +10,7 @@ component AnimeListItem(viewUser *arn.User, item *arn.AnimeListItem, anime *arn.
InputTextArea("notes", item.Notes, "Notes", "Notes")
.actions
.buttons
a.ajax.button(href="/+" + viewUser.Nick + "/animelist")
Icon("list")
span View collection

View File

@ -3,7 +3,10 @@ component Forum(tag string, threads []*arn.Thread)
ForumTags
ThreadList(threads)
button#load-more-threads Load more
.buttons
button
Icon("refresh")
span Load more
component ThreadList(threads []*arn.Thread)
each thread in threads

View File

@ -1,7 +1,7 @@
.forum-tag
&.active
color white
background-color text-color
background-color link-hover-color
#load-more-threads
margin-top 1rem