From 6b5e2720e3045a0875e3882363f8cb622e301a2a Mon Sep 17 00:00:00 2001 From: Ashley Date: Sat, 18 Mar 2023 12:58:16 +0000 Subject: [PATCH] fix a issue --- html/main.ejs | 1234 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 1076 insertions(+), 158 deletions(-) diff --git a/html/main.ejs b/html/main.ejs index ed8c9c40..7d22e5c9 100644 --- a/html/main.ejs +++ b/html/main.ejs @@ -1,7 +1,7 @@ + <% if (!isMobile) { %> - - PokeTube | Privacy Is Your Right + PokeTube - Privacy Is Your Right - - - - - - + - + + - -
- - + + + + + -
- - -
-
- + - - Support Ukraine - +
+ + + + + + <% if (!tab) { %> + +
+ + Videos + + Music + + Gaming + <% if (!isMobile) { %> + + Movie Trailers + + <% } %> + +
+ <% } %> + <% if (tab === "music") { %> + +
-
+ Videos + + Music -
+ Gaming + <% if (!isMobile) { %> + + Movies + + <% } %> + + + +
+ <% } %> + <% if (tab === "gaming") { %> + +
+ + + Videos + + Music + <% if (!isMobile) { %> + + Gaming + Movies + <% } %> + + + +
+ <% } %> + + <% if (tab === "movies") { %> + +
+ + + Videos + Music + Gaming + Movies + + + +
+ <% } %> + + + + + +
+ + + + + + + + + + + <% } %> + + + + <% if (isMobile) { %> + <% if (isMobile) { %> + + + + PokeTube - Privacy Is Your Right + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+
+ + + <% if (!tab) { %> + <% if (!mobilesearch) { %> + +
+ + Videos + + Music + + <% if (!isMobile) { %> + + Movies + + <% } %> + +
+ <% } %> + + <% if (tab === "music") { %> + +
+ + + Videos + + Music + + <% if (!isMobile) { %> + + Movies + + <% } %> + + + +
+ <% } %> + + <% } %> + + <% if (tab === "search") { %> +
+ + + Videos + + Music + + + + +
+ <% } %> + + <% if (mobilesearch) { %> + +
+ + + Videos + + Music + + + + +
+ <% } %> + <% } %> + + +
+ + + <% if (!tab || tab == "music" ) { %> + <% if (!mobilesearch) { %> + +
+ <% inv.forEach(x => { %> + +
<%- turntomins(x.lengthSeconds) %>
+
+ <%- x.title %> + By <%- x.author %> + +
+ +
<% }) %> + +
+ +
+
+ +
+
+ +

+
+ +
+ +
+ +More Options :3 + + + + +Upload + + +
+ + + +Privacy + + -
- - - +
+ +
+
+
+ + + + <% } %> + <% } %> + + +
+ <% if (tab == "search") { %> + + +
+ <% } %> + + <% if (mobilesearch ) { %> + + +
+ +
+ + <% j.Search.Results.Video.forEach(x => { %> + + +
<%=x.duration %>
+
+ <%- x.Title %> + By <%- x.Channel.Name %> + +
+ + <% }) %> + + + <% if (continuation) { %> + +

+ First Page +

+

+ Next Page +

+ <% } %> + + <% if (!continuation) { %> +

+ Next Page +

+ + <% } %> + +
+ + + + <% } %> + + + + + + <% } %> + + + + \ No newline at end of file