Added text export

This commit is contained in:
2021-11-22 22:41:53 +09:00
parent 9f133ee752
commit 093385b153
6 changed files with 107 additions and 2 deletions

View File

@ -67,6 +67,12 @@ component SettingsAccounts(user *arn.User)
.widget-section
label JSON:
a.button(href="/api/animelist/" + user.ID, target="_blank")
a.button(href=user.Link() + "/animelist/export/json", target="_blank")
Icon("upload")
span Export anime list as JSON
span Export as JSON
.widget-section
label TXT:
a.button(href=user.Link() + "/animelist/export/text", target="_blank")
Icon("upload")
span Export as TXT