f0ck profiles
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 19s
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 19s
This commit is contained in:
commit
56dcabfa94
|
@ -2861,3 +2861,17 @@ img#f0ck-image, div.imageDoor, div.posts a, video {
|
|||
border: 1px solid var(--accent);
|
||||
min-width: 30%;
|
||||
}
|
||||
|
||||
/* profile */
|
||||
.profile_head {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
align-items: center;
|
||||
background: var(--nav-bg);
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.layersoffear {
|
||||
display: grid;
|
||||
padding-left: 20px;
|
||||
}
|
|
@ -1,12 +1,22 @@
|
|||
@include(snippets/header)
|
||||
<div id="main">
|
||||
<div class="container">
|
||||
<h1>Henlo, {{ session.user }}</h1>
|
||||
<p>Hier entsteht eine Internetpräsenz!</p>
|
||||
<img src="/s/img/favicon.gif" alt="f0ck bash">
|
||||
<p>@if(typeof totals !== "undefined")
|
||||
<h1>ADMINBEREICH</h1>
|
||||
<h5>Hallo, {{ session.user }}</h5>
|
||||
<span>Hier entsteht eine Internetpräsenz!</span><br>
|
||||
<hr>
|
||||
<p>f0ck stats: @if(typeof totals !== "undefined")
|
||||
total: {{ totals.total }} | tagged: {{ totals.tagged }} | untagged: {{ totals.untagged }} | sfw: {{ totals.sfw }} | nsfw: {{ totals.nsfw }}
|
||||
@endif</p>
|
||||
<hr>
|
||||
<div class="admintools">
|
||||
<p>Adminwerkzeuge</p>
|
||||
<ul>
|
||||
<li><a href="/admin/log">Logs</a></li>
|
||||
<li><a href="/admin/recover">Recover f0cks</a></li>
|
||||
<li><a href="/admin/sessions">Sessions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@include(snippets/footer)
|
||||
|
|
|
@ -8,15 +8,13 @@
|
|||
<img src="@if(session.avatar)/t/{{ session.avatar }}.webp@else/s/img/ava/default.png@endif" class="avatar" /><span>{{ session.user }}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/admin/log">logfile</a></li>
|
||||
<li><a href="/admin/sessions">all sessions</a></li>
|
||||
<li><a href="/admin/recover">recover</a></li>
|
||||
<li><a href="/user/{{ session.user.toLowerCase() }}/f0cks">my f0cks</a></li>
|
||||
<li><a href="/user/{{ session.user.toLowerCase() }}/favs">my favs</a></li>
|
||||
<li><a href="/settings">settings</a></li>
|
||||
<li><a href="/search">search</a></li>
|
||||
<li><a href="/admin">Admin</a></li>
|
||||
<li><a href="/about">About</a></li>
|
||||
<li><a href="/ranking">Ranking</a></li>
|
||||
<li><a href="/ranking">ranking</a></li>
|
||||
<li><a href="/settings">settings</a></li>
|
||||
<li><a href="/logout">logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
|
@ -1,10 +1,20 @@
|
|||
@include(snippets/header)
|
||||
<div id="main">
|
||||
<h1>{{ user.user }}@if(user.avatar) <a href="/{{ user.avatar }}"><img src="/t/{{ user.avatar }}.webp" style="width: 24px" /></a>@endif</h1>
|
||||
<p>ID: {{ user.user_id }}</p>
|
||||
<p>{{ count.f0cks }} f0ck{{ count.f0cks == 1 ? '' : 's' }}</p>
|
||||
<p>{{ count.favs }} fav{{ count.favs == 1 ? '' : 's' }}</p>
|
||||
<p>Joined: {{ user.created_at }}</p>
|
||||
<div class="profile_head">
|
||||
@if(user.avatar)
|
||||
<div class="profile_head_avatar">
|
||||
<img src="/t/{{ user.avatar }}.webp" style="display: grid;width: 55px" />
|
||||
</div>
|
||||
@endif
|
||||
<div class="layersoffear">
|
||||
<div class="profile_head_username">
|
||||
<span>{{ user.user }}</span>
|
||||
</div>
|
||||
<div class="profile_head_user_stats">
|
||||
ID: {{ user.user_id }} {{ count.f0cks }} f0ck{{ count.f0cks == 1 ? '' : 's' }} {{ count.favs }} fav{{ count.favs == 1 ? '' : 's' }} Joined: {{ user.created_at }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>f0cks:</h2>
|
||||
@if('items' in f0cks)
|
||||
|
|
Loading…
Reference in New Issue
Block a user