Improved kitsu import page
This commit is contained in:
parent
5f7aa334e0
commit
648182083d
@ -21,7 +21,7 @@ component NewKitsuAnime(animes []*kitsu.Anime, url string, user *arn.User)
|
|||||||
td
|
td
|
||||||
a(href="https://kitsu.io/anime/" + anime.ID, target="_blank")
|
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)
|
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
|
a(href="https://kitsu.io/anime/" + anime.ID, target="_blank")= anime.Attributes.CanonicalTitle
|
||||||
td= anime.Attributes.ShowType
|
td= anime.Attributes.ShowType
|
||||||
td
|
td
|
||||||
@ -29,8 +29,8 @@ component NewKitsuAnime(animes []*kitsu.Anime, url string, user *arn.User)
|
|||||||
span= anime.Attributes.StartDate[:4]
|
span= anime.Attributes.StartDate[:4]
|
||||||
td
|
td
|
||||||
.buttons
|
.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")
|
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")
|
RawIcon("trash")
|
2
pages/editor/kitsu.scarlet
Normal file
2
pages/editor/kitsu.scarlet
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.kitsu-import-title
|
||||||
|
max-width 350px
|
Loading…
Reference in New Issue
Block a user