2017-12-03 18:34:09 +00:00
|
|
|
component BrowserExtension(watchingList *arn.AnimeList, viewUser *arn.User, user *arn.User)
|
2018-03-14 15:15:35 +00:00
|
|
|
AnimeList(watchingList.Items, -1, viewUser, user)
|
2017-12-03 18:34:09 +00:00
|
|
|
|
2018-03-09 11:50:01 +00:00
|
|
|
component ExtensionNavigation(user *arn.User)
|
2017-12-03 18:34:09 +00:00
|
|
|
nav.extension-navigation
|
|
|
|
button.action(data-trigger="click", data-action="toggleSidebar")
|
2018-03-09 11:50:01 +00:00
|
|
|
RawIcon("bars")
|
|
|
|
|
2018-03-14 19:13:20 +00:00
|
|
|
if user != nil && !user.IsPro()
|
2018-03-09 11:50:01 +00:00
|
|
|
.spacer
|
|
|
|
|
|
|
|
a.button(href="/support", target="_blank")
|
2018-11-15 03:42:10 +00:00
|
|
|
RawIcon("heart")
|
|
|
|
|
|
|
|
component ExtensionEnterBasicInfo
|
|
|
|
h1.mountable Welcome!
|
|
|
|
p.welcome-text.mountable Please complete some basic information about your profile.
|
|
|
|
|
|
|
|
.buttons.mountable
|
|
|
|
a.button(href="/welcome", target="_blank")
|
|
|
|
Icon("pencil")
|
|
|
|
span Complete profile
|