From 267a1427c3c1a9f9375caf893674ced205a6681b Mon Sep 17 00:00:00 2001 From: schrumpel <Âgit@f0ck.it> Date: Tue, 28 Nov 2023 22:24:40 +0100 Subject: [PATCH] profile --- public/s/css/f0ck.css | 14 ++++++++++++++ views/admin.html | 18 ++++++++++++++---- views/snippets/navbar.html | 8 +++----- views/user.html | 20 +++++++++++++++----- 4 files changed, 46 insertions(+), 14 deletions(-) diff --git a/public/s/css/f0ck.css b/public/s/css/f0ck.css index c702d35..e82a53b 100644 --- a/public/s/css/f0ck.css +++ b/public/s/css/f0ck.css @@ -2842,3 +2842,17 @@ ul.navbar-nav-guests li.nav-item { img#f0ck-image, div.imageDoor, div.posts a, video { animation: 1s ease-out 0s 1 fadeIn; } + +/* 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; +} \ No newline at end of file diff --git a/views/admin.html b/views/admin.html index b1fddab..a144f8e 100644 --- a/views/admin.html +++ b/views/admin.html @@ -1,12 +1,22 @@ @include(snippets/header)
-

Henlo, {{ session.user }}

-

Hier entsteht eine Internetpräsenz!

- f0ck bash -

@if(typeof totals !== "undefined") +

ADMINBEREICH

+
Hallo, {{ session.user }}
+ Hier entsteht eine Internetpräsenz!
+
+

f0ck stats: @if(typeof totals !== "undefined") total: {{ totals.total }} | tagged: {{ totals.tagged }} | untagged: {{ totals.untagged }} | sfw: {{ totals.sfw }} | nsfw: {{ totals.nsfw }} @endif

+
+
+

Adminwerkzeuge

+ +
@include(snippets/footer) diff --git a/views/snippets/navbar.html b/views/snippets/navbar.html index a4d5451..d67235d 100644 --- a/views/snippets/navbar.html +++ b/views/snippets/navbar.html @@ -8,15 +8,13 @@ {{ session.user }} diff --git a/views/user.html b/views/user.html index ee3bf8c..8930e95 100644 --- a/views/user.html +++ b/views/user.html @@ -1,10 +1,20 @@ @include(snippets/header)
-

{{ user.user }}@if(user.avatar) @endif

-

ID: {{ user.user_id }}

-

{{ count.f0cks }} f0ck{{ count.f0cks == 1 ? '' : 's' }}

-

{{ count.favs }} fav{{ count.favs == 1 ? '' : 's' }}

-

Joined: {{ user.created_at }}

+
+ @if(user.avatar) +
+ +
+ @endif +
+
+ {{ user.user }} +
+
+ ID: {{ user.user_id }} {{ count.f0cks }} f0ck{{ count.f0cks == 1 ? '' : 's' }} {{ count.favs }} fav{{ count.favs == 1 ? '' : 's' }} Joined: {{ user.created_at }} +
+
+

f0cks:

@if('items' in f0cks)