2018-03-25 09:08:35 +05:30
|
|
|
<% content_for "header" do %>
|
|
|
|
<title>Subscriptions - Invidious</title>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% videos.each_slice(4) do |slice| %>
|
|
|
|
<div class="pure-g">
|
|
|
|
<% slice.each do |video| %>
|
|
|
|
<div class="pure-u-1 pure-u-md-1-4">
|
2018-04-18 02:23:12 +05:30
|
|
|
<div class="h-box">
|
2018-03-29 08:59:54 +05:30
|
|
|
<a style="width:100%;" href="/watch?v=<%= video.id %>">
|
|
|
|
<img style="width:100%;" src="https://i.ytimg.com/vi/<%= video.id %>/mqdefault.jpg"/>
|
|
|
|
<p style="height:100%"><%= video.title %></p>
|
2018-03-25 09:08:35 +05:30
|
|
|
</a>
|
|
|
|
<p>
|
2018-03-31 19:38:40 +05:30
|
|
|
<b><a style="width:100%;" href="https://youtube.com/channel/<%= video.ucid %>"><%= video.author %></a></b>
|
2018-03-25 09:08:35 +05:30
|
|
|
</p>
|
|
|
|
<p>
|
2018-03-29 08:59:54 +05:30
|
|
|
<h5>Shared <%= video.published.to_s("%B %-d, %Y at %r") %></h5>
|
2018-03-25 09:08:35 +05:30
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-1 pure-u-md-1-5">
|
2018-03-25 09:44:35 +05:30
|
|
|
<% if page > 2 %>
|
2018-03-25 09:08:35 +05:30
|
|
|
<a href="/feed/subscriptions?maxResults=<%= max_results %>&page=<%= page - 1 %>">Previous page</a>
|
|
|
|
<% else %>
|
|
|
|
<a href="/feed/subscriptions?maxResults=<%= max_results %>">Previous page</a>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<div class="pure-u-1 pure-u-md-3-5"></div>
|
2018-03-25 09:44:35 +05:30
|
|
|
<div style="text-align:right;" class="pure-u-1 pure-u-md-1-5">
|
2018-03-25 09:08:35 +05:30
|
|
|
<a href="/feed/subscriptions?maxResults=<%= max_results %>&page=<%= page + 1 %>">Next page</a>
|
|
|
|
</div>
|
|
|
|
</div>
|