Update poketube.ejs

This commit is contained in:
Ashley 2022-06-24 16:10:38 +03:00 committed by GitHub
parent 65a088ee1d
commit b28afdbbce

View file

@ -1,4 +1,4 @@
<!-- <!--
This Source Code Form is subject to the terms of the GNU General Public License: This Source Code Form is subject to the terms of the GNU General Public License:
Copyright (C) 2021-2022 POKETUBE (https://github.com/iamashley0/poketube) Copyright (C) 2021-2022 POKETUBE (https://github.com/iamashley0/poketube)
@ -187,8 +187,7 @@ summary:hover{
<div class="video-info"> <div class="video-info">
<div class="video-title" style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;"><%=video.Title%></div> <div class="video-title" style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;"><%=video.Title%></div>
<p class="video-sub-info description"> <p class="video-sub-info description">
<span><%=engagement.viewCount.toLocaleString()%> views - Uploaded on <%=date%> - Uploaded by <a href="/channel?id=<%=video.Channel.id%>" style=color:#fff> <span><%=engagement.viewCount.toLocaleString()%> views - Uploaded on <%=date%> ^^
<%=video.Channel.Name%> </a>
</span> <br><br> <%-String(video.Description).replace(/\n/g, " <br> ")%></center> </span> <br><br> <%-String(video.Description).replace(/\n/g, " <br> ")%></center>
</p> </p>
<div class="video-info-buttons"> <div class="video-info-buttons">
@ -215,7 +214,7 @@ summary:hover{
</div> </div>
</div> </div>
<div class="channel-info__bordered"> <div class="channel-info__bordered" name="chnl">
<a href="/channel?id=<%=video.Channel.id%>" class="avatar"> <a href="/channel?id=<%=video.Channel.id%>" class="avatar">
<img src=" <%= k.Video.Channel.Avatar[1].$t %>"> <img src=" <%= k.Video.Channel.Avatar[1].$t %>">
</a> </a>
@ -225,7 +224,7 @@ summary:hover{
<div class="subscriber-count"> <div class="subscriber-count">
<%= k.Video.Channel.subscriberCount %> <%= k.Video.Channel.subscriberCount %>
</div> </div>
<button class="subscribe-button" ><a style="color:#fff" href="https://www.youtube.com/channel/<%=video.Channel.id%>?view_as=subscriber?sub_confirmation=1">Subscribe</a></button> <button class="subscribe-button" ><a style="color:#fff" href="https://www.youtube.com/channel/<%=video.Channel.id%>?view_as=subscriber?sub_confirmation=1">Suscribe</a></button>
</div> </div>
</div> </div>
@ -242,7 +241,7 @@ summary:hover{
Ayo u are lucy! this music video has lyrics! wanna see em? <a href="/watch?v=<%=video.id%>&r=f">Click this!</a> Ayo u are lucy! this music video has lyrics! wanna see em? <a href="/watch?v=<%=video.id%>&r=f">Click this!</a>
<% } %> <% } %>
<% if (!r) { %> <% if (!r) { %>
<p style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;"> <p style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;" align="center">
you migth also watch these... (ig?) you migth also watch these... (ig?)
</p> </p>
<% k.Video.Recommendations.Video.forEach(x => { %> <% k.Video.Recommendations.Video.forEach(x => { %>
@ -252,10 +251,9 @@ you migth also watch these... (ig?)
<div class="info"> <div class="info">
<a href="/watch?v=<%= x.id %>" class="title max-lines-2"><%= x.Title %></a> <a href="/watch?v=<%= x.id %>" class="title max-lines-2"><%= x.Title %></a>
<div> <div>
<a href="/channel?id=<%= x.Channel.id %>">By <%=x.Channel.Name %></a> <a href="/channel?id=<%= x.Channel.id %>"><%=x.Channel.Name %></a>
<div> <div>
<a href="/watch?v=<%= x.id %>"><span><%= x.views %> views</span> <span>•</span> <span><%= x.uploadedAt %></span></a> <%= x.uploadedAt %> </div>
</div>
</div> </div>
</div> </div>
</div> </div>