15 lines
505 B
Plaintext
Raw Normal View History

2018-03-16 21:40:38 +00:00
component EditAnimeImages(anime *arn.Anime)
EditAnimeTabs(anime)
.widget-form
h1.mountable Edit anime images
.widget.mountable(data-api="/api/anime/" + anime.ID)
h3.widget-title
Icon("picture-o")
span Image
InputImage("anime-image-input", "File", "/api/upload/anime/" + anime.ID + "/image")
.anime-image-container
2018-03-20 21:39:21 +00:00
img#anime-image-input-preview.anime-cover-image.lazy(data-src=anime.ImageLink("large"), data-webp="true", data-color=anime.AverageColor(), alt="Anime image")