Added export option
This commit is contained in:
parent
bc83e93970
commit
65ca0466e0
@ -49,13 +49,6 @@ component Settings(user *arn.User)
|
|||||||
Icon("circle-o")
|
Icon("circle-o")
|
||||||
span Not connected
|
span Not connected
|
||||||
|
|
||||||
.widget.mountable
|
|
||||||
h3.widget-title
|
|
||||||
Icon("download")
|
|
||||||
span Import
|
|
||||||
|
|
||||||
ImportLists(user)
|
|
||||||
|
|
||||||
.widget.mountable
|
.widget.mountable
|
||||||
h3.widget-title
|
h3.widget-title
|
||||||
Icon("puzzle-piece")
|
Icon("puzzle-piece")
|
||||||
@ -67,6 +60,24 @@ component Settings(user *arn.User)
|
|||||||
Icon("chrome")
|
Icon("chrome")
|
||||||
span Get the Chrome Extension
|
span Get the Chrome Extension
|
||||||
|
|
||||||
|
.widget.mountable
|
||||||
|
h3.widget-title
|
||||||
|
Icon("download")
|
||||||
|
span Import
|
||||||
|
|
||||||
|
ImportLists(user)
|
||||||
|
|
||||||
|
.widget.mountable
|
||||||
|
h3.widget-title
|
||||||
|
Icon("upload")
|
||||||
|
span Export
|
||||||
|
|
||||||
|
.widget-input
|
||||||
|
label JSON:
|
||||||
|
a.button(href="/api/animelist/" + user.ID)
|
||||||
|
Icon("upload")
|
||||||
|
span Export anime list as JSON
|
||||||
|
|
||||||
//- .widget.mountable(data-api="/api/settings/" + user.ID)
|
//- .widget.mountable(data-api="/api/settings/" + user.ID)
|
||||||
//- h3.widget-title
|
//- h3.widget-title
|
||||||
//- Icon("cogs")
|
//- Icon("cogs")
|
||||||
|
Loading…
Reference in New Issue
Block a user