Added export option

This commit is contained in:
Eduard Urbach 2017-07-10 23:37:57 +02:00
parent bc83e93970
commit 65ca0466e0

View File

@ -49,13 +49,6 @@ component Settings(user *arn.User)
Icon("circle-o")
span Not connected
.widget.mountable
h3.widget-title
Icon("download")
span Import
ImportLists(user)
.widget.mountable
h3.widget-title
Icon("puzzle-piece")
@ -67,6 +60,24 @@ component Settings(user *arn.User)
Icon("chrome")
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)
//- h3.widget-title
//- Icon("cogs")