From f47c6d1313d2bc7fe5856c9abe33bc5abe08a70c Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Sat, 28 Sep 2024 01:19:50 +0100 Subject: [PATCH 1/5] stupid stupid discord crap --- assets/master.css | 16 +++++++++++-- index.php | 60 +++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 70 insertions(+), 6 deletions(-) diff --git a/assets/master.css b/assets/master.css index 411f533..7c8aecf 100644 --- a/assets/master.css +++ b/assets/master.css @@ -49,6 +49,10 @@ li:before { padding-right: 5px; } +ul.discord-widget > li::before { + content: ""; +} + p, ul, pre { @@ -139,16 +143,24 @@ table.system-info tr td:first-child { } .page-container > div.sidebar { - border-left: 2px solid gray; + border-left: 2px solid var(--foreground); padding-left: 10px; } .footer hr { margin-top: 0; border: none; - border-top: 2px solid gray; + border-top: 2px solid var(--foreground); } small { line-height: 0; } + +div.indent { + padding-left: 1em; +} + +div.sidebar li.offline { + opacity: 80%; +} diff --git a/index.php b/index.php index ce09916..51ccc0c 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,34 @@ members; +} + // Execute the function and display results $usernames = getUsers(); +$members = getDiscordWidget(); ?> @@ -43,8 +82,9 @@ $usernames = getUsers(); |___| |__| |_____|_____|_____|__|__|​|_____/|_____|\___/
-

Members

+

Members

-

Services

+

Services

@@ -103,7 +143,7 @@ $usernames = getUsers();
-

System Info

+

System Info

git.frzn.dev
@@ -116,6 +156,18 @@ $usernames = getUsers();
time:
+ From 9fda9df4b6cd02f2a72a3d2410b8ecb17b831d5f Mon Sep 17 00:00:00 2001 From: Roscoe Date: Mon, 7 Jul 2025 02:06:10 +0100 Subject: [PATCH 3/5] Add onion notice --- assets/master.css | 4 ++++ index.php | 19 ++++++++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/assets/master.css b/assets/master.css index 411f533..172c059 100644 --- a/assets/master.css +++ b/assets/master.css @@ -77,6 +77,10 @@ ul.members li:before { content: none; } +ul.members li.error { + color: lightcoral +} + ul.sidebar-links li:before { content: ">"; } diff --git a/index.php b/index.php index 9975005..c17f871 100644 --- a/index.php +++ b/index.php @@ -37,16 +37,29 @@ $usernames = getUsers();
-
 _______                                _____
+                
+ _______                                _____
 |    ___|.----.-----.-----.-----.-----.|     \.-----.--.--.
 |    ___|​|   _|  _  |-- __|  -__|     |​|  --  |  -__|  |  |
 |___|    |__| |_____|_____|_____|__|__|​|_____/|_____|\___/
+
+
++----------------------------------------------------------------+
+|                This site is accessible via Tor!                |
+| frzndev32nhnla77oozhxhz5yzo4abldr6zbc4qkdh5hcyanizlxs2ad.onion |
++----------------------------------------------------------------+
+                
+

