diff --git a/HOSTING_REQUIREMENTS.md b/HOSTING_REQUIREMENTS.md index 674b21db..641ed395 100644 --- a/HOSTING_REQUIREMENTS.md +++ b/HOSTING_REQUIREMENTS.md @@ -1,7 +1,7 @@ -Internet : 1GBIT (recommended 5GBIT) +Internet: 1GBIT (recommended 5GBIT) -Ram : 2GB +RAM: 2GB -Cpu : Any recent one +CPU: Any recent one -OS: Microsoft Windows, macOs or GNU/LINUX (doesnt work on "musl" distros ) with systemd or any service manager \ No newline at end of file +OS: Microsoft Windows, macOS or GNU/LINUX (doesnt work on "musl" distros ) with systemd or any service manager \ No newline at end of file diff --git a/css/app.js b/css/app.js index 9baba40b..a9c47dfb 100644 --- a/css/app.js +++ b/css/app.js @@ -247,7 +247,7 @@ fetchUrls(urls); var currentSpeed = video.playbackRate; var newSpeed = getNextSpeed(currentSpeed); video.playbackRate = newSpeed; - speedOption.textContent = "Speed: " + newSpeed.toFixed(2) + "x"; + speedOption.innerHTML = " Speed: " + newSpeed.toFixed(2) + "x"; }); function getNextSpeed(currentSpeed) { diff --git a/css/mobile.css b/css/mobile.css index fd665aed..a9720644 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -1773,15 +1773,14 @@ ptd-custom-more { } @media screen and (orientation:landscape) { - .ptnewbuttons { - margin-left:auto; - width:fit-content; - width:-moz-fit-content; - overflow:scroll; - max-width:150em!important; - margin-right: auto !important; - } + .ptnewbuttons { + margin-left:auto; + width:auto; + max-width:150em!important; + margin-right:auto !important; + } } + .new-button.engagement:hover { background-color:#0009 } diff --git a/html/channel.ejs b/html/channel.ejs index 7b4de8fb..80b5a3ba 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -526,7 +526,12 @@ color:#ea9999 !important; - +
+ + + +
+
@@ -823,6 +828,12 @@ width: fit-content; <% if (!tab) { %> Videos + +<% if (turntomins(shorts?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> + + Shorts + <% } %> + <% if (Array.isArray(c.comments)) { %> <% if (c.comments.length != "0") { %> @@ -831,22 +842,20 @@ width: fit-content; <% } %> <% } %> <% if (Array?.isArray(shorts?.videos)) { %> - -<% if (turntomins(shorts?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> - Shorts - <% } %> <% } %> <% } %> <% if (tab ==="about") { %> - <% if (Array?.isArray(shorts?.videos)) { %> + + Videos + +<% if (Array?.isArray(shorts?.videos)) { %> <% if (turntomins(shorts?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> - Videos Community <% } %> diff --git a/html/custom-css.ejs b/html/custom-css.ejs index 6ef819ad..49da630e 100644 --- a/html/custom-css.ejs +++ b/html/custom-css.ejs @@ -22,24 +22,17 @@ PokeTube | Customize - - - + + + - - - + diff --git a/html/discover.ejs b/html/discover.ejs index a1e5a0a2..6a97b135 100644 --- a/html/discover.ejs +++ b/html/discover.ejs @@ -24,9 +24,9 @@ - - - + + + diff --git a/html/landing.ejs b/html/landing.ejs index 41f82191..db7a823b 100644 --- a/html/landing.ejs +++ b/html/landing.ejs @@ -1,8 +1,7 @@ @@ -356,14 +355,12 @@ background: none !important; <% video.Subtitles.Subtitle.forEach(x => { %> " kind="subtitles"> - - <% }) %> + <% }) %> <% } %> <% if (!Array.isArray( video.Subtitles.Subtitle)) { %> " kind="subtitles"> - - + <% } %> <% } %> @@ -564,11 +561,11 @@ background: none !important;
<% if (!optout) { %> - <%=x.duration || "LIVE" %> + <%=x.duration || "LIVE" %> <% } %> <% if (optout) { %> - <%- x.duration || "LIVE"%> + <%- x.duration || "LIVE"%> <% } %>
diff --git a/html/map.ejs b/html/map.ejs index 3fdd677b..dcc65ab7 100644 --- a/html/map.ejs +++ b/html/map.ejs @@ -1,7 +1,7 @@ - PokeMaps + PokeMaps Beta