Move seperator to templates

This commit is contained in:
Omar Roth 2018-01-07 11:49:48 -06:00
parent c4c1b43e5c
commit 9bfb663848
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
<% content_for "header" do %> <% content_for "header" do %>
<%= "Error" %> <%= "Error - " %>
<% end %> <% end %>
<%= error_message %> <%= error_message %>

View File

@ -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>

View File

@ -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">

View File

@ -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 %>