2018-10-31 10:54:25 +00:00
|
|
|
component SettingsExtras(user *arn.User)
|
2018-10-26 02:13:03 +00:00
|
|
|
SettingsTabs
|
|
|
|
|
2018-10-31 10:54:25 +00:00
|
|
|
h1.page-title Extra settings
|
2018-10-26 02:13:03 +00:00
|
|
|
|
|
|
|
.settings
|
|
|
|
.widget.mountable(data-api="/api/settings/" + user.ID)
|
|
|
|
h3.widget-title
|
|
|
|
Icon("star")
|
|
|
|
span PRO
|
|
|
|
|
|
|
|
if user.IsPro()
|
|
|
|
.widget-section
|
|
|
|
label
|
|
|
|
span Your PRO account expires in
|
|
|
|
span.utc-date(data-date=user.ProExpires)
|
|
|
|
span .
|
|
|
|
a.button(href="/shop")
|
|
|
|
Icon("star")
|
|
|
|
span Extend PRO account duration
|
|
|
|
else
|
|
|
|
.widget-section
|
|
|
|
label Would you like to make this website more awesome?
|
|
|
|
a.button(href="/support")
|
|
|
|
Icon("star")
|
2018-10-31 10:54:25 +00:00
|
|
|
span Go PRO
|
|
|
|
|
|
|
|
.widget.mountable(data-api="/api/settings/" + user.ID)
|
|
|
|
h3.widget-title
|
|
|
|
Icon("code")
|
|
|
|
span Developer
|
|
|
|
|
|
|
|
.widget-section
|
|
|
|
label API:
|
|
|
|
a.button(href="/api")
|
|
|
|
Icon("code")
|
|
|
|
span API
|
|
|
|
|
|
|
|
.widget-section
|
|
|
|
label GitHub:
|
|
|
|
a.button(href="https://github.com/animenotifier/notify.moe")
|
|
|
|
Icon("github")
|
|
|
|
span GitHub
|