mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 16:58:14 +01:00
QOL improvements :3
This commit is contained in:
parent
45c88827cc
commit
a1113b48ee
1 changed files with 21 additions and 19 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- PTHTML START -->
|
||||||
<% if (!isMobile) { %>
|
<% if (!isMobile) { %>
|
||||||
<!--
|
<!--
|
||||||
HEYOOOOOOOOOO!!!!!!
|
HEYOOOOOOOOOO!!!!!!
|
||||||
|
@ -393,7 +394,7 @@ text-shadow: 1px 1px #000,1px 1px 0.1px #000;!important;
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style data-universe="2">
|
||||||
:root {
|
:root {
|
||||||
--div-gradient: linear-gradient(to bottom right, #9666F7, #B37C6B);
|
--div-gradient: linear-gradient(to bottom right, #9666F7, #B37C6B);
|
||||||
}
|
}
|
||||||
|
@ -542,21 +543,16 @@ But Please note that unofficial instances can add the same lock icon, so please
|
||||||
<i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-ellipsis-vertical"></i>
|
<i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-ellipsis-vertical"></i>
|
||||||
</label>
|
</label>
|
||||||
<div class="dropdown__menu" style="right: -1em;">
|
<div class="dropdown__menu" style="right: -1em;">
|
||||||
<a href="https://redirect.poketube.fun/watch?v=<%=inv_vid.videoId%>" style="text-decoration: none;" class="dropdown__item">
|
<a href="/customize" style="text-decoration: none;" class="dropdown__item">
|
||||||
<i class="fa-light fa-rocket-launch"></i>
|
|
||||||
Switch Instance
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a href="/custom-theme" style="text-decoration: none;" class="dropdown__item">
|
|
||||||
<i class="fa-light fa-brush"></i>
|
<i class="fa-light fa-brush"></i>
|
||||||
Customize Poketube
|
Customize PokeTube
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/video/upload" style="text-decoration: none;" class="dropdown__item">
|
<a href="/video/upload" style="text-decoration: none;" class="dropdown__item">
|
||||||
<i class="fa-light fa-video"></i>
|
<i class="fa-light fa-video"></i>
|
||||||
Create
|
Upload
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
@ -838,11 +834,11 @@ display: block; !important;" autoplay controls
|
||||||
<% if (!inv_vid.title.endsWith('Audio)')) { %>
|
<% if (!inv_vid.title.endsWith('Audio)')) { %>
|
||||||
|
|
||||||
<div class="new-button button-encryption">
|
<div class="new-button button-encryption">
|
||||||
<a title="Encryption duh" style="color:var(--text-color);text-decoration: none;" href="/encryption?v=<%=inv_vid.videoId%>">
|
<a title="Switch PokeTube Instance :3" style="color:var(--text-color);text-decoration: none;" href="https://redirect.poketube.fun/watch?v=<%=inv_vid.videoId%>">
|
||||||
<div class="pill-button">
|
<div class="pill-button">
|
||||||
|
|
||||||
<i class="fa-light fa-shield"></i>
|
<i class="fa-light fa-rocket-launch"></i>
|
||||||
Encryption
|
Switch Instance
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -1188,8 +1184,12 @@ display: block; !important;" autoplay controls
|
||||||
<div style="text-align: left;" class="auto-play">
|
<div style="text-align: left;" class="auto-play">
|
||||||
<label for="continue">AutoPlay:</label>
|
<label for="continue">AutoPlay:</label>
|
||||||
<input name="continue" id="continue" type="checkbox" >
|
<input name="continue" id="continue" type="checkbox" >
|
||||||
|
|
||||||
|
<a href="/encryption?v=<%=inv_vid.videoId%>"><i class="fa-duotone fa-shield-halved " style="margin-left: 13em;"></i></a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags rec" >
|
<div class="tags rec" >
|
||||||
<div class="tag" style="background:var(--chip-background-hover)">
|
<div class="tag" style="background:var(--chip-background-hover)">
|
||||||
Recommended Videos
|
Recommended Videos
|
||||||
|
@ -1339,7 +1339,6 @@ Recommended Videos
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
|
|
||||||
function removeParam(paramName) {
|
function removeParam(paramName) {
|
||||||
let searchParams = new URLSearchParams(window.location.search);
|
let searchParams = new URLSearchParams(window.location.search);
|
||||||
searchParams.delete(paramName);
|
searchParams.delete(paramName);
|
||||||
|
@ -1402,7 +1401,10 @@ if (/[?&]autoplay=/.test(location.search)) {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script data-api-endpoint="/api/">
|
||||||
|
/*
|
||||||
|
* Loads modules
|
||||||
|
*/
|
||||||
try {
|
try {
|
||||||
const app_main = "/static/app.js?ver=<%-btoa("1f739d935676111cfff4b4693e3816e664797050" + k.Video.Recommendations.Video[0].id ) %>";
|
const app_main = "/static/app.js?ver=<%-btoa("1f739d935676111cfff4b4693e3816e664797050" + k.Video.Recommendations.Video[0].id ) %>";
|
||||||
const script = document.createElement("script");
|
const script = document.createElement("script");
|
||||||
|
|
Loading…
Reference in a new issue