mirror of https://github.com/iv-org/invidious.git
Format views and add link to cookie issue
This commit is contained in:
parent
6581f96b70
commit
1b17550545
|
@ -1,3 +1,4 @@
|
||||||
|
# See https://github.com/crystal-lang/crystal/pull/5408
|
||||||
module HTTP
|
module HTTP
|
||||||
class Cookie
|
class Cookie
|
||||||
module Parser
|
module Parser
|
||||||
|
|
|
@ -12,7 +12,9 @@
|
||||||
<img style="width:100%;" src="<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][0]["url"] %>"/>
|
<img style="width:100%;" src="<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][0]["url"] %>"/>
|
||||||
<p><%= video.title %></p>
|
<p><%= video.title %></p>
|
||||||
</a>
|
</a>
|
||||||
<p><b><a style="width:100%;" href="https://youtube.com/channel/<%= video.info["ucid"] %>"><%= video.info["author"] %></a></b></p>
|
<p>
|
||||||
|
<b><a style="width:100%;" href="https://youtube.com/channel/<%= video.info["ucid"] %>"><%= video.info["author"] %></a></b>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -4,14 +4,16 @@
|
||||||
|
|
||||||
<% videos.each_slice(4) do |slice| %>
|
<% videos.each_slice(4) do |slice| %>
|
||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
<% slice.each do |video| %>
|
<% slice.each do |video| %>
|
||||||
<div class="pure-u-1 pure-u-md-1-4">
|
<div class="pure-u-1 pure-u-md-1-4">
|
||||||
<div class="h-box">
|
<div class="h-box">
|
||||||
<a style="width:100%;" href="<%= video["link"] %>">
|
<a style="width:100%;" href="<%= video["link"] %>">
|
||||||
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
|
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
|
||||||
<%= video["title"] %>
|
<%= video["title"] %>
|
||||||
</a>
|
</a>
|
||||||
<p><b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b></p>
|
<p>
|
||||||
|
<b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -165,10 +165,12 @@ function toggle_comments(target) {
|
||||||
<a href="/watch?v=<%= rv["id"] %>">
|
<a href="/watch?v=<%= rv["id"] %>">
|
||||||
<img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>">
|
<img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>">
|
||||||
<p style="width:100%"><%= rv["title"] %></p>
|
<p style="width:100%"><%= rv["title"] %></p>
|
||||||
<p><b style="width: 100%"><%= rv["author"] %></b></p>
|
<p>
|
||||||
|
<b style="width: 100%"><%= rv["author"] %></b>
|
||||||
|
</p>
|
||||||
</a>
|
</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue