Style 'next' link for search view

This commit is contained in:
Omar Roth 2018-01-21 11:05:54 -06:00
parent 1305410f4d
commit 92f2e61624

View File

@ -1,5 +1,5 @@
<% content_for "header" do %>
<%= query.size > 30 ? query[0,30].chomp("...") + "... - " : query + " - " %>
<title><%= query.size > 30 ? query[0,30].chomp("...") + "..." : query %> - Invidious</title>
<% end %>
<% videos.each do |item| %>
@ -21,5 +21,5 @@
<% end %>
<p style="text-align: right">
<a href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a>
<a class="link" href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a>
</p>