Create new thread
This commit is contained in:
@ -4,8 +4,12 @@ component Forum(tag string, threads []*arn.Thread, threadsPerPage int)
|
||||
.forum
|
||||
ThreadList(threads)
|
||||
|
||||
if len(threads) == threadsPerPage
|
||||
.buttons
|
||||
|
||||
.buttons
|
||||
button#new-thread.action(data-action="load", data-trigger="click", data-url="/new/thread")
|
||||
Icon("plus")
|
||||
span New thread
|
||||
if len(threads) == threadsPerPage
|
||||
button
|
||||
Icon("refresh")
|
||||
span Load more
|
||||
|
@ -29,5 +29,8 @@
|
||||
.forum-tag-text
|
||||
display none
|
||||
|
||||
#load-more-threads
|
||||
margin-top 1rem
|
||||
> 1250px
|
||||
#new-thread
|
||||
position fixed
|
||||
right content-padding
|
||||
bottom content-padding
|
||||
|
Reference in New Issue
Block a user