Move seperator to templates
This commit is contained in:
parent
c4c1b43e5c
commit
9bfb663848
|
@ -1,4 +1,4 @@
|
|||
<% content_for "header" do %>
|
||||
<%= "Error" %>
|
||||
<%= "Error - " %>
|
||||
<% end %>
|
||||
<%= error_message %>
|
|
@ -9,7 +9,7 @@
|
|||
<link rel="stylesheet" href="/css/grids-responsive-min.css">
|
||||
<link rel="stylesheet" href="/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="/css/custom.css">
|
||||
<title><%= yield_content "header" %> - Invidious</title>
|
||||
<title><%= yield_content "header" %>Invidious</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<% content_for "header" do %>
|
||||
<%= query.size > 30 ? query[0,30] + "..." : query %>
|
||||
<%= query.size > 30 ? query[0,30] + "... - " : query %>
|
||||
<% end %>
|
||||
<% videos_list.each do |video| %>
|
||||
<div class="pure-g">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<% content_for "header" do %>
|
||||
<%= video.info["title"] %>
|
||||
<%= video.info["title"] + " - " %>
|
||||
<% end %>
|
||||
<video style="width: 100%" poster="<%= video.info.has_key?("iurlhq720") ? video.info["iurlhq720"] : video.info["iurlmq"] %>" controls>
|
||||
<% if listen %>
|
||||
|
|
Loading…
Reference in a new issue