From ce7f854dd67ee4cae7b58b0fa1cfe629d5234dd3 Mon Sep 17 00:00:00 2001 From: Abu Ottermann Date: Thu, 4 Jul 2024 01:18:37 +0200 Subject: [PATCH] wip --- public/s/css/f0ck.css | 17 +++++--- views/ranking.html | 94 ++++++++++++++++++++++++------------------- 2 files changed, 64 insertions(+), 47 deletions(-) diff --git a/public/s/css/f0ck.css b/public/s/css/f0ck.css index ed89d38..4fd2ae9 100644 --- a/public/s/css/f0ck.css +++ b/public/s/css/f0ck.css @@ -1618,9 +1618,10 @@ span.placeholder { } @media (max-width: 1325px) { - .ranking { +/* ranking page - idea */ + /* .ranking { grid-template-columns: 1fr 1fr !important; - } + } */ .by-user, .by-stats, @@ -2401,7 +2402,7 @@ table.table tbody tr:nth-of-type(odd) { .ranking { display: grid; grid-template-columns: auto; - justify-content: center; + /* justify-content: center; */ } .ranking div { @@ -2414,15 +2415,15 @@ table.table tbody tr:nth-of-type(odd) { } .by-user { - grid-column: 1; + grid-row: 1; } .by-stats { - grid-column: 3; + grid-row: 3; } .by-hoster { - grid-column: 2; + grid-row: 2; } /* tags */ @@ -3015,4 +3016,8 @@ input#s_avatar { #s_avatar:hover { background: #ffffff0f; +} +.theforceofthree { + display: grid; + grid-template-columns: 0.4fr 1fr 0.4fr; } \ No newline at end of file diff --git a/views/ranking.html b/views/ranking.html index 39bc6ad..6037a2e 100644 --- a/views/ranking.html +++ b/views/ranking.html @@ -1,51 +1,63 @@ @include(snippets/header)
-

Top f0ckers of all time
- Ranking -

+

f0ck Rankings?

-
-
-

Biggest taggers

- - - @for(let i = 0; i < list.length; i++) +
+
+
+
+
+

Biggest taggers

+
- - - - + + + + - @endfor - -
{{ i + 1 }}@if(list[i].admin)⭐ @endif{!! list[i].user !!}{{ list[i].count }}RankAvatarUsernameTagged
-
-
-

Top {{ hoster.length }} hoster

- - @each(hoster as host) - - @endeach -
{{ host.part.length ? host.part : "Telegram" }}{{ host.c }}
-
-
-

Tag stats

- - - - - - - - -
total{{ stats.total }}
tagged{{ stats.tagged }}
untagged{{ stats.untagged }}
SFW{{ stats.sfw }}
NSFW{{ stats.nsfw }}
deleted{{ stats.deleted }}
missing ids{{ stats.untracked }}
+ + @for(let i = 0; i < list.length; i++) + + {{ i + 1 }} + + @if(list[i].admin)⭐ @endif{!! list[i].user !!} + {{ list[i].count }} + + @endfor + + +
+
+

Top {{ hoster.length }} hoster

+ + @each(hoster as host) + + @endeach +
{{ host.part.length ? host.part : "Telegram" }}{{ host.c }}
+
+
+

Tag stats

+ + + + + + + + +
total{{ stats.total }}
tagged{{ stats.tagged }}
untagged{{ stats.untagged }}
SFW{{ stats.sfw }}
NSFW{{ stats.nsfw }}
deleted{{ stats.deleted }}
missing ids{{ stats.untracked }}
-

Top f0cks

- - @each(favotop as favo) - - @endeach -
{{ favo.item_id }}{{ favo.favs }}
+

Top f0cks

+ + @each(favotop as favo) + + @endeach +
{{ favo.item_id }}{{ favo.favs }}
+
-
+
+
+ @include(snippets/footer)