Fix formatting

This commit is contained in:
Omar Roth 2018-02-05 19:11:57 -06:00
parent c8d2d12282
commit e9ee41846c
4 changed files with 4 additions and 6 deletions

View File

@ -2,4 +2,4 @@
<title><%= "Error" %> - Invidious</title> <title><%= "Error" %> - Invidious</title>
<% end %> <% end %>
<%= error_message %> <%= error_message %>

View File

@ -35,4 +35,4 @@
</div> </div>
</body> </body>
</html> </html>

View File

@ -19,4 +19,4 @@
<p style="text-align:right;"> <p style="text-align:right;">
<a class="link" href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a> <a class="link" href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a>
</p> </p>

View File

@ -113,10 +113,8 @@ var player = videojs('player', options, function() {
<% if rv.has_key?("id") %> <% if rv.has_key?("id") %>
<a class="link" href="/watch?v=<%= rv["id"] %>"> <a class="link" href="/watch?v=<%= rv["id"] %>">
<img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>"> <img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>">
<%= rv["title"] %>
</a> </a>
<p>
<a style="display:block; width:100%; height:100%;" class="link" href="/watch?v=<%= rv["id"] %>"><%= rv["title"] %></a>
</p>
<% end %> <% end %>
<% end %> <% end %>
</div> </div>