Compare commits
1 commit
master
...
i-hate-com
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5692cd11b7 |
3 changed files with 83 additions and 120 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -37,6 +37,3 @@
|
|||
# JetBrains can you not
|
||||
.idea/*
|
||||
/tmp
|
||||
|
||||
# VScode can you not
|
||||
.vscode/*
|
||||
|
|
|
|||
|
|
@ -9,10 +9,6 @@
|
|||
--links: #89b4fa;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 98%;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--foreground);
|
||||
|
|
@ -64,14 +60,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 +77,6 @@ ul.members li:before {
|
|||
content: none;
|
||||
}
|
||||
|
||||
ul.members li.error {
|
||||
color: lightcoral
|
||||
}
|
||||
|
||||
ul.sidebar-links li:before {
|
||||
content: ">";
|
||||
}
|
||||
|
|
@ -143,9 +127,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 {
|
||||
|
|
|
|||
28
index.php
28
index.php
|
|
@ -35,34 +35,19 @@ $usernames = getUsers();
|
|||
|
||||
<body>
|
||||
<div class="page-container">
|
||||
<div>
|
||||
<div class="header">
|
||||
<pre>
|
||||
_______ _____
|
||||
<pre> _______ _____
|
||||
| ___|.----.-----.-----.-----.-----.| \.-----.--.--.
|
||||
| ___|​| _| _ |-- __| -__| |​| -- | -__| | |
|
||||
|___| |__| |_____|_____|_____|__|__|​|_____/|_____|\___/</pre>
|
||||
</div>
|
||||
<div class="content">
|
||||
<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 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>
|
||||
* owner & admin
|
||||
|
|
@ -117,9 +102,6 @@ $usernames = getUsers();
|
|||
<sup>2</sup> Not running 24/7
|
||||
</small>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="section">
|
||||
<p>System Info</p>
|
||||
<table class="system-info">
|
||||
|
|
@ -133,13 +115,11 @@ $usernames = getUsers();
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
(c) frzn.dev 2018 - <?= date('Y') ?> / design and "backend" by <a href="/~roscoe">~roscoe</a>
|
||||
</div>
|
||||
(c) frzn.dev 2018 - <?= date('Y') ?> / design and "backend" by <a href="/~floppy">~floppy</a>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue