mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-22 21:23:04 +05:30
Move seperator to templates
This commit is contained in:
parent
c4c1b43e5c
commit
9bfb663848
@ -1,4 +1,4 @@
|
|||||||
<% content_for "header" do %>
|
<% content_for "header" do %>
|
||||||
<%= "Error" %>
|
<%= "Error - " %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= error_message %>
|
<%= error_message %>
|
@ -9,7 +9,7 @@
|
|||||||
<link rel="stylesheet" href="/css/grids-responsive-min.css">
|
<link rel="stylesheet" href="/css/grids-responsive-min.css">
|
||||||
<link rel="stylesheet" href="/css/font-awesome.min.css">
|
<link rel="stylesheet" href="/css/font-awesome.min.css">
|
||||||
<link rel="stylesheet" href="/css/custom.css">
|
<link rel="stylesheet" href="/css/custom.css">
|
||||||
<title><%= yield_content "header" %> - Invidious</title>
|
<title><%= yield_content "header" %>Invidious</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<% content_for "header" do %>
|
<% content_for "header" do %>
|
||||||
<%= query.size > 30 ? query[0,30] + "..." : query %>
|
<%= query.size > 30 ? query[0,30] + "... - " : query %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% videos_list.each do |video| %>
|
<% videos_list.each do |video| %>
|
||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<% content_for "header" do %>
|
<% content_for "header" do %>
|
||||||
<%= video.info["title"] %>
|
<%= video.info["title"] + " - " %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<video style="width: 100%" poster="<%= video.info.has_key?("iurlhq720") ? video.info["iurlhq720"] : video.info["iurlmq"] %>" controls>
|
<video style="width: 100%" poster="<%= video.info.has_key?("iurlhq720") ? video.info["iurlhq720"] : video.info["iurlmq"] %>" controls>
|
||||||
<% if listen %>
|
<% if listen %>
|
||||||
|
Loading…
Reference in New Issue
Block a user