Merge pull request #21 from tildeclub/layoutchange

Layoutchange
This commit is contained in:
deepend-tildeclub 2020-05-05 23:39:37 -06:00 committed by GitHub
commit c8179d140c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 73 additions and 55 deletions

109
index.php
View File

@ -41,41 +41,7 @@
<li>most of the info from previous wiki iterations are now consolidated on our new <a href="/wiki/">wiki</a></li>
<li>we have a new donation page set up on <a href="https://liberapay.com/tilde.club">liberapay</a></li>
</ul>
<hr>
<h2>tilde.club gold star supporters</h2>
<p>Tilde.Club is supported by a global community of good people. We
don't rank people by the amount they give, only by the fact that they
gave. Here's who has donated! When you're on the server, THANK
THEM.</p>
<ul>
<li>4/21/2020 | <a href="/~cano">~cano</a></li>
<li>11/9/2019 | <a href="/~sneak">~sneak</a></li>
<li>10/5/2014 | <a href="/~beau">~beau</a></li>
<li>10/5/2014 | <a href="/~skk">~skk</a></li>
<li>10/5/2014 | <a href="/~joeld">~joeld</a></li>
<li>10/5/2014 | <a href="/~john">~john</a></li>
<li>10/5/2014 | <a href="/~brendn">~brendn</a></li>
<li>10/5/2014 | <a href="/~droob">~droob</a></li>
<li>10/5/2014 | <a href="/~delfuego">~delfuego</a></li>
<li>10/5/2014 | <a href="/~jonathan">~jonathan</a></li>
<li>10/5/2014 | <a href="/~coldmode">~coldmode</a></li>
<li>10/5/2014 | <a href="/~jemal">~jemal</a></li>
<li>10/5/2014 | <a href="/~jonbell">~jonbell</a></li>
<li>10/5/2014 | <a href="/~_">~_</a></li>
<li>10/5/2014 | <a href="/~dvd">~dvd</a></li>
<li>10/5/2014 | <a href="/~whitneymcn">~whitneymcn</a></li>
<li>10/5/2014 | <a href="/~jimray">~jimray</a></li>
<li>10/5/2014 | <a href="/~schussat">~schussat</a></li>
<li>10/5/2014 | <a href="/~macdiva">~macdiva</a></li>
<li>10/3/2014 | <a href="/~extraface">~extraface</a></li>
<li>10/3/2014 | <a href="/~joshuag">~joshuag</a></li>
<li>10/3/2014 | <a href="/~zarate">~zarate</a></li>
<li>10/3/2014 | <a href="/~englishm">~englishm</a></li>
<li>10/3/2014 | <a href="/~danbri">~danbri</a></li>
</ul>
</div>
<div class="col">
@ -90,28 +56,65 @@
RECENTLY CHANGED PAGES</a> you can see that too
</p>
<h3>here are the home pages of our users</h3>
<p>this list does not include people who haven't changed their page yet</p>
<p>if you're not seeing yourself listed here, change your page from the default.</p>
<p><a href="/users/">list all users</a></p>
<hr>
<h2>tilde.club gold star supporters</h2>
<p>Tilde.Club is supported by a global community of
good people. We don't rank people by the amount
they give, only by the fact that they gave.
Here's who has donated! When you're on the
server, THANK THEM.</p>
<ul>
<li>4/21/2020 | <a href="/~cano">~cano</a></li>
<li>11/9/2019 | <a href="/~sneak">~sneak</a></li> <li>10/5/2014 | <a href="/~beau">~beau</a></li> <li>10/5/2014 | <a href="/~skk">~skk</a></li> <li>10/5/2014 | <a href="/~joeld">~joeld</a></li> <li>10/5/2014 | <a href="/~john">~john</a></li> <li>10/5/2014 | <a href="/~brendn">~brendn</a></li>
<li>10/5/2014 | <a href="/~droob">~droob</a></li>
<li>10/5/2014 | <a href="/~delfuego">~delfuego</a></li>
<li>10/5/2014 | <a href="/~jonathan">~jonathan</a></li>
<li>10/5/2014 | <a href="/~coldmode">~coldmode</a></li>
<li>10/5/2014 | <a href="/~jemal">~jemal</a></li>
<li>10/5/2014 | <a href="/~jonbell">~jonbell</a></li>
<li>10/5/2014 | <a href="/~_">~_</a></li>
<li>10/5/2014 | <a href="/~dvd">~dvd</a></li>
<li>10/5/2014 | <a href="/~whitneymcn">~whitneymcn</a></li>
<li>10/5/2014 | <a href="/~jimray">~jimray</a></li>
<li>10/5/2014 | <a href="/~schussat">~schussat</a></li>
<li>10/5/2014 | <a href="/~macdiva">~macdiva</a></li>
<li>10/3/2014 | <a href="/~extraface">~extraface</a></li>
<li>10/3/2014 | <a href="/~joshuag">~joshuag</a></li>
<li>10/3/2014 | <a href="/~zarate">~zarate</a></li>
<li>10/3/2014 | <a href="/~englishm">~englishm</a></li>
<li>10/3/2014 | <a href="/~danbri">~danbri</a></li>
</ul>
<ol>
<?php foreach (glob("/home/*") as $user) {
$index = "$user/public_html/index.html";
if (!file_exists($index) ||
in_array(sha1_file($index),
// these are the hashes of previous and current default pages
["0eb53dab435e2e6e401921146bed85a80e9ad3a1",
"61eff8202777bae134ac4b11f1e16ec23dfc97d3",
"e9d41eab6edb7cd375c63ecb4a23bca928992547",
"cb2ce535ab34edebc225e88a321f972ba55763c3",
"13af6898f536265af7dbbe2935b591f5e2ee0d7d"])) continue;
$user = basename($user); ?>
<li><a href="/~<?=$user?>/">~<?=$user?></a></li>
<?php } ?>
</ol>
</div>
</div>
<div class="col">
<h3>here are the home pages of our users</h3>
<p>this list does not include people who haven't changed their page yet</p>
<p>if you're not seeing yourself listed here, change your page from the default.</p>
<p><a href="/users/">list all users</a></p>
<ul class="user-list">
<?php foreach (glob("/home/*") as $user) {
$index = "$user/public_html/index.html";
if (!file_exists($index) ||
in_array(sha1_file($index),
// these are the hashes of previous and current default pages
["0eb53dab435e2e6e401921146bed85a80e9ad3a1",
"61eff8202777bae134ac4b11f1e16ec23dfc97d3",
"e9d41eab6edb7cd375c63ecb4a23bca928992547",
"cb2ce535ab34edebc225e88a321f972ba55763c3",
"13af6898f536265af7dbbe2935b591f5e2ee0d7d"])) continue;
$user = basename($user); ?>
<li><a href="/~<?=$user?>/">~<?=$user?></a></li>
<?php } ?>
</ul>
</div>
</div>
<p>big kudos and thanks to the people who built the original tilde.club!</p>

View File

@ -12,9 +12,24 @@
border: 6px double #fb5;
padding: 1em;
}
ol {
margin-left: 1em;
.user-list {
display: flex;
flex-flow: row wrap;
justify-content: space-evenly;
}
.user-list li {
margin-left: 5%;
width: 20%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.user-list::after {
content: "";
flex: auto;
}
body {
margin: auto;
padding: 1em;