mirror of https://git.envs.net/envs/site.git
small site update
- add agree checkbox to signup form and optimze it - add id for a float left container - some more small css changes - add note for required reg. a nick to join #meta in irc - add link user to users
This commit is contained in:
parent
5acef1513f
commit
06adcbb168
|
@ -13,7 +13,7 @@ include '../../header.php';
|
|||
</div>
|
||||
|
||||
<div id="main" style="padding-bottom: 4em;">
|
||||
<div class="block">
|
||||
<div class="block_head">
|
||||
<pre>
|
||||
<h1><em>etiquette guidelines</em></h1>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ include '../header.php';
|
|||
</div>
|
||||
|
||||
<div id="main">
|
||||
<div class="block">
|
||||
<div class="block_head">
|
||||
<pre>
|
||||
<h1><em>chat</em></h1>
|
||||
|
||||
|
@ -25,7 +25,6 @@ envs.net has two chat options. we can be reached via irc and matrix.
|
|||
</div>
|
||||
|
||||
<pre>
|
||||
|
||||
<h3># more informations about our</h3>
|
||||
<strong><a href="/chat/matrix">> matrix chat</a></strong>
|
||||
<strong><a href="/chat/irc">> irc chat</a></strong>
|
||||
|
|
|
@ -31,6 +31,9 @@ as a round robin of <a href="https://tilde.chat/wiki/?page=servers" target="_bla
|
|||
tilde.chat is meant to be a space for all tilde members to hang out, share, teach, and learn.
|
||||
Hang out in <strong>#meta</strong> the tilde general channel. =)
|
||||
|
||||
<strong>note</strong> you must register with <code>nickserv</code> to talk in <code>#meta</code>:
|
||||
<code>/msg nickserv register <password> <email><code>
|
||||
|
||||
<h3># here are some options to connect</h3>
|
||||
<ul>
|
||||
<li><code>weechat</code> (<em>when logged in with ssh</em>) / <code>irssi</code> (<em>needs to configure</em>)</li>
|
||||
|
|
|
@ -36,6 +36,11 @@ footer {
|
|||
padding: 0 2.5em 2.5em 0;
|
||||
}
|
||||
|
||||
#left_box {
|
||||
float: left;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
a {
|
||||
outline: none;
|
||||
border-bottom-color: transparent;
|
||||
|
@ -81,7 +86,7 @@ pre.banner {
|
|||
h1, h2, h3, h4, h5, h6 {
|
||||
display: block;
|
||||
line-height: 0;
|
||||
margin-top: 1em;
|
||||
margin-top: 0.8em;
|
||||
margin-bottom: -0.4em;
|
||||
margin-left: 0;
|
||||
margin-right: 0
|
||||
|
@ -194,6 +199,7 @@ button:hover {
|
|||
margin: 0.8em 0 1em 0;
|
||||
padding: 0.8em 0 0.8em 4em;
|
||||
}
|
||||
/* use when content starts with a headline */
|
||||
.block_head {
|
||||
border-left: solid 4px #e5e5e5;
|
||||
margin: 0.8em 0 2em 0;
|
||||
|
|
|
@ -86,6 +86,9 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) {
|
|||
if ($_REQUEST["sshkey"] == "" || substr($_REQUEST["sshkey"], 0, 4) !== "ssh-")
|
||||
$message .= "<li>ssh key required: please submit the public key.</li>\n";
|
||||
|
||||
if ($_REQUEST["iagree"] == "")
|
||||
$message .= "<li>you need to agree to our terms.</li>\n";
|
||||
|
||||
// no validation errors
|
||||
if ($message == "") {
|
||||
|
||||
|
|
12
signup.php
12
signup.php
|
@ -25,15 +25,15 @@ include 'header.php';
|
|||
|
||||
<form method="post">
|
||||
<label>desired username:<br />
|
||||
<input class="form-control" name="username" value="<?=$_REQUEST["username"] ?? ""?>" type="text" maxlength="32" style="width: 260px;"></label><br />
|
||||
<input class="form-control" type="text" name="username" value="<?=$_REQUEST["username"] ?? ""?>" maxlength="32" style="width: 260px;"></label><br />
|
||||
<br />
|
||||
<div style="float: left; padding-right: 1em;">
|
||||
<div id="left_box">
|
||||
<label>e-mail for account informations:<br />
|
||||
<input class="form-control" name="email" value="<?=$_REQUEST["email"] ?? ""?>" type="text" style="width: 260px;"></label>
|
||||
<input class="form-control" type="text" name="email" value="<?=$_REQUEST["email"] ?? ""?>" style="width: 260px;"></label>
|
||||
</div>
|
||||
<div>
|
||||
<label>confirm:<br />
|
||||
<input class="form-control" name="emailconfirm" value="<?=$_REQUEST["emailconfirm"] ?? ""?>" type="text" style="width: 260px;"></label>
|
||||
<input class="form-control" type="text" name="emailconfirm" value="<?=$_REQUEST["emailconfirm"] ?? ""?>" style="width: 260px;"></label>
|
||||
</div>
|
||||
<br />
|
||||
<label>what interests you about envs.net?<br />
|
||||
|
@ -45,9 +45,11 @@ include 'header.php';
|
|||
if you don't have a key, don't worry! check out our <a href="https://help.envs.net/help/#ssh" target="blank">help page</a>
|
||||
to ssh keys and make sure that you only put your pubkey here.
|
||||
|
||||
signing up implies that you agree to abide by our <a href="/coc/" target="blank">code of conduct</a>
|
||||
signing up implies that you agree to abide by our <a href="/coc/" target="blank">code of conduct</a>,
|
||||
no drama. be respectful. have fun. we're all trying, and we're all in this together :)
|
||||
|
||||
<input class="form-control" type="checkbox" name="iagree" value="check" /> i agree! i have read and understood the terms and conditions.
|
||||
|
||||
<input class="form-control" type="submit" value="submit">
|
||||
</pre>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue