mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-01 06:37:18 +01:00
improvements to poketube html :3
Signed-off-by: Ashley <iamashley@duck.com>
This commit is contained in:
parent
63b76865a4
commit
aa222cd19f
1 changed files with 15 additions and 8 deletions
|
@ -20,10 +20,10 @@
|
|||
|
||||
-->
|
||||
<!DOCTYPE html>
|
||||
<html class="poketube_desktop">
|
||||
<html class="poketube_desktop_player" version="browser_web">
|
||||
<head>
|
||||
<% if (e === false) { %> <!-- if ?e=false, dont show up the meta tags -->
|
||||
|
||||
<% if (e === false) { %>
|
||||
<!-- MetaTag disabled -->
|
||||
<% } %>
|
||||
<% if (!e) { %>
|
||||
<meta content="<%=video.Title%>" name=title>
|
||||
|
@ -395,9 +395,11 @@
|
|||
|
||||
|
||||
<div title="<%=engagement.likes.toLocaleString()%> Likes">
|
||||
|
||||
<i class="fa-light fa-thumbs-up"></i>
|
||||
<%=convert(engagement.likes)%>
|
||||
</div>
|
||||
|
||||
<div title="<%=engagement.dislikes.toLocaleString()%> Dislikes">
|
||||
<i class="fa-light fa-thumbs-down"></i> <%=convert(engagement.dislikes)%>
|
||||
</div>
|
||||
|
@ -448,15 +450,19 @@
|
|||
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;/*! width: 4.5em; */height: 0;">
|
||||
|
||||
<% if (String(video.Description) != "[object Object]") { %>
|
||||
<% if (String(inv_vid.descriptionHtml) != "undefined") { %>
|
||||
<% if (String(inv_vid.descriptionHtml) != " ") { %>
|
||||
|
||||
<%-String(inv_vid.descriptionHtml).replace(/\n/g, " <br> ").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %>
|
||||
|
||||
<% } %> <% } %>
|
||||
<% } %>
|
||||
|
||||
<% if (String(video.Description) == "[object Object]") { %>
|
||||
<p> No Description On this Video ( sad innit :c )</p>
|
||||
<% } %>
|
||||
|
||||
|
||||
<% if (wiki.extract_html) { %>
|
||||
<div class="video-title" style="color:#fff;font-family:'PokeTube Flex';font-weight:1000;font-stretch: extra-expanded;margin-top: 10px;margin-bottom: 10px;">From da web</div>
|
||||
|
||||
|
@ -834,7 +840,6 @@
|
|||
|
||||
<% if (isMobile) { %>
|
||||
<% if (isMobile) { %>
|
||||
|
||||
<!--
|
||||
This Source Code Form is subject to the terms of the GNU General Public License:
|
||||
|
||||
|
@ -854,6 +859,8 @@
|
|||
along with this program. If not, see https://www.gnu.org/licenses/.
|
||||
-->
|
||||
<!DOCTYPE html>
|
||||
<html class="poketube_mobile_layout">
|
||||
|
||||
<% if (e === false) { %> <!-- if ?e=false,dont show up the meta tags -->
|
||||
|
||||
<% } %>
|
||||
|
|
Loading…
Reference in a new issue