Add onion notice

This commit is contained in:
Roscoe 2025-07-07 02:06:10 +01:00
commit 9fda9df4b6
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
2 changed files with 20 additions and 3 deletions

View file

@ -77,6 +77,10 @@ ul.members li:before {
content: none; content: none;
} }
ul.members li.error {
color: lightcoral
}
ul.sidebar-links li:before { ul.sidebar-links li:before {
content: ">"; content: ">";
} }

View file

@ -37,16 +37,29 @@ $usernames = getUsers();
<div class="page-container"> <div class="page-container">
<div> <div>
<div class="header"> <div class="header">
<pre> _______ _____ <pre>
_______ _____
| ___|.----.-----.-----.-----.-----.| \.-----.--.--. | ___|.----.-----.-----.-----.-----.| \.-----.--.--.
| ___|&#8203;| _| _ |-- __| -__| |&#8203;| -- | -__| | | | ___|&#8203;| _| _ |-- __| -__| |&#8203;| -- | -__| | |
|___| |__| |_____|_____|_____|__|__|&#8203;|_____/|_____|\___/</pre> |___| |__| |_____|_____|_____|__|__|&#8203;|_____/|_____|\___/</pre>
</div> </div>
<div class="section tor-notice">
<pre>
+----------------------------------------------------------------+
| This site is accessible via Tor! |
| <a href="http://frzndev32nhnla77oozhxhz5yzo4abldr6zbc4qkdh5hcyanizlxs2ad.onion/">frzndev32nhnla77oozhxhz5yzo4abldr6zbc4qkdh5hcyanizlxs2ad.onion</a> |
+----------------------------------------------------------------+
</pre>
</div>
<div class="section"> <div class="section">
<p>Members</p> <p>Members</p>
<ul class="members"> <ul class="members">
<?php foreach ($usernames as $username) { ?> <?php if (count($usernames) > 0) { ?>
<li><a href="/~<?= $username ?>">~<?= $username ?></a><?= $username == "amr" ? "*" : "" ?></li> <?php foreach ($usernames as $username) { ?>
<li><a href="/~<?= $username ?>">~<?= $username ?></a><?= $username == "amr" ? "*" : "" ?></li>
<?php } ?>
<?php } else { ?>
<li class="error">Error fetching members!</li>
<?php } ?> <?php } ?>
</ul> </ul>
<small> <small>