Add onion notice
This commit is contained in:
parent
d2375beed6
commit
9fda9df4b6
2 changed files with 20 additions and 3 deletions
|
|
@ -77,6 +77,10 @@ ul.members li:before {
|
|||
content: none;
|
||||
}
|
||||
|
||||
ul.members li.error {
|
||||
color: lightcoral
|
||||
}
|
||||
|
||||
ul.sidebar-links li:before {
|
||||
content: ">";
|
||||
}
|
||||
|
|
|
|||
19
index.php
19
index.php
|
|
@ -37,16 +37,29 @@ $usernames = getUsers();
|
|||
<div class="page-container">
|
||||
<div>
|
||||
<div class="header">
|
||||
<pre> _______ _____
|
||||
<pre>
|
||||
_______ _____
|
||||
| ___|.----.-----.-----.-----.-----.| \.-----.--.--.
|
||||
| ___|​| _| _ |-- __| -__| |​| -- | -__| | |
|
||||
|___| |__| |_____|_____|_____|__|__|​|_____/|_____|\___/</pre>
|
||||
</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">
|
||||
<p>Members</p>
|
||||
<ul class="members">
|
||||
<?php foreach ($usernames as $username) { ?>
|
||||
<li><a href="/~<?= $username ?>">~<?= $username ?></a><?= $username == "amr" ? "*" : "" ?></li>
|
||||
<?php if (count($usernames) > 0) { ?>
|
||||
<?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 } ?>
|
||||
</ul>
|
||||
<small>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue