diff --git a/assets/master.css b/assets/master.css
index 3c27779..7c8aecf 100644
--- a/assets/master.css
+++ b/assets/master.css
@@ -9,10 +9,6 @@
--links: #89b4fa;
}
-html, body {
- height: 98%;
-}
-
body {
background-color: var(--background);
color: var(--foreground);
@@ -53,6 +49,10 @@ li:before {
padding-right: 5px;
}
+ul.discord-widget > li::before {
+ content: "";
+}
+
p,
ul,
pre {
@@ -64,14 +64,6 @@ 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;
@@ -89,10 +81,6 @@ ul.members li:before {
content: none;
}
-ul.members li.error {
- color: lightcoral
-}
-
ul.sidebar-links li:before {
content: ">";
}
@@ -143,9 +131,11 @@ table.system-info tr td:first-child {
}
.page-container {
- min-height: 100%;
display: grid;
- grid-template-rows: auto 1fr auto;
+ grid-template-columns: 1fr 250px;
+ grid-template-rows: 1fr;
+ grid-column-gap: 0;
+ grid-row-gap: 0;
}
.page-container > div {
@@ -153,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 21b007c..51ccc0c 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,34 @@
members;
+}
+
// Execute the function and display results
$usernames = getUsers();
+$members = getDiscordWidget();
?>
@@ -35,112 +74,105 @@ $usernames = getUsers();
+
-
-
-
-
-
-
Members
-
- 0) { ?>
-
- - ~= $username ?>= $username == "amr" ? "*" : "" ?>
-
-
- - Error fetching members!
-
-
-
- * owner & admin
-
-
-
-
Services
-
-
- | git.frzn.dev |
- Forgejo1 |
- A lightweight git server (which is better than Gogs) |
-
-
- | p.frzn.dev |
- fiche |
- A command line pastebin (similar to termbin) |
-
-
- | pb.frzn.dev |
- PrivateBin |
- A minimalist, open source online pastebin |
-
-
- | bitwarden.frzn.dev |
- Vaultwarden1 |
- A Bitwarden-compatible server written in Rust |
-
-
- | Snowflake |
- |
- A web proxy server |
-
-
- | crypt.frzn.dev |
- CryptPad |
- An open-source web-based encrypted suite of realtime collaborative editors |
-
-
- | frzn.dev:64738 |
- Mumble1,2 |
- A VoIP server |
-
-
- | frzn.dev:6697/6667 |
- ZNC1 |
- An IRC bouncer |
-
-
-
- 1 Only available for existing members
- 2 Not running 24/7
-
-
-
-
-
-
-
System Info
-
-
- | time: |
- = gmdate("l, j F Y g:i:s A (e)") ?> |
-
-
- | os: |
- Ubuntu GNU/Linux 24.04 (LTS) |
-
-
-
-
-
+
+
Members
+
+ = count($usernames) == 0 ? "- Error Retrieving Users
" : "" ?>
+
+ - ~= $username ?>= $username == "amr" ? "*" : "" ?>
+
+
+
+ * owner & admin
+
-
+
+
+
-