mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 01:37:47 +01:00
Update poketube.ejs
This commit is contained in:
parent
4336070e48
commit
bfa0ed07ca
1 changed files with 33 additions and 12 deletions
|
@ -234,18 +234,37 @@ summary:hover{
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="recommended-list" style="backgorund-color:#181818">
|
<div class="recommended-list" style="backgorund-color:#181818">
|
||||||
<% if (!lyrics) { %>
|
<% if (lyrics && !r) { %>
|
||||||
|
Ayo u are lucy! this music video has lyrics! wanna see em? <a href="/watch?v=<%=video.id%>&r=f">Click this!</a>
|
||||||
<div align="center">
|
<% } %>
|
||||||
<h1 style="color:#fff;font-family: 'Inter', sans-serif;font-weight: bold;white-space:yes;font-size:45;"> Lyrics
|
<% if (!r) { %>
|
||||||
</h1>
|
<p style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;">
|
||||||
<p style="color: white;">
|
you migth also watch these... (ig?)
|
||||||
<p style=color:#fff>
|
|
||||||
We didint found any Lyrics lol (this migth not be a music video or something idk)
|
|
||||||
</p>
|
</p>
|
||||||
|
<% k.Video.Recommendations.Video.forEach(x => { %>
|
||||||
|
<div class="video">
|
||||||
|
<a href="/watch?v=<%= x.id %>" class="thumbnail" style="background-image: url('https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ')" > <span class="video-length"><%=x.duration %></span>
|
||||||
|
</a>
|
||||||
|
<div class="info">
|
||||||
|
<a href="/watch?v=<%= x.id %>" class="title max-lines-2"><%= x.Title %></a>
|
||||||
|
<div>
|
||||||
|
<a href="/channel?id=<%= x.Channel.id %>">By <%=x.Channel.Name %></a>
|
||||||
|
<div>
|
||||||
|
<a href="/watch?v=<%= x.id %>"><span><%= x.views %> views</span> <span>•</span> <span><%= x.uploadedAt %></span></a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% }) %>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<% if (lyrics) { %>
|
<% if (lyrics) { %>
|
||||||
|
<% if (r === "f") { %>
|
||||||
|
|
||||||
|
<a href="/watch?v=<%=video.id%>">See the Recommended videos instead</a>
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<h1 style="color:#fff;font-family: 'Inter', sans-serif;font-weight: bold;white-space:yes;font-size:45;"> Lyrics
|
<h1 style="color:#fff;font-family: 'Inter', sans-serif;font-weight: bold;white-space:yes;font-size:45;"> Lyrics
|
||||||
|
@ -257,11 +276,13 @@ summary:hover{
|
||||||
<p style=color:#fff>
|
<p style=color:#fff>
|
||||||
<%-lyrics%>
|
<%-lyrics%>
|
||||||
</p>
|
</p>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<% } %> </details>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% } %>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue