86 lines
2.5 KiB
Plaintext
Raw Normal View History

2017-06-18 15:16:40 +00:00
component Settings(user *arn.User)
2017-07-06 20:23:32 +00:00
h1.page-title Settings
2017-06-24 14:17:38 +00:00
.widgets
.widget.mountable(data-api="/api/user/" + user.ID)
2017-06-18 18:22:43 +00:00
h3.widget-title
Icon("user")
span Personal
2017-06-21 12:00:52 +00:00
InputText("Nick", user.Nick, "Username", "Your username on notify.moe")
InputText("Tagline", user.Tagline, "Tagline", "Text that appears below your username")
InputText("Website", user.Website, "Website", "Your homepage")
2017-06-18 18:22:43 +00:00
2017-06-24 14:17:38 +00:00
.widget.mountable(data-api="/api/user/" + user.ID)
2017-06-18 18:22:43 +00:00
h3.widget-title
Icon("cubes")
span Accounts
2017-06-21 12:00:52 +00:00
InputText("Accounts.AniList.Nick", user.Accounts.AniList.Nick, "AniList", "Your username on anilist.co")
InputText("Accounts.MyAnimeList.Nick", user.Accounts.MyAnimeList.Nick, "MyAnimeList", "Your username on myanimelist.net")
2017-06-24 21:05:07 +00:00
InputText("Accounts.Kitsu.Nick", user.Accounts.Kitsu.Nick, "Kitsu", "Your username on kitsu.io")
2017-07-02 14:24:26 +00:00
InputText("Accounts.Osu.Nick", user.Accounts.Osu.Nick, "Osu", "Your username on osu.ppy.sh")
2017-07-07 21:06:39 +00:00
//- InputText("Accounts.AnimePlanet.Nick", user.Accounts.AnimePlanet.Nick, "AnimePlanet", "Your username on anime-planet.com")
2017-06-24 14:17:38 +00:00
2017-07-02 21:42:46 +00:00
.widget.mountable
h3.widget-title
Icon("user-plus")
span Connect
.widget-input.social-account
label(for="google") Google:
a#google.button.social-account-button(href="/auth/google")
if user.Accounts.Google.ID != ""
Icon("check")
span Connected
else
Icon("circle-o")
span Not connected
.widget-input.social-account
label(for="facebook") Facebook:
a#facebook.button.social-account-button(href="/auth/facebook")
if user.Accounts.Facebook.ID != ""
Icon("check")
span Connected
else
Icon("circle-o")
span Not connected
2017-07-03 17:33:52 +00:00
2017-07-10 21:37:57 +00:00
.widget.mountable
h3.widget-title
Icon("puzzle-piece")
span Extensions
.widget-input
label Chrome Extension:
button.action(data-action="installExtension", data-trigger="click")
Icon("chrome")
span Get the Chrome Extension
2017-07-03 17:33:52 +00:00
.widget.mountable
h3.widget-title
2017-07-09 02:22:14 +00:00
Icon("download")
2017-07-03 17:33:52 +00:00
span Import
ImportLists(user)
2017-07-02 21:42:46 +00:00
2017-07-05 02:10:19 +00:00
.widget.mountable
h3.widget-title
2017-07-10 21:37:57 +00:00
Icon("upload")
span Export
2017-07-05 02:10:19 +00:00
2017-07-09 02:22:14 +00:00
.widget-input
2017-07-10 21:37:57 +00:00
label JSON:
a.button(href="/api/animelist/" + user.ID)
Icon("upload")
span Export anime list as JSON
2017-07-05 02:10:19 +00:00
2017-06-24 14:31:54 +00:00
//- .widget.mountable(data-api="/api/settings/" + user.ID)
//- h3.widget-title
//- Icon("cogs")
//- span Settings
2017-06-24 14:17:38 +00:00
2017-06-24 14:31:54 +00:00
//- InputText("TitleLanguage", user.Settings().TitleLanguage, "Title language", "Language of anime titles")