mirror of
https://github.com/iv-org/invidious.git
synced 2026-01-15 00:02:40 +00:00
Freshen up for the big dance
This commit is contained in:
@@ -1,17 +1,9 @@
|
||||
<% content_for "header" do %>
|
||||
<%= query.size > 30 ? query[0,30] + "... - " : query %>
|
||||
<%= query.size > 30 ? query[0,30].chomp("...") + "... - " : query + " - " %>
|
||||
<% end %>
|
||||
<% videos_list.each do |video| %>
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1 pure-u-md-1-6">
|
||||
<a class="link" href="/watch?v=<%= video.id %>">
|
||||
<img style="width: 90%" src="<%= video.info["thumbnail_url"] %>">
|
||||
</a>
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-5-6">
|
||||
<a style="width: 100%; height:100%; display: block; position: relative" class="link" href="/watch?v=<%= video.id %>">
|
||||
<%= video.info["title"] %>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<% videos.each do |item| %>
|
||||
<p><a class="link" href="<%= item["link"] %>"><%= item["title"] %></a></p>
|
||||
<% end %>
|
||||
|
||||
<p style="text-align: right"><a href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a></p>
|
||||
Reference in New Issue
Block a user