2017-12-03 19:34:09 +01:00
|
|
|
component BrowserExtension(watchingList *arn.AnimeList, viewUser *arn.User, user *arn.User)
|
2018-03-14 16:15:35 +01:00
|
|
|
AnimeList(watchingList.Items, -1, viewUser, user)
|
2017-12-03 19:34:09 +01:00
|
|
|
|
2018-03-09 12:50:01 +01:00
|
|
|
component ExtensionNavigation(user *arn.User)
|
2017-12-03 19:34:09 +01:00
|
|
|
nav.extension-navigation
|
|
|
|
button.action(data-trigger="click", data-action="toggleSidebar")
|
2018-03-09 12:50:01 +01:00
|
|
|
RawIcon("bars")
|
|
|
|
|
2018-03-14 20:13:20 +01:00
|
|
|
if user != nil && !user.IsPro()
|
2018-03-09 12:50:01 +01:00
|
|
|
.spacer
|
|
|
|
|
|
|
|
a.button(href="/support", target="_blank")
|
2018-11-15 12:42:10 +09: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
|