mirror of https://github.com/tildeclub/site
trim ssh keys and format css
This commit is contained in:
parent
f0cbce70a4
commit
3acfca56c5
52
index.php
52
index.php
|
@ -1,9 +1,9 @@
|
|||
<?php include "header.php"; ?>
|
||||
|
||||
<h1>$ welcome to tilde.club</h1>
|
||||
<p><a href="/~faq">Questions? See the official FAQ.</a></p>
|
||||
<p><a href="/wiki/faq.html">Questions? See the official FAQ.</a></p>
|
||||
|
||||
<p class="advisory">SERVICE ADVISORY: New Server, New Owners, New lease on life for tilde.club. Welcome!. The Expected SSH Hostkey is SHA256:duamOATgnGcfRFFkotCwrAWzZtRjwxm64WAhq5tQRwE and will match the SSHFP records in DNS. You can use ssh -o "VerifyHostKeyDNS yes" user@tilde.club to verify that the key matches DNS.</p>
|
||||
<p class="advisory">SERVICE ADVISORY: New Server, New Owners, New lease on life for tilde.club. Welcome!. The Expected SSH Hostkey is SHA256:duamOATgnGcfRFFkotCwrAWzZtRjwxm64WAhq5tQRwE.</p>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -38,30 +38,30 @@
|
|||
gave. Here's who has donated! When you're on the server, THANK
|
||||
THEM.</p>
|
||||
|
||||
<pre>
|
||||
10/5/2014 | <a href="/~beau">~beau</a>
|
||||
10/5/2014 | <a href="/~skk">~skk</a>
|
||||
10/5/2014 | <a href="/~joeld">~joeld</a>
|
||||
10/5/2014 | <a href="/~john">~john</a>
|
||||
10/5/2014 | <a href="/~brendn">~brendn</a>
|
||||
10/5/2014 | <a href="/~droob">~droob</a>
|
||||
10/5/2014 | <a href="/~delfuego">~delfuego</a>
|
||||
10/5/2014 | <a href="/~jonathan">~jonathan</a>
|
||||
10/5/2014 | <a href="/~coldmode">~coldmode</a>
|
||||
10/5/2014 | <a href="/~jemal">~jemal</a>
|
||||
10/5/2014 | <a href="/~jonbell">~jonbell</a>
|
||||
10/5/2014 | <a href="/~_">~_</a>
|
||||
10/5/2014 | <a href="/~dvd">~dvd</a>
|
||||
10/5/2014 | <a href="/~whitneymcn">~whitneymcn</a>
|
||||
10/5/2014 | <a href="/~jimray">~jimray</a>
|
||||
10/5/2014 | <a href="/~schussat">~schussat</a>
|
||||
10/5/2014 | <a href="/~macdiva">~macdiva</a>
|
||||
10/3/2014 | <a href="/~extraface">~extraface</a>
|
||||
10/3/2014 | <a href="/~joshuag">~joshuag</a>
|
||||
10/3/2014 | <a href="/~zarate">~zarate</a>
|
||||
10/3/2014 | <a href="/~englishm">~englishm</a>
|
||||
10/3/2014 | <a href="/~danbri">~danbri</a>
|
||||
</pre>
|
||||
<ul>
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -3,7 +3,6 @@ $title = "sign up for the tilde.club!";
|
|||
include __DIR__."/../header.php";
|
||||
?>
|
||||
|
||||
<h1>devmode!! please do not use yet!!</h1>
|
||||
<h1>sign up to join tilde.club</h1>
|
||||
|
||||
<p>we're excited you're here! let's get you signed up!</p>
|
||||
|
|
|
@ -68,7 +68,7 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) {
|
|||
if (strlen($name) > 32)
|
||||
$message .= "<li>username too long (32 character max)</li>";
|
||||
|
||||
if (!preg_match('/^[a-z][a-z0-9]{2,31}$/', $name))
|
||||
if (!preg_match('/^[a-z][a-z0-9]{1,30}$/', $name))
|
||||
$message .= "<li>username contains invalid characters (lowercase only, must start with a letter)</li>";
|
||||
|
||||
if ($_REQUEST["sshkey"] == "" || mb_substr($_REQUEST["sshkey"], 0, 4) !== "ssh-")
|
||||
|
@ -97,7 +97,8 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) {
|
|||
|
||||
// no validation errors
|
||||
if ($message == "") {
|
||||
$makeuser = "makeuser {$_REQUEST["username"]} {$_REQUEST["email"]} \"{$_REQUEST["sshkey"]}\"";
|
||||
$sshkey = trim($_REQUEST["sshkey"]);
|
||||
$makeuser = "makeuser {$_REQUEST["username"]} {$_REQUEST["email"]} \"{$sshkey}\"";
|
||||
$msgbody = "
|
||||
username: {$_REQUEST["username"]}
|
||||
email: {$_REQUEST["email"]}
|
||||
|
|
125
style.css
125
style.css
|
@ -1,64 +1,103 @@
|
|||
* {font-size:13pt;font-weight:normal;}
|
||||
/* {font-size:13pt;font-weight:normal;} */
|
||||
|
||||
table {border-collapse:collapse;}
|
||||
td {border:6px double darkorange;padding:10px;}
|
||||
ol {margin-left:1em;}
|
||||
body {
|
||||
margin:1em;
|
||||
background:000;
|
||||
font-family:'courier new';
|
||||
color:darkorange;
|
||||
background:#000400;
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
a {background:darkorange;color:#223;font-weight:bold;padding-right:.25em;}
|
||||
.advisory {background:darkorange;color:#223;font-weight:bold;padding-right:.25em;}
|
||||
h1 {text-transform:uppercase;font-weight:bold;
|
||||
color:#000400; background:darkorange;
|
||||
td {
|
||||
border: 6px double darkorange;
|
||||
padding: 10px;
|
||||
}
|
||||
ol {
|
||||
margin-left: 1em;
|
||||
}
|
||||
body {
|
||||
margin: 1em;
|
||||
background: 000;
|
||||
font-family: "courier new", monospace;
|
||||
color: darkorange;
|
||||
background: #000400;
|
||||
}
|
||||
a {
|
||||
background: darkorange;
|
||||
color: #223;
|
||||
font-weight: bold;
|
||||
padding-right: 0.25em;
|
||||
}
|
||||
.advisory {
|
||||
background: darkorange;
|
||||
color: #223;
|
||||
font-weight: bold;
|
||||
padding-right: 0.25em;
|
||||
}
|
||||
h1 {
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
color: #000400;
|
||||
background: darkorange;
|
||||
}
|
||||
|
||||
.advisory {
|
||||
-webkit-animation-name: blinker;
|
||||
-webkit-animation-duration: 8s;
|
||||
-webkit-animation-timing-function: linear;
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
-webkit-animation-name: blinker;
|
||||
-webkit-animation-duration: 8s;
|
||||
-webkit-animation-timing-function: linear;
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
|
||||
-moz-animation-name: blinker;
|
||||
-moz-animation-duration: 8s;
|
||||
-moz-animation-timing-function: linear;
|
||||
-moz-animation-iteration-count: infinite;
|
||||
-moz-animation-name: blinker;
|
||||
-moz-animation-duration: 8s;
|
||||
-moz-animation-timing-function: linear;
|
||||
-moz-animation-iteration-count: infinite;
|
||||
|
||||
animation-name: blinker;
|
||||
animation-duration: 8s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: blinker;
|
||||
animation-duration: 8s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
input[type="text"], textarea {
|
||||
background-color : #333;
|
||||
color: darkorange;
|
||||
input[type="text"],
|
||||
textarea {
|
||||
background-color: #333;
|
||||
color: darkorange;
|
||||
}
|
||||
|
||||
div.alert-warning {
|
||||
background-color: darkred;
|
||||
background-color: darkred;
|
||||
}
|
||||
div.alert-success {
|
||||
background-color: darkgreen;
|
||||
background-color: darkgreen;
|
||||
}
|
||||
|
||||
@-moz-keyframes blinker {
|
||||
0% { opacity: 1.0; }
|
||||
50% { opacity: 0.75; }
|
||||
100% { opacity: 1.0; }
|
||||
@-moz-keyframes blinker {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.75;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes blinker {
|
||||
0% { opacity: 1.0; }
|
||||
50% { opacity: 0.75; }
|
||||
100% { opacity: 1.0; }
|
||||
@-webkit-keyframes blinker {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.75;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blinker {
|
||||
0% { opacity: 1.0; }
|
||||
50% { opacity: 0.75; }
|
||||
100% { opacity: 1.0; }
|
||||
@keyframes blinker {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.75;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue