mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 15:57:52 +01:00
minify code :3
This commit is contained in:
parent
7e8507c5bb
commit
b456a8c0a5
1 changed files with 1 additions and 48 deletions
|
@ -1460,54 +1460,7 @@ display: block; !important;" autoplay controls
|
|||
Top Comments of this video!! :3
|
||||
</p>
|
||||
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;">
|
||||
<% inv.comments.forEach(x =>{ %>
|
||||
<div class="fade-in <%- x.commentId %><%- btoa(x.commentId) %>">
|
||||
<div class="_ comment_<%- x.commentId %><%- btoa(btoa(x.commentId)) %>" style="padding:10px">
|
||||
<div class="comment-list left-padding" style="background:#333;padding-top:1px;padding:10px;border-radius:30px;padding-top:0">
|
||||
<div class="d-flex justify-content-between single-comment" style="padding-top:none">
|
||||
<div class="d-flex justify-content-between user">
|
||||
<div class="desc">
|
||||
<h5 style="display:flex;margin-top:7px;padding-top:10px">
|
||||
<div class="thumb"><a href="/channel?id=<%- x.authorId%>" style="width:40px;height:40px" class="avatar"><img loading="lazy" src="<%- media_proxy_url %>/proxy?url=<%= x.authorThumbnails[1].url %></a></div>
|
||||
<% if (!x.authorIsChannelOwner) { %>
|
||||
<p class="comments-author">
|
||||
<a href="/channel?id=<%- x.authorId%>" style="color:var(--text-color);text-decoration:none">
|
||||
<%- x.author%>
|
||||
<% if (x.verified) { %><i class="icon ion ion-md-checkmark-circle"></i>
|
||||
<% } %>
|
||||
<p class="date-publish">
|
||||
<%- x.publishedText %>
|
||||
</p>
|
||||
</a>
|
||||
</p>
|
||||
<% } %>
|
||||
<% if (x.authorIsChannelOwner) { %>
|
||||
<p class="comments-author owner">
|
||||
<a href="/channel?id=<%- x.authorId%>" style="color:var(--text-color);text-decoration:none">
|
||||
<%- x.author%>
|
||||
<% if (x.verified) { %><i class="icon ion ion-md-checkmark-circle"></i>
|
||||
<% } %>
|
||||
<p class="date-publish">
|
||||
<%- x.publishedText %>
|
||||
</p>
|
||||
</a>
|
||||
<% } %>
|
||||
</h5>
|
||||
<p class="comment" style="font-weight:700">
|
||||
<%- x.contentHtml %><br><br>
|
||||
<% if (x.likeCount === 0) { %><i class="fa-light fa-thumbs-up"></i> | <i class="fa-light fa-thumbs-down"></i>
|
||||
<% } else { %><i class="fa-light fa-thumbs-up"></i>
|
||||
<%= convert(x.likeCount) %> | <i class="fa-light fa-thumbs-down"></i>
|
||||
<% } %>
|
||||
<% if(x.creatorHeart) { %><i class="icon creator-heart-small-container ion-ios-heart" style="color:#ffabcc" title="<%= x.creatorHeart.creatorName%>marked it with a ❤ owo"></i>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% }) %>
|
||||
<% inv.comments.forEach(x =>{ %><div class="fade-in<%- x.commentId %><%- btoa(x.commentId) %>"><div class="_ comment_<%- x.commentId %><%- btoa(btoa(x.commentId)) %>"style="padding:10px"><div class="comment-list left-padding"style="background:#333;padding-top:1px;padding:10px;border-radius:30px;padding-top:0"><div class="d-flex justify-content-between single-comment"style="padding-top:none"><div class="d-flex justify-content-between user"><div class="desc"><h5 style="display:flex;margin-top:7px;padding-top:10px"><div class="thumb"><a href="/channel?id=<%- x.authorId%>"style="width:40px;height:40px"class="avatar"><img loading="lazy"src="<%- media_proxy_url %>/proxy?url=<%= x.authorThumbnails[1].url %>"></a></div><% if (!x.authorIsChannelOwner) { %><p class="comments-author"><a href="/channel?id=<%- x.authorId%>"style="color:var(--text-color);text-decoration:none"><%- x.author%><% if (x.verified) { %><i class="icon ion ion-md-checkmark-circle"></i><% } %><p class="date-publish"><%- x.publishedText %></p></a></p><% } %><% if (x.authorIsChannelOwner) { %><p class="comments-author owner"><a href="/channel?id=<%- x.authorId%>"style="color:var(--text-color);text-decoration:none"><%- x.author%><% if (x.verified) { %><i class="icon ion ion-md-checkmark-circle"></i><% } %><p class="date-publish"><%- x.publishedText %></p></a><% } %></h5><p class="comment"style="font-weight:700"><%- x.contentHtml %><br><br><% if (x.likeCount === 0) { %><i class="fa-light fa-thumbs-up"></i> | <i class="fa-light fa-thumbs-down"></i><% } else { %><i class="fa-light fa-thumbs-up"></i> <%= convert(x.likeCount) %> | <i class="fa-light fa-thumbs-down"></i><% } %><% if(x.creatorHeart) { %> <i class="icon creator-heart-small-container ion-ios-heart"style="color:#ffabcc"title="<%= x.creatorHeart.creatorName%> marked it with a ❤ owo"></i><% } %></div></div></div></div></div></div><% }) %>
|
||||
<center>
|
||||
<a href="#top">Go To Top</a>
|
||||
</center>
|
||||
|
|
Loading…
Reference in a new issue