Members

    - -
  • ~
  • + 0) { ?> + +
  • ~
  • + + +
  • Error fetching members!
From c61b4715297df9f6233f794ac3f0e462519d683f Mon Sep 17 00:00:00 2001 From: Roscoe Date: Wed, 27 Aug 2025 14:22:33 +0100 Subject: [PATCH 4/5] Right-align system info --- assets/master.css | 8 +++ index.php | 167 ++++++++++++++++++++++++---------------------- 2 files changed, 96 insertions(+), 79 deletions(-) diff --git a/assets/master.css b/assets/master.css index 172c059..0391b18 100644 --- a/assets/master.css +++ b/assets/master.css @@ -60,6 +60,14 @@ pre { padding-bottom: 1em; } +.content { + display: grid; + grid-template-columns: auto max-content; + grid-template-rows: 1fr; + grid-column-gap: 0px; + grid-row-gap: 0px; +} + .section { min-width: 20em; width: max-content; diff --git a/index.php b/index.php index c17f871..7cdc828 100644 --- a/index.php +++ b/index.php @@ -43,90 +43,99 @@ $usernames = getUsers(); | ___|​| _| _ |-- __| -__| |​| -- | -__| | | |___| |__| |_____|_____|_____|__|__|​|_____/|_____|\___/
-
-
+            
+
+
+
 +----------------------------------------------------------------+
 |                This site is accessible via Tor!                |
 | frzndev32nhnla77oozhxhz5yzo4abldr6zbc4qkdh5hcyanizlxs2ad.onion |
 +----------------------------------------------------------------+
                 
+ +
+

Members

+
    + 0) { ?> + +
  • ~
  • + + +
  • Error fetching members!
  • + +
+ + * owner & admin + +
+
+

Services

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
git.frzn.devForgejo1A lightweight git server (which is better than Gogs)
p.frzn.devficheA command line pastebin (similar to termbin)
pb.frzn.devPrivateBinA minimalist, open source online pastebin
bitwarden.frzn.devVaultwarden1A Bitwarden-compatible server written in Rust
SnowflakeA web proxy server
crypt.frzn.devCryptPadAn open-source web-based encrypted suite of realtime collaborative editors
frzn.dev:64738Mumble1,2A VoIP server
frzn.dev:6697/6667ZNC1An IRC bouncer
+ + 1 Only available for existing members
+ 2 Not running 24/7 +
+
+ +
+
+
+

System Info

+ + + + + + + + + +
time:
os:Ubuntu GNU/Linux 24.04 (LTS)
+
+ +
-
-

Members

-
    - 0) { ?> - -
  • ~
  • - - -
  • Error fetching members!
  • - -
- - * owner & admin - -
-
-

Services

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
git.frzn.devForgejo1A lightweight git server (which is better than Gogs)
p.frzn.devficheA command line pastebin (similar to termbin)
pb.frzn.devPrivateBinA minimalist, open source online pastebin
bitwarden.frzn.devVaultwarden1A Bitwarden-compatible server written in Rust
SnowflakeA web proxy server
crypt.frzn.devCryptPadAn open-source web-based encrypted suite of realtime collaborative editors
frzn.dev:64738Mumble1,2A VoIP server
frzn.dev:6697/6667ZNC1An IRC bouncer
- - 1 Only available for existing members
- 2 Not running 24/7 -
-
-
-

System Info

- - - - - - - - - -
time:
os:Ubuntu GNU/Linux 24.04 (LTS)
@@ -136,4 +145,4 @@ $usernames = getUsers();
- + \ No newline at end of file From 69e9d63be792f54d2ae72b3c8c4a6251e6f0e974 Mon Sep 17 00:00:00 2001 From: Roscoe Date: Wed, 27 Aug 2025 14:22:44 +0100 Subject: [PATCH 5/5] Sticky footer to bottom of page --- assets/master.css | 10 ++++++---- index.php | 10 ++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/assets/master.css b/assets/master.css index 0391b18..3c27779 100644 --- a/assets/master.css +++ b/assets/master.css @@ -9,6 +9,10 @@ --links: #89b4fa; } +html, body { + height: 98%; +} + body { background-color: var(--background); color: var(--foreground); @@ -139,11 +143,9 @@ table.system-info tr td:first-child { } .page-container { + min-height: 100%; display: grid; - grid-template-columns: 1fr 250px; - grid-template-rows: 1fr; - grid-column-gap: 0; - grid-row-gap: 0; + grid-template-rows: auto 1fr auto; } .page-container > div { diff --git a/index.php b/index.php index 7cdc828..21b007c 100644 --- a/index.php +++ b/index.php @@ -35,7 +35,6 @@ $usernames = getUsers();
-
  _______                                _____
@@ -52,6 +51,7 @@ $usernames = getUsers();
 | frzndev32nhnla77oozhxhz5yzo4abldr6zbc4qkdh5hcyanizlxs2ad.onion |
 +----------------------------------------------------------------+
                 
+

Members

@@ -136,12 +136,10 @@ $usernames = getUsers();
+ -
-
-