From 963a2b602cb7ade684b870fb09b16abb40380a6c Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 20 Oct 2022 16:39:58 +0200 Subject: [PATCH] new search page !!!! --- html/search.ejs | 144 +++++++++++++++++++++++++----------------------- 1 file changed, 74 insertions(+), 70 deletions(-) diff --git a/html/search.ejs b/html/search.ejs index 0aabf7a..48cafa9 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -18,6 +18,7 @@ --> + Searching <%=q%> - PokeTube @@ -29,7 +30,6 @@ <% if (q == "do the harlem shake") { %> - <% } %> <% if (q != "do the harlem shake") { %> @@ -51,49 +51,22 @@ summary:hover{ color:red; } * { - color:#fff - } - @font-face { - font-family: 'Ginto Nord'; - font-weight: 800; - src:url('https://p.poketube.fun/https://cdn.statically.io/gh/brecert/discord-quote-generator/main/Ginto-Nord-800.woff') format("woff"); - } + color:#fff; + } + nav { + background:#111111 + } - + + + -
+ + +
+
+ +
@@ -162,38 +157,29 @@ video[counter].classList.add("shake");
-
+ - -
-
SEARCHING VIDEOS ON POKETUBE
-
- Wow ur searching videos?? how -
- -

-

-

- +
<% if (Array.isArray( j.Search.Results.Video)) { %> - -

- <%=j.Search.estimatedResults.toLocaleString()%> Results +

+ +

+ <%=j.Search.estimatedResults.toLocaleString()%> Results (estimated) +

+ Next Page

+

- + +
+
+ <% j.Search.Results.Video.forEach(x => { %>
@@ -201,7 +187,7 @@ video[counter].classList.add("shake"); <%=x.duration %>
<% }) %> - -Next Page +

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

+ First Page

+

+ Next Page +

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

+ Next Page +

+ + <% } %> + +
+ +
<% } %> <% if (!Array.isArray( j.Search.Results.Video)) { %>