Improved kitsu import page

This commit is contained in:
Eduard Urbach 2018-09-27 15:12:19 +09:00
parent 5f7aa334e0
commit 648182083d
2 changed files with 5 additions and 3 deletions

View File

@ -21,7 +21,7 @@ component NewKitsuAnime(animes []*kitsu.Anime, url string, user *arn.User)
td
a(href="https://kitsu.io/anime/" + anime.ID, target="_blank")
img.profile-watching-list-item-image(src=anime.Attributes.PosterImage.Tiny, alt=anime.Attributes.CanonicalTitle)
td
td.kitsu-import-title
a(href="https://kitsu.io/anime/" + anime.ID, target="_blank")= anime.Attributes.CanonicalTitle
td= anime.Attributes.ShowType
td
@ -29,8 +29,8 @@ component NewKitsuAnime(animes []*kitsu.Anime, url string, user *arn.User)
span= anime.Attributes.StartDate[:4]
td
.buttons
button.action(data-action="importKitsuAnime", data-trigger="click", data-id=anime.ID)
button.tip.action(data-action="importKitsuAnime", data-trigger="click", data-id=anime.ID, aria-label="Import")
RawIcon("download")
button.action(data-action="deleteKitsuAnime", data-trigger="click", data-id=anime.ID)
button.tip.action(data-action="deleteKitsuAnime", data-trigger="click", data-id=anime.ID, aria-label="Delete")
RawIcon("trash")

View File

@ -0,0 +1,2 @@
.kitsu-import-title
max-width 350px