From 295216a254ded53542a3a7647f017bb400a21794 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 14 Apr 2018 16:43:09 +0200 Subject: [PATCH] Added another AMV test --- pages/anime/anime.pixy | 17 ++++++++++++----- pages/anime/anime.scarlet | 3 +++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/pages/anime/anime.pixy b/pages/anime/anime.pixy index 47682186..8ac130b6 100644 --- a/pages/anime/anime.pixy +++ b/pages/anime/anime.pixy @@ -29,11 +29,18 @@ component AnimeMainColumn(anime *arn.Anime, listItem *arn.AnimeListItem, tracks AnimeRelations(anime, user, false) AnimeTracks(anime, tracks, user, false) - if anime.ID == "LbbCcKiig" && user != nil && (user.Role == "editor" || user.Role == "admin") - h3.mountable AMVs - .video-container.mountable - video.video(controls="controls", controlsList="nodownload") - source(src="/videos/unchained.mp4", type="video/mp4") + if user != nil && (user.Role == "editor" || user.Role == "admin") + if anime.ID == "LbbCcKiig" + h3.mountable AMVs + .video-container.amv.mountable + video.video(controls="controls", controlsList="nodownload") + source(src="/videos/unchained.mp4", type="video/mp4") + + if anime.ID == "7VjCpFiiR" + h3.mountable AMVs + .video-container.amv.mountable + video.video(controls="controls", controlsList="nodownload") + source(src="/videos/sunlight.mp4", type="video/mp4") AnimeEpisodes(anime, episodes, user, false) diff --git a/pages/anime/anime.scarlet b/pages/anime/anime.scarlet index 05b5c0c3..12745fd4 100644 --- a/pages/anime/anime.scarlet +++ b/pages/anime/anime.scarlet @@ -159,6 +159,9 @@ margin-top 0.6rem margin-bottom 0.4rem +.amv + // + < 800px .anime-rating-categories vertical