mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 14:28:31 +01:00
continuations!!!
This commit is contained in:
parent
5715ecdb96
commit
5712a5be07
1 changed files with 7 additions and 4 deletions
|
@ -139,9 +139,12 @@ border-radius: 5px;
|
||||||
<div class="channel-page" style="background-color: var(--channel-contents-background);">
|
<div class="channel-page" style="background-color: var(--channel-contents-background);">
|
||||||
|
|
||||||
<% if (Array.isArray( j.Search.Results.Video)) { %>
|
<% if (Array.isArray( j.Search.Results.Video)) { %>
|
||||||
|
<p style="font-family: Inter;">
|
||||||
|
<%=j.Search.estimatedResults.toLocaleString()%> Results
|
||||||
|
</p>
|
||||||
<% j.Search.Results.Video.forEach(x => { %>
|
<% j.Search.Results.Video.forEach(x => { %>
|
||||||
<div class="video-list">
|
<div class="video-list">
|
||||||
|
|
||||||
<div class="video">
|
<div class="video">
|
||||||
<a
|
<a
|
||||||
href="/watch?v=<%= x.id %>"
|
href="/watch?v=<%= x.id %>"
|
||||||
|
@ -161,9 +164,9 @@ border-radius: 5px;
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% }) %>
|
<% }) %>
|
||||||
<p style="background-color: #353030;width: fit-content;border-radius: 3px;padding: 4px;">
|
|
||||||
Congratulations, you've reached the end of the internet kekw
|
<a style="background-color: #353030;width: fit-content;border-radius: 3px;padding: 4px;" href="/search?query=<%=q%>&continuation=<%=j.Search.continuation%>">Next Page</a>
|
||||||
<div></div></p>
|
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if (!Array.isArray( j.Search.Results.Video)) { %>
|
<% if (!Array.isArray( j.Search.Results.Video)) { %>
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Reference in a new issue