Changed forum-tags to tabs
This commit is contained in:
@ -6,29 +6,6 @@
|
||||
width 100%
|
||||
max-width forum-width
|
||||
|
||||
.forum-tag
|
||||
color text-color !important
|
||||
|
||||
:hover,
|
||||
&.active
|
||||
color white !important
|
||||
background-color forum-tag-hover-color !important
|
||||
|
||||
// color text-color !important
|
||||
// :hover
|
||||
// color white !important
|
||||
// &.active
|
||||
// color white !important
|
||||
// background-color link-hover-color
|
||||
|
||||
< 920px
|
||||
.forum-tag
|
||||
.icon
|
||||
margin-right 0
|
||||
|
||||
.forum-tag-text
|
||||
display none
|
||||
|
||||
> 1250px
|
||||
#new-thread
|
||||
position fixed
|
||||
|
@ -36,27 +36,27 @@ func Profile(ctx *aero.Context, viewUser *arn.User) string {
|
||||
}, func() {
|
||||
animeList = viewUser.AnimeList()
|
||||
}, func() {
|
||||
threads = viewUser.Threads()
|
||||
// threads = viewUser.Threads()
|
||||
|
||||
arn.SortThreadsLatestFirst(threads)
|
||||
// arn.SortThreadsLatestFirst(threads)
|
||||
|
||||
if len(threads) > maxPosts {
|
||||
threads = threads[:maxPosts]
|
||||
}
|
||||
// if len(threads) > maxPosts {
|
||||
// threads = threads[:maxPosts]
|
||||
// }
|
||||
}, func() {
|
||||
posts = viewUser.Posts()
|
||||
arn.SortPostsLatestFirst(posts)
|
||||
// posts = viewUser.Posts()
|
||||
// arn.SortPostsLatestFirst(posts)
|
||||
|
||||
if len(posts) > maxPosts {
|
||||
posts = posts[:maxPosts]
|
||||
}
|
||||
// if len(posts) > maxPosts {
|
||||
// posts = posts[:maxPosts]
|
||||
// }
|
||||
}, func() {
|
||||
tracks = viewUser.SoundTracks()
|
||||
arn.SortSoundTracksLatestFirst(tracks)
|
||||
// tracks = viewUser.SoundTracks()
|
||||
// arn.SortSoundTracksLatestFirst(tracks)
|
||||
|
||||
if len(tracks) > maxTracks {
|
||||
tracks = tracks[:maxTracks]
|
||||
}
|
||||
// if len(tracks) > maxTracks {
|
||||
// tracks = tracks[:maxTracks]
|
||||
// }
|
||||
})
|
||||
|
||||
return ctx.HTML(components.Profile(viewUser, user, animeList, threads, posts, tracks))
|
||||
|
Reference in New Issue
Block a user