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
|
||||
class Cookie
|
||||
module Parser
|
||||
|
|
|
@ -12,7 +12,9 @@
|
|||
<img style="width:100%;" src="<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][0]["url"] %>"/>
|
||||
<p><%= video.title %></p>
|
||||
</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>
|
||||
<% end %>
|
||||
|
|
|
@ -4,14 +4,16 @@
|
|||
|
||||
<% videos.each_slice(4) do |slice| %>
|
||||
<div class="pure-g">
|
||||
<% slice.each do |video| %>
|
||||
<% slice.each do |video| %>
|
||||
<div class="pure-u-1 pure-u-md-1-4">
|
||||
<div class="h-box">
|
||||
<a style="width:100%;" href="<%= video["link"] %>">
|
||||
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
|
||||
<%= video["title"] %>
|
||||
</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>
|
||||
<% end %>
|
||||
|
|
|
@ -165,10 +165,12 @@ function toggle_comments(target) {
|
|||
<a href="/watch?v=<%= rv["id"] %>">
|
||||
<img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>">
|
||||
<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>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue