initial commit

This commit is contained in:
fosslinux 2019-02-26 19:51:10 +00:00
commit 4ab287ea61
4 changed files with 329 additions and 0 deletions

89
index.php Normal file
View File

@ -0,0 +1,89 @@
<!DOCTYPE html>
<html lang="en-AU">
<head>
<link rel="icon" href="favicon.png">
<link rel="stylesheet" title="Outback" href="outback.css">
<meta charset="UTF-8">
<title>aussietilde</title>
</head>
<body>
<h1>aussies.space</h1><br>
<h2>the space for aussies!</h2>
<nav>
<ul>
<li><a href="/join.php">Join</a></li>
<li><a href="/coc.php">Code of Conduct</a></li>
<li><a href="/faq.php">FAQ</a></li>
<li><a href="/wiki.php">Wiki</a></li>
</ul>
</nav>
<section id="about">
<h2>about aussies.space</h2>
<p>
aussies.space, otherwise known as aussietilde,
is a shared, publicly accessible
linux system, known as a tilde or pubnix.
aussietilde is inspired by other tildes such as tilde.team,
the major difference being that aussietilde is physically
located in australia, meaning way faster loading times and
way better ping.
</p>
</section>
<section id="members">
<h2>our web pages!</h2>
<div class="long">
<ul>
<?php
// code from tilde.team, credit to ~ben
foreach (glob("/home/*") as $user):
if (!is_dir("$user/public_html")
|| (
file_exists("$user/public_html/index.php") ||
file_exists("$user/public_html/index.html")
)
&& ((in_array(sha1_file("$user/public_html/index.php"),
// sha1 of default page
["645ffc0af02a44bb6ab23c9e0eb0868b7511401e"])) ||
(in_array(sha1_file("$user/public_html/index.html"),
["645ffc0af02a44bb6ab23c9e0eb0868b7511401e"]))
)) {
continue;
}
$user = basename($user);
?>
<li>
<a href="/~<?=$user?>/">
~<?=$user?>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
</section>
<section id="news">
<h2>News</h2>
<!-- TODO: add feed <p><a href="feed.rss">Feed link</a></p> -->
<div class="long">
<article>
<h3>we have a website!</h3>
<p>
<time datetime="2019-02-24">
24/02/2019
<abbr title="Australian Eastern Daylight Time">
AEDT
</abbr>
</time>
</p>
<p>aussietilde now has a website! sign ups should be open within the next 2-3 days.</p>
</article>
<hr>
</div>
</section>
<footer>
<ul>
<li><a href="/contact.php">Contact</a></li>
<li><a href="https://tildeverse.org" target="_blank">tildeverse.org</a></li>
</ul>
</footer>
</body>
</html>

47
join.php Normal file
View File

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en-AU">
<head>
<link rel="icon" href="favicon.png">
<link rel="stylesheet" title="Outback" href="outback.css">
<meta charset="UTF-8">
<title>aussietilde</title>
</head>
<body>
<h1>aussies.space</h1><br>
<h2>the space for aussies!</h2>
<nav>
<ul>
<li><a href="/index.php">Home</a></li>
<li><a href="/join.php">Join</a></li>
<li><a href="/coc.php">Code of Conduct</a></li>
<li><a href="/faq.php">FAQ</a></li>
<li><a href="/wiki.php">Wiki</a></li>
</ul>
</nav>
<section id="sign up">
<h2>sign ups are not yet open</h2>
<!-- <h2>sign up for aussies.space!</h2>
<p>
we'd love to have you join us!
</p>
<p>
please email
<a href="mailto:fosslinux@aussies.space">fosslinux@aussies.space</a><br>
with the following information:
</p>
<ul>
<li>your desired username</li>
<li>your contact email address</li>
<li>why you would like to join aussies.space (optional)</li>
<li>how you found out about aussies.space (optional)</li>
<li>your SSH pubkey</li>
</ul>
</section>-->
<footer>
<ul>
<li><a href="/contact.php">Contact</a></li>
<li><a href="https://tildeverse.org" target="_blank">tildeverse</a></li>
</ul>
</footer>
</body>
</html>

153
outback.css Normal file
View File

@ -0,0 +1,153 @@
@charset "UTF-8";
/* Colours
Orange : #e33c2c
lighter: #e66d3d
#ec887d
#e67026
Green : #677c3b
Blue : #87a6d4
*/
a {
text-decoration-skip-ink: auto;
}
body {
background-color: #e33c2c;
font-family: "Monospace";
margin: 0;
padding: 0;
}
div.long {
max-height: 22em;
overflow-y: auto;
padding-right: 1em;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.6em;
}
h3 {
font-size: 1.3em;
}
li,
a,
p {
font-size: 1em;
}
h1,
h2,
h3 {
font-weight: normal;
text-transform: lowercase;
}
h1,
h2 {
margin-top: 0;
}
h1,
h2,
h3 {
background-color: #677c3b;
color: #ffff55;
display: inline-block
}
header,
footer,
section {
box-shadow: 0.5em 0.5em 0px #711e16;
box-sizing: border-box;
-webkit-box-sizing: border-box;
margin: 0.5em;
padding: 1em;
}
header,
footer {
background-color: #87a6d4;
}
hr {
border: none;
border-bottom: dashed 1px black;
}
section {
background-color: #e66d3d;
}
/* Bullets */
ul,
ol {
list-style-type: none;
padding-left: 0;
margin-left: 0;
}
li::before {
content: "~> ";
}
footer ul li,
nav ul li {
display: inline-block;
}
footer ul li: not(:first-child)::before,
nav ul li: not(:first-child)::before {
content: ":: ";
}
/* Grid stuffs */
main {
display: grid;
grid-template-areas:
"header header header"
"about news members"
"footer footer footer";
grid-template-columns: 2fr 2fr 1fr;
}
footer {
grid-area: footer;
}
header {
grid-area: header;
}
section#about {
grid-area: about;
}
section#members {
grid-area: members;
}
section#news {
grid-area: news;
}
::selection {
background-color: #711e16;
color: white;
}
::-moz-selection {
background-color: #711e16;
color: white;
}

40
template.html Normal file
View File

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en-AU">
<head>
<link rel="icon" href="favicon.png">
<link rel="stylesheet" title="Outback" href="outback.css">
<meta charset="UTF-8">
<title>aussietilde</title>
</head>
<body>
<h1>aussies.space</h1><br>
<h2>the space for aussies!</h2>
<nav>
<ul>
<li><a href="/index.php">Home</a></li>
<li><a href="/join.php">Join</a></li>
<li><a href="/coc.php">Code of Conduct</a></li>
<li><a href="/faq.php">FAQ</a></li>
<li><a href="/wiki.php">Wiki</a></li>
</ul>
</nav>
<section id="about">
<h2>about aussies.space</h2>
<p>
aussies.space, otherwise known as aussietilde,
is a shared, publicly accessible
linux system, known as a tilde or pubnix.
aussietilde is inspired by other tildes such as tilde.team,
the major difference being that aussietilde is physically
located in australia, meaning way faster loading times and
way better ping.
</p>
</section>
<footer>
<ul>
<li><a href="/contact.php">Contact</a></li>
<li><a href="https://tildeverse.org" target="_blank">tildeverse</a></li>
</ul>
</footer>
</body>
</html>