28 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-06-18 15:16:40 +00:00
component Settings(user *arn.User)
h2.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 14:17:38 +00:00
InputText("Accounts.AnimePlanet.Nick", user.Accounts.Kitsu.Nick, "Kitsu", "Your username on kitsu.io")
InputText("Accounts.AnimePlanet.Nick", user.Accounts.AnimePlanet.Nick, "AnimePlanet", "Your username on anime-planet.com")
.widget.mountable(data-api="/api/settings/" + user.ID)
h3.widget-title
Icon("cogs")
span Settings
InputText("TitleLanguage", user.Settings().TitleLanguage, "Title language", "Language of anime titles")