blah
This commit is contained in:
parent
bca0da0b18
commit
bf437efeaf
|
@ -253,6 +253,10 @@ html[theme="paper"] .v0ck_player_button svg:hover {
|
||||||
stroke: var(--white);
|
stroke: var(--white);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html[theme="paper"] .badge-dark, #themeselector {
|
||||||
|
border: 1px solid var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
html[theme="atmos"] {
|
html[theme="atmos"] {
|
||||||
--accent: #1fb2b0;
|
--accent: #1fb2b0;
|
||||||
--bg: #161618;
|
--bg: #161618;
|
||||||
|
|
|
@ -47,8 +47,6 @@ const flash = ({ type, msg }) => {
|
||||||
if(!confirm("Do you really want to delete this tag?"))
|
if(!confirm("Do you really want to delete this tag?"))
|
||||||
return;
|
return;
|
||||||
const tagid = +e.target.parentElement.dataset.tagid;
|
const tagid = +e.target.parentElement.dataset.tagid;
|
||||||
/*if(!tags.includes(tag))
|
|
||||||
return alert("wtf");*/
|
|
||||||
const res = await deleteTag(postid, tagid);
|
const res = await deleteTag(postid, tagid);
|
||||||
if(!res.success)
|
if(!res.success)
|
||||||
return alert("uff");
|
return alert("uff");
|
||||||
|
@ -89,7 +87,7 @@ const flash = ({ type, msg }) => {
|
||||||
|
|
||||||
const span = document.createElement("span");
|
const span = document.createElement("span");
|
||||||
span.classList.add("badge", "badge-light", "mr-2");
|
span.classList.add("badge", "badge-light", "mr-2");
|
||||||
span.title = tag.user;
|
span.setAttribute('tooltip', tag.user);
|
||||||
span.dataset.tagid = tag.id;
|
span.dataset.tagid = tag.id;
|
||||||
|
|
||||||
if(tag.tag == "sfw") {
|
if(tag.tag == "sfw") {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@include(main/header)
|
@include(snippets/header)
|
||||||
<div class="about">
|
<div class="about">
|
||||||
<div>
|
<div>
|
||||||
<a href="/48908"><img src="/s/img/loool.webp" /></a>
|
<a href="/48908"><img src="/s/img/loool.webp" /></a>
|
||||||
|
@ -46,4 +46,4 @@
|
||||||
<p>Cookies: Yes, we set 1 cookie for your prefered stylesheet, this is a optional cookie and not required for the site to function, simply cosmetics, you can block this cookie and the site will still work as intended and will default to the default f0ck theme called "f0ck"</p>
|
<p>Cookies: Yes, we set 1 cookie for your prefered stylesheet, this is a optional cookie and not required for the site to function, simply cosmetics, you can block this cookie and the site will still work as intended and will default to the default f0ck theme called "f0ck"</p>
|
||||||
<p>Logs: No for Tor - Yes for cloudflare and cloudflare probably sells your soul to the devil, however our webserver doesn't log cloudflare connecting to our webserver, if you want to lurk without being flared by the cloud, see the above tor section my man</p>
|
<p>Logs: No for Tor - Yes for cloudflare and cloudflare probably sells your soul to the devil, however our webserver doesn't log cloudflare connecting to our webserver, if you want to lurk without being flared by the cloud, see the above tor section my man</p>
|
||||||
</div>
|
</div>
|
||||||
@include(main/footer)
|
@include(snippets/footer)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
@include(main/header_admin)
|
@include(snippets/header_admin)
|
||||||
|
|
||||||
@include(main/footer)
|
@include(snippets/footer)
|
|
@ -1,3 +1,3 @@
|
||||||
@include(main/header)
|
@include(snippets/header)
|
||||||
<h1>{{ message }}</h1>
|
<h1>{{ message }}</h1>
|
||||||
@include(main/footer)
|
@include(snippets/footer)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@include(main/header)
|
@include(snippets/header)
|
||||||
<div class="index-container">
|
<div class="index-container">
|
||||||
@if(tmp.user)<h2>user: {!! tmp.user.toLowerCase() !!}@if(tmp.mime) ({{ tmp.mime }}s)@else (all)@endif</h2>@endif
|
@if(tmp.user)<h2>user: {!! tmp.user.toLowerCase() !!}@if(tmp.mime) ({{ tmp.mime }}s)@else (all)@endif</h2>@endif
|
||||||
@if(tmp.tag)<h2>tag: @if(session)<a href="/admin/test?tag={!! tmp.tag.toLowerCase() !!}" target="_blank">{!! tmp.tag.toLowerCase() !!}</a>@else{!! tmp.tag.toLowerCase() !!}@endif@if(tmp.mime) ({{ tmp.mime }}s)@else (all)@endif</h2>@endif
|
@if(tmp.tag)<h2>tag: @if(session)<a href="/admin/test?tag={!! tmp.tag.toLowerCase() !!}" target="_blank">{!! tmp.tag.toLowerCase() !!}</a>@else{!! tmp.tag.toLowerCase() !!}@endif@if(tmp.mime) ({{ tmp.mime }}s)@else (all)@endif</h2>@endif
|
||||||
|
@ -11,4 +11,4 @@
|
||||||
▼
|
▼
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@include(main/footer)
|
@include(snippets/footer)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@include(main/header)
|
@include(snippets/header)
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="next-post">
|
<div class="next-post">
|
||||||
|
@ -16,8 +16,7 @@
|
||||||
<div hidden class="f0ck95"><img src="/s/img/f0ck95/computer.png" alt="f0ck95" loading="lazy" /><a href="/random">Random</a></div>
|
<div hidden class="f0ck95"><img src="/s/img/f0ck95/computer.png" alt="f0ck95" loading="lazy" /><a href="/random">Random</a></div>
|
||||||
@if(item.mime.startsWith("video"))
|
@if(item.mime.startsWith("video"))
|
||||||
<div class="embed-responsive embed-responsive-16by9">
|
<div class="embed-responsive embed-responsive-16by9">
|
||||||
<video id="my-video" class="embed-responsive-item" width="640" height="360" src="{{ item.dest }}"
|
<video id="my-video" class="embed-responsive-item" width="640" height="360" src="{{ item.dest }}" preload="auto" autoplay controls loop playsinline></video>
|
||||||
preload="auto" autoplay controls loop playsinline></video>
|
|
||||||
</div>
|
</div>
|
||||||
@elseif(item.mime.startsWith("audio"))
|
@elseif(item.mime.startsWith("audio"))
|
||||||
<div class="embed-responsive embed-responsive-16by9" style="background: url('@if(item.coverart)//f0ck.me{{ item.coverart }}@else/s/img/200.gif@endif') no-repeat center / contain black;">
|
<div class="embed-responsive embed-responsive-16by9" style="background: url('@if(item.coverart)//f0ck.me{{ item.coverart }}@else/s/img/200.gif@endif') no-repeat center / contain black;">
|
||||||
|
@ -63,16 +62,15 @@
|
||||||
<span class="badge badge-dark" id="tags">
|
<span class="badge badge-dark" id="tags">
|
||||||
@if(typeof item.tags !== "undefined")
|
@if(typeof item.tags !== "undefined")
|
||||||
@each(item.tags as tag)
|
@each(item.tags as tag)
|
||||||
<span @if(session)@if(session.id != 9)tooltip@elseiftitle@endif="{{ tag.user }}" data-tagid="{{ tag.id }}"@endif class="badge@if(tag.tag[0] == "&") badge-greentext@endif badge-{{ (tag.tag === "nsfw" ? "danger" : tag.tag === "sfw" ? "success" : "light") }} mr-2">
|
<span @if(session)tooltip="{{ tag.user }}" data-tagid="{{ tag.id }}"@endif class="badge@if(tag.tag[0] == "&") badge-greentext@endif badge-{{ (tag.tag === "nsfw" ? "danger" : tag.tag === "sfw" ? "success" : "light") }} mr-2">
|
||||||
<a href="/tag/{{ tag.tag.replace(/\s/g, "%20") }}">{{ tag.tag }}</a>@if(session) <a href="#">×</a>@endif
|
<a href="/tag/{{ tag.tag.replace(/\s/g, "%20") }}">{{ tag.tag }}</a>@if(session) <a href="#">×</a>@endif
|
||||||
</span>
|
</span>
|
||||||
@endeach
|
@endeach
|
||||||
@endif
|
@endif
|
||||||
@if(session)
|
@if(session)
|
||||||
<a href="#" id="a_addtag">add tag</a>
|
<a href="#" id="a_addtag">add tag</a> - <a href="#" id="a_toggle">toggle</a>
|
||||||
- <a href="#" id="a_toggle">toggle</a>
|
|
||||||
@endif
|
@endif
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@include(main/footer)
|
@include(snippets/footer)
|
|
@ -1,15 +0,0 @@
|
||||||
@if(typeof pagination !== "undefined")
|
|
||||||
<nav class="pagination">
|
|
||||||
<a href="/{{ pagination.link }}@if(pagination.link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.start }}" class="page-item-1 btn start@if(!pagination.prev) disabled@endif">«</a>
|
|
||||||
<a href="/{{ pagination.link }}@if(pagination.link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.prev }}" class="page-item-2 btn prev@if(!pagination.prev) disabled@endif">‹</a>
|
|
||||||
@each(pagination.cheat as i)
|
|
||||||
@if(i == pagination.page)
|
|
||||||
<span class="btn disabled">{{ i }}</span>
|
|
||||||
@else
|
|
||||||
<a href="/{{ pagination.link }}@if(pagination.link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ i }}" class="pagination-int-item btn">{{ i }}</a>
|
|
||||||
@endif
|
|
||||||
@endeach
|
|
||||||
<a href="/{{ pagination.link }}@if(pagination.link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.next }}" class="page-item-3 btn next@if(!pagination.next) disabled@endif">›</a>
|
|
||||||
<a href="/{{ pagination.link }}@if(pagination.link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.end }}" class="page-item-4 btn start@if(!pagination.next) disabled@endif">»</a>
|
|
||||||
</nav>
|
|
||||||
@endif
|
|
|
@ -1,4 +1,4 @@
|
||||||
@include(main/header)
|
@include(snippets/header)
|
||||||
<h1>Ranking lol</h1>
|
<h1>Ranking lol</h1>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -26,4 +26,4 @@
|
||||||
<tr><td>SFW</td><td>{{ stats.sfw }}</td></tr>
|
<tr><td>SFW</td><td>{{ stats.sfw }}</td></tr>
|
||||||
<tr><td>NSFW</td><td>{{ stats.nsfw }}</td></tr>
|
<tr><td>NSFW</td><td>{{ stats.nsfw }}</td></tr>
|
||||||
</table>
|
</table>
|
||||||
@include(main/footer)
|
@include(snippets/footer)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@include(main/header)
|
@include(snippets/header)
|
||||||
<h1>Settings</h1>
|
<h1>Settings</h1>
|
||||||
<h2>Account</h2>
|
<h2>Account</h2>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
|
@ -40,4 +40,4 @@
|
||||||
@endeach
|
@endeach
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@include(main/footer)
|
@include(snippets/footer)
|
||||||
|
|
|
@ -60,7 +60,21 @@
|
||||||
<div class="collapse navbar-collapse show" id="navbarSupportedContent">
|
<div class="collapse navbar-collapse show" id="navbarSupportedContent">
|
||||||
<div class="pagination-container-fluid">
|
<div class="pagination-container-fluid">
|
||||||
<div class="pagination-wrapper">
|
<div class="pagination-wrapper">
|
||||||
@if(typeof pagination !== "undefined")@include(partials/pagination)@endif
|
@if(typeof pagination !== "undefined")
|
||||||
|
<nav class="pagination">
|
||||||
|
<a href="/{{ pagination.link }}@if(pagination.link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.start }}" class="page-item-1 btn start@if(!pagination.prev) disabled@endif">«</a>
|
||||||
|
<a href="/{{ pagination.link }}@if(pagination.link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.prev }}" class="page-item-2 btn prev@if(!pagination.prev) disabled@endif">‹</a>
|
||||||
|
@each(pagination.cheat as i)
|
||||||
|
@if(i == pagination.page)
|
||||||
|
<span class="btn disabled">{{ i }}</span>
|
||||||
|
@else
|
||||||
|
<a href="/{{ pagination.link }}@if(pagination.link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ i }}" class="pagination-int-item btn">{{ i }}</a>
|
||||||
|
@endif
|
||||||
|
@endeach
|
||||||
|
<a href="/{{ pagination.link }}@if(pagination.link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.next }}" class="page-item-3 btn next@if(!pagination.next) disabled@endif">›</a>
|
||||||
|
<a href="/{{ pagination.link }}@if(pagination.link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.end }}" class="page-item-4 btn start@if(!pagination.next) disabled@endif">»</a>
|
||||||
|
</nav>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user