Add banner to "/playlists" page

This commit is contained in:
Omar Roth 2019-06-28 21:00:28 -05:00
parent a3cc3c57fd
commit a58f5a925a
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2

View file

@ -2,9 +2,20 @@
<title><%= channel.author %> - Invidious</title> <title><%= channel.author %> - Invidious</title>
<% end %> <% 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-g h-box">
<div class="pure-u-2-3"> <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>
<div class="pure-u-1-3" style="text-align:right"> <div class="pure-u-1-3" style="text-align:right">
<h3> <h3>