Improved auth and logging

This commit is contained in:
2017-06-15 15:50:39 +02:00
parent a6a3609ab7
commit c858a58123
7 changed files with 73 additions and 39 deletions

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

@ -1,20 +1,3 @@
component Forums
h2.forum-header Forum
ForumTags
component ForumTags
.forum-tags.light-button-group
ForumCategory("All", "")
ForumCategory("General", "/general")
ForumCategory("News", "/news")
ForumCategory("Anime", "/anime")
ForumCategory("Updates", "/update")
ForumCategory("Suggestions", "/suggestion")
ForumCategory("Bugs", "/bug")
component ForumCategory(title string, suffix string)
a.light-button.ajax(href="/forum" + suffix)= title
//- a.grid-cell.ajax(href="/forum/" + category)
//- .grid-text
//- GridIcon(arn.GetForumIcon(category))
//- span= title
ForumTags

@ -1,6 +1,6 @@
component Profile(viewUser *arn.User, user *arn.User, animeList *arn.AnimeList, threads []*arn.Thread)
.profile
img.profile-cover(src=viewUser.CoverImageURL())
img.profile-cover(src=viewUser.CoverImageURL(), alt="Cover image")
.image-container
ProfileImage(viewUser)