summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-06-28 21:00:28 -0500
committerOmar Roth <omarroth@protonmail.com>2019-06-28 21:00:28 -0500
commita58f5a925a6fec6df7cb96c63535dbb7476f0b93 (patch)
treeb99b7a25ad596c9202a1203fea25f40036cb79ab
parenta3cc3c57fda98616a972fcb2722b8a43d6114ce8 (diff)
downloadinvidious-a58f5a925a6fec6df7cb96c63535dbb7476f0b93.tar.gz
invidious-a58f5a925a6fec6df7cb96c63535dbb7476f0b93.tar.bz2
invidious-a58f5a925a6fec6df7cb96c63535dbb7476f0b93.zip
Add banner to "/playlists" page
-rw-r--r--src/invidious/views/playlists.ecr13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/invidious/views/playlists.ecr b/src/invidious/views/playlists.ecr
index edd46fa5..66425bcb 100644
--- a/src/invidious/views/playlists.ecr
+++ b/src/invidious/views/playlists.ecr
@@ -2,9 +2,20 @@
<title><%= channel.author %> - Invidious</title>
<% end %>
+<div class="h-box">
+ <img style="width:100%" src="/ggpht<%= URI.parse(channel.banner.gsub("=w1060", "=w1280")).full_path %>">
+</div>
+
+<div class="h-box">
+ <hr>
+</div>
+
<div class="pure-g h-box">
<div class="pure-u-2-3">
- <h3><%= channel.author %></h3>
+ <div class="channel-profile">
+ <img src="/ggpht<%= URI.parse(channel.author_thumbnail.gsub("s48", "s64")).full_path %>">
+ <span><%= channel.author %></span>
+ </div>
</div>
<div class="pure-u-1-3" style="text-align:right">
<h3>