From 3cce74d3640d53e4a317981065c8760b38ce33e1 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 8 Feb 2019 10:34:32 -0600 Subject: [PATCH] Add feed menu to popular, top, and trending --- src/invidious/views/popular.ecr | 25 +++++++++++++++++++++++++ src/invidious/views/top.ecr | 25 +++++++++++++++++++++++++ src/invidious/views/trending.ecr | 25 +++++++++++++++++++++++++ 3 files changed, 75 insertions(+) diff --git a/src/invidious/views/popular.ecr b/src/invidious/views/popular.ecr index 8ce1c161..8d67241f 100644 --- a/src/invidious/views/popular.ecr +++ b/src/invidious/views/popular.ecr @@ -1,7 +1,32 @@ <% content_for "header" do %> +"> <%= translate(locale, "Popular") %> - Invidious <% end %> +
+
+ +
+
+
<% popular_videos.each_slice(4) do |slice| %> <% slice.each do |item| %> diff --git a/src/invidious/views/top.ecr b/src/invidious/views/top.ecr index c120e57c..ea5679c4 100644 --- a/src/invidious/views/top.ecr +++ b/src/invidious/views/top.ecr @@ -1,7 +1,32 @@ <% content_for "header" do %> +"> <%= translate(locale, "Top") %> - Invidious <% end %> + +
<% top_videos.each_slice(4) do |slice| %> <% slice.each do |item| %> diff --git a/src/invidious/views/trending.ecr b/src/invidious/views/trending.ecr index 82d03b07..a3db4de3 100644 --- a/src/invidious/views/trending.ecr +++ b/src/invidious/views/trending.ecr @@ -1,7 +1,32 @@ <% content_for "header" do %> +"> <%= translate(locale, "Trending") %> - Invidious <% end %> + +