invidious-mod-JP/src/invidious/views/mix.ecr

23 lines
562 B
Plaintext
Raw Normal View History

2018-09-29 04:12:35 +00:00
<% content_for "header" do %>
<title><%= mix.title %> - Invidious</title>
<% end %>
<div class="pure-g h-box">
<div class="pure-u-2-3">
<h3><%= mix.title %></h3>
</div>
2019-05-02 01:03:39 +00:00
<div class="pure-u-1-3" style="text-align:right">
2018-09-29 04:12:35 +00:00
<h3>
<a href="/feed/playlist/<%= mix.id %>"><i class="icon ion-logo-rss"></i></a>
</h3>
</div>
</div>
<div class="pure-g">
2019-05-02 01:03:39 +00:00
<% mix.videos.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
2018-09-29 04:12:35 +00:00
<% end %>
</div>