mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 02:57:49 +01:00
continuation on channels!
This commit is contained in:
parent
77ec8ae03d
commit
e47ba35619
1 changed files with 44 additions and 1 deletions
|
@ -457,6 +457,8 @@
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
<div class="video-grid" >
|
<div class="video-grid" >
|
||||||
|
<% if (!continuation) { %>
|
||||||
|
|
||||||
<% tj.Channel.Contents.ItemSection.ItemSection.Video.forEach(x => { %>
|
<% tj.Channel.Contents.ItemSection.ItemSection.Video.forEach(x => { %>
|
||||||
<a href="/watch?v=<%- x.id %>" class="video">
|
<a href="/watch?v=<%- x.id %>" class="video">
|
||||||
<div class="thumbnail" style="background-image: url('https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- x.duration %></span></div>
|
<div class="thumbnail" style="background-image: url('https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- x.duration %></span></div>
|
||||||
|
@ -466,7 +468,48 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
</div> <% } %>
|
<% } %>
|
||||||
|
<% if (continuation) { %>
|
||||||
|
|
||||||
|
<% tj.Channel.Contents.Video.forEach(x => { %>
|
||||||
|
<a href="/watch?v=<%- x.id %>" class="video">
|
||||||
|
<div class="thumbnail" style="background-image: url('https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- x.duration %></span></div>
|
||||||
|
<div class="info">
|
||||||
|
<span class="title max-lines-2" style="font-family:Ginto Nord,sans-serif;"><%- x.Title %></span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<% }) %>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<% if (!continuation) { %>
|
||||||
|
|
||||||
|
<% if (tj.Channel.Contents.ItemSection.ItemSection.Continuation) { %>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="pagination-buttons" style="border-top: none;justify-content: center">
|
||||||
|
<a style="color:#fff" href="/channel?id=<%=ID%>&continuation=<%=tj.Channel.Contents.ItemSection.ItemSection.Continuation.key%>">Next Page</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
<% } %>
|
||||||
|
<% if (continuation) { %>
|
||||||
|
|
||||||
|
<% if (tj.Channel.Contents.Continuation) { %>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="pagination-buttons" style="border-top: none;justify-content: center">
|
||||||
|
<a style="color:#fff" href="/channel?id=<%=ID%>&continuation=<%=tj.Channel.Contents.Continuation.key%>">Next Page</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
|
||||||
<% if (tab === "about") { %>
|
<% if (tab === "about") { %>
|
||||||
<div style="text-align: left;">
|
<div style="text-align: left;">
|
||||||
|
|
Loading…
Reference in a new issue