Improved importer

This commit is contained in:
2017-11-20 09:39:47 +01:00
parent 1f445feee4
commit 9fa9ccbe89
6 changed files with 24 additions and 16 deletions

View File

@ -1,5 +1,7 @@
component ImportKitsu(user *arn.User, matches []*arn.KitsuMatch)
h1= "kitsu.io Import (" + user.Accounts.Kitsu.Nick + ", " + toString(len(matches)) + " anime)"
h1= "Preview: kitsu.io (" + user.Accounts.Kitsu.Nick + ", " + toString(len(matches)) + " anime)"
ImportButton("/import/kitsu/animelist/finish")
table.import-list
thead
@ -17,7 +19,4 @@ component ImportKitsu(user *arn.User, matches []*arn.KitsuMatch)
else
a(href=match.ARNAnime.Link(), target="_blank", rel="noopener")= match.ARNAnime.Title.Canonical
.buttons
a.button.mountable(href="/import/kitsu/animelist/finish")
Icon("refresh")
span Import
ImportButton("/import/kitsu/animelist/finish")