15 lines
519 B
Plaintext
15 lines
519 B
Plaintext
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
|
|
|
|
InputFileUpload("anime-image-input", "File", "image", "/api/upload/anime/" + anime.ID + "/image")
|
|
|
|
.anime-image-container
|
|
img.anime-image-input-preview.anime-cover-image.lazy(data-src=anime.ImageLink("large"), data-webp="true", data-color=anime.AverageColor(), alt="Anime image") |