mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 00:58:58 +01:00
CONTIUNUANTIONS ARE BACK BABY
This commit is contained in:
parent
a919e86073
commit
d4324aedb7
1 changed files with 48 additions and 3 deletions
|
@ -73,7 +73,7 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
a.class:hover {
|
a.class:hover {
|
||||||
text-decoration:underline;
|
text-decoration:none;
|
||||||
font-weight:bold
|
font-weight:bold
|
||||||
}
|
}
|
||||||
summary{
|
summary{
|
||||||
|
@ -151,6 +151,11 @@ padding-bottom: 32px;
|
||||||
.subs {
|
.subs {
|
||||||
margin: 0.6em;text-align: left;margin-left: 0px;margin-top: -1em;font-family: "PokeTube flex";font-weight: 1000;font-stretch: ultra-expanded;
|
margin: 0.6em;text-align: left;margin-left: 0px;margin-top: -1em;font-family: "PokeTube flex";font-weight: 1000;font-stretch: ultra-expanded;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.tag.c:hover {
|
||||||
|
background: var(--chip-background-hover);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- STYLES START -->
|
<!-- STYLES START -->
|
||||||
|
@ -511,6 +516,7 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
|
||||||
<% if (!tab) { %>
|
<% if (!tab) { %>
|
||||||
|
|
||||||
<a href="/channel?id=<%=ID%>" class="tab active">Videos</a>
|
<a href="/channel?id=<%=ID%>" class="tab active">Videos</a>
|
||||||
|
|
||||||
<% if (Array.isArray(c.comments)) { %>
|
<% if (Array.isArray(c.comments)) { %>
|
||||||
|
|
||||||
<% if (c.comments.length != "0") { %>
|
<% if (c.comments.length != "0") { %>
|
||||||
|
@ -654,14 +660,46 @@ width: fit-content;
|
||||||
<% if (!tab) { %>
|
<% if (!tab) { %>
|
||||||
|
|
||||||
|
|
||||||
<div align="center">
|
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
<% if (!isMobile) { %>
|
||||||
|
<div class="tags rec">
|
||||||
|
<% if (!sort) { %>
|
||||||
|
|
||||||
|
<a class="tag" style="background:var(--chip-background-hover)">
|
||||||
|
Recently Uploaded
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="/channel?id=<%=ID%>&sort_by=popular" style="color:#fff;text-decoration:none;
|
||||||
|
" class="tag c">
|
||||||
|
Popular
|
||||||
|
</a>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<% if (sort) { %>
|
||||||
|
|
||||||
|
<a href="/channel?id=<%=ID%>" style="color:#fff;text-decoration:none;
|
||||||
|
" class="tag c" >
|
||||||
|
Recently Uploaded
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a style="background:var(--chip-background-hover)" class="tag">
|
||||||
|
Popular
|
||||||
|
</a>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
<div class="video-grid" >
|
<div class="video-grid" >
|
||||||
<% if (Array.isArray( tj)) { %>
|
|
||||||
|
|
||||||
<% tj.forEach (x => { %>
|
|
||||||
|
<% if (Array.isArray( tj.videos)) { %>
|
||||||
|
|
||||||
|
<% tj.videos.forEach (x => { %>
|
||||||
<a href="/watch?v=<%- x.videoId %>" class="video">
|
<a href="/watch?v=<%- x.videoId %>" class="video">
|
||||||
<div class="thumbnail" style="background-image: url('https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- turntomins(x.lengthSeconds) %></span></div>
|
<div class="thumbnail" style="background-image: url('https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- turntomins(x.lengthSeconds) %></span></div>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
@ -679,6 +717,13 @@ width: fit-content;
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<% if (tj.continuation) { %>
|
||||||
|
<div class="pagination-buttons" style="border-top: none;justify-content: center">
|
||||||
|
<a style="color:#fff" href="/channel?id=<%=ID%>&continuation=<%=tj.continuation%>">Next Page</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if (tab === "community") { %>
|
<% if (tab === "community") { %>
|
||||||
|
|
Loading…
Reference in a new issue