Started working on Kitsu import

This commit is contained in:
2018-03-18 21:41:13 +01:00
parent 180c5b475b
commit 771e6b026c
4 changed files with 43 additions and 1 deletions

View File

@ -13,6 +13,7 @@ component NewKitsuAnime(animes []*kitsu.Anime, url string, user *arn.User)
th Title
th Type
th Year
th Actions
tbody
each anime in animes
tr.mountable
@ -25,4 +26,8 @@ component NewKitsuAnime(animes []*kitsu.Anime, url string, user *arn.User)
td= anime.Attributes.ShowType
td
if len(anime.Attributes.StartDate) >= 4
span= anime.Attributes.StartDate[:4]
span= anime.Attributes.StartDate[:4]
td
button.action(data-action="importKitsuAnime", data-trigger="click", data-id=anime.ID)
Icon("download")
span Import