22 lines
710 B
Plaintext
Raw Normal View History

2017-07-03 17:33:52 +00:00
component ImportAnilist(user *arn.User, matches []*arn.AniListMatch)
h1= "Preview: anilist.co (" + user.Accounts.AniList.Nick + ", " + fmt.Sprint(len(matches)) + " anime)"
2017-11-20 08:39:47 +00:00
ImportButton("/import/anilist/animelist/finish")
2017-07-03 17:33:52 +00:00
2017-07-04 14:24:46 +00:00
table.import-list
2017-07-03 17:33:52 +00:00
thead
tr
th anilist.co
th notify.moe
tbody
each match in matches
tr
td
2018-04-05 20:36:59 +00:00
a(href=match.AniListItem.Anime.Link(), target="_blank", rel="noopener")= match.AniListItem.Anime.Title.Romaji
2017-07-03 17:33:52 +00:00
td
if match.ARNAnime == nil
span.import-error Not found on notify.moe
else
a(href=match.ARNAnime.Link(), target="_blank", rel="noopener")= match.ARNAnime.Title.Canonical
2017-07-04 22:40:03 +00:00
2017-11-20 08:39:47 +00:00
ImportButton("/import/anilist/animelist/finish")