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
|
2018-11-06 09:28:50 +00:00
|
|
|
//- Apps
|
|
|
|
.widget.mountable
|
|
|
|
h3.widget-title
|
|
|
|
Icon("puzzle-piece")
|
|
|
|
span Apps
|
|
|
|
|
|
|
|
.widget-section
|
|
|
|
label Chrome Extension:
|
2018-11-17 15:45:30 +00:00
|
|
|
a.button(href="https://chrome.google.com/webstore/detail/anime-notifier/hajchfikckiofgilinkpifobdbiajfch", target="_blank", rel="noopener")
|
2018-11-06 09:28:50 +00:00
|
|
|
Icon("chrome")
|
|
|
|
span Get the Chrome Extension
|
|
|
|
|
|
|
|
.widget-section
|
|
|
|
label Firefox Extension:
|
2018-11-17 15:45:30 +00:00
|
|
|
a.button(href="https://addons.mozilla.org/en-US/firefox/addon/anime-notifier/", target="_blank", rel="noopener")
|
2018-11-06 09:28:50 +00:00
|
|
|
Icon("firefox")
|
|
|
|
span Get the Firefox Extension
|
|
|
|
|
|
|
|
.widget-section
|
|
|
|
label Android Web App:
|
|
|
|
a.button(href="https://www.youtube.com/watch?v=opyt4cw0ep8", target="_blank", rel="noopener")
|
|
|
|
Icon("android")
|
|
|
|
span Get the Android Web App
|
|
|
|
|
|
|
|
.widget-section
|
|
|
|
label Desktop Web App:
|
|
|
|
button.action(data-action="installApp", data-trigger="click")
|
|
|
|
Icon("desktop")
|
|
|
|
span Get the Desktop Web App
|
|
|
|
|
|
|
|
//- Developer
|
|
|
|
.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
|
2024-03-12 10:34:38 +00:00
|
|
|
label Git:
|
|
|
|
a.button(href="https://git.akyoto.dev/web/notify.moe")
|
2018-11-06 09:28:50 +00:00
|
|
|
Icon("github")
|
2024-03-12 10:34:38 +00:00
|
|
|
span Git
|
2018-11-06 09:28:50 +00:00
|
|
|
|
|
|
|
//- PRO
|
2018-10-26 02:13:03 +00:00
|
|
|
.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
|
2021-11-23 12:57:43 +00:00
|
|
|
time.utc-date(datetime=user.ProExpires)
|
2018-10-26 02:13:03 +00:00
|
|
|
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")
|
2021-11-23 12:57:43 +00:00
|
|
|
span Go PRO
|