cleanup and fix html / css

This commit is contained in:
creme 2020-01-20 02:30:48 +01:00
parent 4f820e2953
commit cdf4563670
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
11 changed files with 103 additions and 84 deletions

View File

@ -12,12 +12,13 @@ include '../../header.php';
<pre class="clean"><strong><a href="/chat">&lt; back</a></strong></pre>
</div>
<div id="main" style="padding-bottom: 4em;">
<div id="main">
<div class="block">
<h1><em>etiquette guidelines</em></h1>
<pre class="bottom">
<pre>
some rules adapted from: <a href="https://github.com/fizerkhan/irc-etiquette" target="_blank">fizerkhan/irc-etiquette</a>
</pre>
<p></p>
</div>
<h3>&#35; no flooding/spamming/trolling in main channels</h3>
@ -87,14 +88,16 @@ be considerate to your fellow tildizens and don't forget to have fun!
<br />
<h3>&#35; consequences</h3>
<br />
<ul>
<li>first offenses will be handled with a kick from the channel with an
<li>first offenses will be handled with a kick from the channel with an<br>
explanation of the undesirable channel. at this point, it's acceptable to rejoin.</li>
<li>second offenses will be handled with a 1 hour tempban. following the
<li>second offenses will be handled with a 1 hour tempban. following the<br>
tempban, an chat op will check in and let you know what kinds of behaviors to avoid.</li>
<li>third offenses will be the same as second, but with a 24 hour tempban period.</li>
</ul>
<br />
<p></p>
<pre>
if the undesirable behavior continues, further methods (up to and including a
permanent ban) will be discussed among the oper team.

View File

@ -15,16 +15,18 @@ include '../header.php';
<div id="main">
<div class="block">
<h1><em>chat</em></h1>
<pre class="bottom">
<pre>
envs.net has two chat options. we can be reached via irc and matrix.
<strong>rules / guidelines</strong>
<em>please see the <a href="/chat/etiquette">etiquette guide</a>.</em>
</pre>
<p></p>
</div>
<h3>&#35; more informations about our</h3>
<pre>
<big><strong>&#35; more informations about our</strong></big>
&nbsp;&nbsp;<strong><a href="/chat/matrix">&gt; matrix chat</a></strong>
&nbsp;&nbsp;<strong><a href="/chat/irc">&gt; irc chat</a></strong>
</pre>
@ -34,8 +36,8 @@ envs.net has two chat options. we can be reached via irc and matrix.
<div id="sidebar">
<div class="block">
<h4>&#35; matrix</h4>
<pre>
<strong>&#35; matrix</strong>
channel
<code>#envs:envs.net</code>
</pre>
@ -46,11 +48,12 @@ channel
<td><i class="fa fa-matrix-org fa-fw" aria-hidden="true"></i></td> <td><a href="https://matrix.envs.net/">riot-web client</a></td>
</tr>
</table>
<p></p>
</div>
<div class="block">
<h4>&#35; irc</h4>
<pre>
<strong>&#35; irc</strong>
channel <strong>#envs</strong> on
<code>irc.tilde.chat:6697</code>
</pre>
@ -64,6 +67,7 @@ channel <strong>#envs</strong> on
<td><i class="fa fa-compress fa-fw" aria-hidden="true"></i></td> <td><a href="https://znc.envs.net/">znc interface</a></td>
</tr>
</table>
<p></p>
</div>
</div>

View File

@ -15,12 +15,13 @@ include '../../header.php';
<div id="main">
<div class="block">
<h1><em>irc chat</em></h1>
<pre class="bottom">
<pre>
envs.net does not have its own irc server but we are a member of the <a href="https://tildeverse.org/" target="_blank">tildeverse</a> - irc group.
our channel is <strong>#envs</strong> on <a href="https://tilde.chat/" target="_blank">tilde.chat</a> irc.
&gt; <a href="https://tilde.chat/stats/" target="_blank">channel list and server stats</a>
</pre>
<p></p>
</div>
<pre>
@ -35,7 +36,7 @@ Hang out in <strong>#meta</strong> the tilde general channel. =)
</pre>
<br />
<h3>&#35; here are some options to connect</h3>
<h2>&#35; here are some options to connect</h2>
<br />
<ul>
<li><code>weechat</code> (<em>when logged in with ssh</em>) / <code>irssi</code> (<em>needs to configure</em>)</li>
@ -101,6 +102,7 @@ socket location (<code>~/.weechat/relay_socket</code>). to get started using it,
channel <strong>#envs</strong> on
<code>irc.tilde.chat:6697</code>
</pre>
<p></p>
</div>
<div class="block">
@ -116,17 +118,18 @@ channel <strong>#envs</strong> on
</div>
<div class="block">
<h3>rules / guidelines</h3>
<pre>
<strong>rules / guidelines</strong>
<em>please see the <a href="/chat/etiquette">etiquette guide</a>.</em>
</pre>
<br />
<h3>wiki</h3>
<strong>wiki</strong>
<pre>
<em>see the <a href="https://tilde.chat/wiki/" target="_blank">tilde.chat wiki</a> for
info on bots and other specifics.</em>
</pre>
<p></p>
</div>
</div>

View File

@ -15,11 +15,12 @@ include '../../header.php';
<div id="main">
<div class="block">
<h1><em>matrix chat</em></h1>
<pre class="bottom">
<pre>
our self-hosted matrix instance with riot-web client.
<a href="https://matrix.envs.net/" target="_blank">matrix.envs.net</a>
</pre>
<p></p>
</div>
<pre>
@ -29,7 +30,7 @@ an open network for secure, decentralized communication.
</pre>
<h3>&#35; identifiers/entities</h3>
<h2>&#35; identifiers/entities</h2>
<pre>
schema:
&nbsp;&nbsp;<code>&lt;tag&gt;&lt;id&gt;:&lt;instance&gt;</code>
@ -54,7 +55,7 @@ get the URL <a href="https://matrix.to/#/+envs:envs.net" target="_blank">https:/
</pre>
<br />
<h3>&#35; matrix client software</h3>
<h2>&#35; matrix client software</h2>
<pre>
<a href="https://about.riot.im/downloads" target="_blank">check out the official riot client!</a>
@ -62,7 +63,7 @@ an extended client overview can be found at: <a href="https://matrix.org/clients
</pre>
<h3>&#35; links</h3>
<h2>&#35; links</h2>
<pre>
<a href="https://matrix.org/" target="_blank">matrix.org</a>
<a href="https://riot.im/" target="_blank">riot.im</a>
@ -79,6 +80,7 @@ an extended client overview can be found at: <a href="https://matrix.org/clients
channel
<code>#envs:envs.net</code>
</pre>
<p></p>
</div>
<div class="block">
@ -91,10 +93,11 @@ channel
</div>
<div class="block">
<h3>rules / guidelines</h3>
<pre>
<strong>rules / guidelines</strong>
<em>please see the <a href="/chat/etiquette">etiquette guide</a>.</em>
</pre>
<p></p>
</div>
</div>

View File

@ -12,15 +12,16 @@ include 'header.php';
<pre class="clean"><strong><a href="/">&lt; back</a></strong></pre>
</div>
<div id="main" style="padding-bottom: 4em;">
<div id="main">
<div class="block">
<h1><em>code of conduct</em></h1>
<pre class="bottom">
<pre>
<strong>tl;dr</strong> learn by doing and helping. be excellent to each other. have fun!
</pre>
<p></p>
</div>
<h3 id="purpose">&#35; purpose</h3>
<h2 id="purpose">&#35; purpose</h2>
<pre>
a primary goal of envs.net is to be inclusive to the largest number of
contributors, with the most varied and diverse backgrounds possible. as such, we
@ -31,14 +32,15 @@ we invite all those who participate in envs.net to help us create safe and
positive experiences for everyone.
This applies to conversation in the any room in the matrix community (<a href="https://matrix.to/#/+envs:envs.net" target="_blank">+envs:envs.net</a>),
also in the irc channel (#evns) on irc.tilde.chat, commits and comments relating to any project in
<a href="https://github.com/envs-net" target="_blank">github</a>/<a href="https://git.envs.net/envs" target="_blank">gitea</a> spaces and as well as for any <a href="https://help.envs.net/#user-account-features" target="_blank">service</a> on envs.
also in the irc channel (#evns) on irc.tilde.chat, commits and comments relating to
any project in <a href="https://github.com/envs-net" target="_blank">github</a>/<a href="https://git.envs.net/envs" target="_blank">gitea</a> spaces and as well as for any <a href="https://help.envs.net/#user-account-features" target="_blank">service</a> on envs.
</pre>
<br />
<h3 id="envs-mission">&#35; envs.net mission</h3>
<h2 id="envs-mission">&#35; envs.net mission</h2>
<pre>
<strong>envs.net exists to foster an engaged community for socializing, learning, and making cool stuff</strong>
<strong>envs.net exists to foster an engaged community for socializing,
learning, and making cool stuff</strong>
in a mass-media age, it is up to small, intentional communities to gather and
work together to provide a space outside of the advertising-laden,
profit-seeking, corporate-owned world of social media.
@ -48,14 +50,14 @@ learn, to teach, and to delight in one anothers creations.
</pre>
<br />
<h3 id="expected-behavior">&#35; expected behavior</h3>
<h2 id="expected-behavior">&#35; expected behavior</h2>
<pre>
the following behaviors are expected and requested of all community members:
</pre>
<br />
<ul>
<li>participate in an authentic and active way. in doing so, you contribute to
the health and longevity of this community.</li>
<li>participate in an authentic and active way. in doing so, you contribute<br />
to the health and longevity of this community.</li>
<li>exercise consideration and respect in your speech and actions.</li>
<li>attempt collaboration before conflict.</li>
<li>refrain from demeaning, discriminatory, or harassing behavior and speech.</li>
@ -64,23 +66,28 @@ the health and longevity of this community.</li>
</ul>
<br />
<h3 id="unacceptable-behavior">&#35; unacceptable behavior</h3>
<h2 id="unacceptable-behavior">&#35; unacceptable behavior</h2>
<pre>
the following behaviors are considered harassment and are unacceptable within our community:
the following behaviors are considered harassment and are unacceptable within
our community:
</pre>
<br />
<ul>
<li>violence, threats of violence or violent language directed against another person.</li>
<li>sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.</li>
<li>violence, threats of violence or violent language directed against<br>
another person.</li>
<li>sexist, racist, homophobic, transphobic, ableist or otherwise<br>
discriminatory jokes and language.</li>
<li>posting or displaying sexually explicit or violent material.</li>
<li>posting or threatening to post other peoples personally identifying information (“doxing”).</li>
<li>personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.</li>
<li>posting or threatening to post other peoples personally identifying<br>
information (“doxing”).</li>
<li>personal insults, particularly those related to gender, sexual<br>
orientation, race, religion, or disability.</li>
<li>unwelcome sexual attention. this includes sexualized comments or jokes.</li>
<li>deliberate intimidation, stalking or following.</li>
</ul>
<br />
<h3 id="consequences-of-unacceptable-behavior">&#35; consequences of unacceptable behavior</h3>
<h2 id="consequences-of-unacceptable-behavior">&#35; consequences of unacceptable behavior</h2>
<pre>
unacceptable behavior from any community member, including sponsors and those
with decision-making authority (sudo), will not be tolerated.
@ -92,7 +99,7 @@ be terminated and all user data deleted).
</pre>
<br />
<h3 id="reporting-guidelines">&#35; reporting guidelines</h3>
<h2 id="reporting-guidelines">&#35; reporting guidelines</h2>
<pre>
if you are subject to or witness unacceptable behavior, or have any other
concerns, please contact an admin (see info below).
@ -100,33 +107,33 @@ additionally, help engaging with law enforcement is available.
</pre>
<br />
<h3 id="addressing-grievances">&#35; addressing grievances</h3>
<h2 id="addressing-grievances">&#35; addressing grievances</h2>
<pre>
if you feel you have been falsely or unfairly accused of violating this code of conduct,
use the contact info below to send a concise description of your grievance.
if you feel you have been falsely or unfairly accused of violating this code of
conduct, use the contact info below to send a concise description of your
grievance.
</pre>
<br />
<h3 id="scope">&#35; scope</h3>
<h2 id="scope">&#35; scope</h2>
<pre>
we expect all envs.net members to abide by this code of conduct while:
</pre>
<br />
<p></p>
<ul>
<li>engaging with other members</li>
<li>publishing content on envs.net</li>
</ul>
<br />
<h3 id="contact-info">&#35; contact info</h3>
<h2 id="contact-info">&#35; contact info</h2>
<pre>
envs.net admins:
&gt; you can also send a mail to <a href="mailto:sudoers@envs.net">sudoers@envs.net</a> to make sure we all get it.
</pre>
<br />
<ul>
<li><a href="https://envs.net/~creme/">~creme</a>:
<ul class="sublist">
<ul>
<li><a href="mailto:creme@envs.net">creme@envs.net</a></li>
<li>on irc <code>/query creme hello</code></li>
<li>on matrix <a href="https://matrix.envs.net/_matrix/client/#/user/@creme:envs.net" target="_blank"><code>@creme:envs.net</code></a></li>
@ -135,13 +142,14 @@ envs.net admins:
</ul>
<br />
<h3 id="license-and-attribution">&#35; license and attribution</h3>
<h2 id="license-and-attribution">&#35; license and attribution</h2>
<pre>
this code of conduct is based on <a href="http://citizencodeofconduct.org/" target="_blank">citizencodeofconduct.org</a> and <a href="http://tilde.town/wiki/conduct.html" target="_blank">tilde.town coc</a>
under the terms of the <a href="http://creativecommons.org/licenses/by-sa/3.0/" target="_blank">creative commons attribution-sharealike license</a>.
</pre>
<br />
<h3 id="tos">&#35; terms of service</h3>
<h2 id="tos">&#35; terms of service</h2>
<pre>
please also see the <a href="/tos/">terms of service</a>.
</pre>

View File

@ -28,7 +28,7 @@ footer {
#main {
float: left;
margin: 0 0 2em 4em;
padding-bottom: 2em;
padding-bottom: 4em;
}
#sidebar {
@ -76,10 +76,7 @@ pre.clean {
margin: 0;
padding: 0;
}
pre.bottom {
margin-bottom: 1em;
padding: 0;
}
pre.banner {
line-height: 1.2em;
margin-bottom: 1em;
@ -97,22 +94,17 @@ h1, h2, h3, h4, h5, h6 {
ol, ul {
margin: 0;
padding: 0 0 0.5em 2.5em;
}
.ol.sublist, ul.sublist {
margin: 0;
padding: 0 0 0 2.5em;
padding: 0 0 0 2em;
}
.ol.userlist, ul.userlist {
list-style-type: none;
margin: 0;
padding: 1em 0 1em 1.2em;
padding: 0 0 0 1.2em;
}
li {
margin: 0 0 0 0;
margin: 0;
padding: 0;
}
@ -139,6 +131,7 @@ tr, th, td {
.tw280 { width: 280px; }
.tw480 { width: 480px; }
form {
margin: 0;
padding: 0;
@ -196,8 +189,8 @@ button:hover {
.alert {
color: #333;
background: #e5e5e5;
margin: 0 0 1em 0;
padding: 0.5em 1em 0.5em 1em;
margin: 0 0 1.5em 0;
padding: 0.5em 1em 1em 1em;
}
.block {

View File

@ -84,7 +84,7 @@ follow us in the <a href="/chat">chat</a> and let's start talking.
<!-- SERVER INFO -->
<div class="block">
<strong><i class="fa fa-gear fa-fw" aria-hidden="true"></i> SYSTEM INFO</strong>
<pre><strong><i class="fa fa-gear fa-fw" aria-hidden="true"></i> SYSTEM INFO</strong></pre>
<table>
<tr><th class="tw110"></th> <th></th></tr>
<tr><td >time:</td> <td><?=$datetime?></td></tr>
@ -95,10 +95,11 @@ follow us in the <a href="/chat">chat</a> and let's start talking.
<tr><td>conntracks:</td> <td><?=$conntracks?></td></tr>
</table>
<p></p>
<pre class="bottom">
<pre>
<em>more infos about the system and the installed packages can
you find on the <a href="/sysinfo/">sysinfo page</a>.</em>
</pre>
<p></p>
</div>
<pre><small><em>inspired by <a href="https://tilde.team/" target="_blank">~team</a> and a member of <a href="https://tildeverse.org/" target="_blank">tildeverse</a>.</em></small></pre>
@ -174,15 +175,17 @@ you find on the <a href="/sysinfo/">sysinfo page</a>.</em>
<em>donate via liberapay</em>
<a href="https://en.liberapay.com/creme/donate" target="_blank" style="border-bottom-color: transparent;"><img src="https://img.shields.io/liberapay/receives/creme.svg?logo=liberapay" alt="Donate using Liberapay"></a>
</pre>
<p></p>
</div>
<!-- END DONATION -->
<!-- USERS -->
<div class="block">
<pre class="bottom">
<pre>
<strong><i class="fa fa-users fa-fw" aria-hidden="true"></i> USERS</strong>
<small>online: <?=$online_users?> &#124; total: <?=$total_users?></small>
</pre>
<p></p>
<table>
<tr><th class="tw20"></th> <th></th></tr>
<tr onclick="window.location='/users_info.json';">
@ -194,9 +197,11 @@ you find on the <a href="/sysinfo/">sysinfo page</a>.</em>
<td><small><a href="/user_updates/">recently updates</a></small></td>
</tr>
</table>
<p></p>
<details><summary class="menu">user list</summary><small>&gt; <a href="/users/">list all users</a></small>
<p></p>
<ul class="userlist">
<?php
foreach ($user_info->data->users as $user => $value) {
@ -207,6 +212,7 @@ you find on the <a href="/sysinfo/">sysinfo page</a>.</em>
?>
</ul>
</details>
<p></p>
</div>
<!-- END USERS -->

View File

@ -12,10 +12,10 @@ include 'header.php';
<pre class="clean"><strong><a href="/">&lt; back</a></strong></pre>
</div>
<div id="main" style="padding-bottom: 4em;">
<div id="main">
<div class="block">
<h1><em>privacy policy</em></h1>
<br />
<p></p>
</div>
<pre>
@ -24,7 +24,7 @@ to being in compliance with the GDPR, which took effect may 25, 2018.
</pre>
<br />
<h3>&#35; what data do we collect from you?</h3>
<h2>&#35; what data do we collect from you?</h2>
<pre>
envs.net collects your email address during signup and any IP addresses
you sign in to the system from in accordance with technical requirements.
@ -34,20 +34,20 @@ from your envs.net account.
</pre>
<br />
<h3>&#35; how long do we retain data?</h3>
<h2>&#35; how long do we retain data?</h2>
<pre>
your email address is retained only long enough to process your account creation
and notify you of that completion. IPs are retained for a maximum of 30 days.
</pre>
<br />
<h3>&#35; how can i request a copy of my data?</h3>
<h2>&#35; how can i request a copy of my data?</h2>
<pre>
you can submit a request by email to <a href="mailto:sudoers@envs.net">sudoers&#64;envs.net</a>.
</pre>
<br />
<h3>&#35; how can i request removal of my information?</h3>
<h2>&#35; how can i request removal of my information?</h2>
<pre>
your user data is protected by the unix permissions model. by default,
in the sharing nature of a public access unix system, your files are

View File

@ -12,11 +12,11 @@ include 'header.php';
<pre class="clean"><strong><a href="/">&lt; back</a></strong></pre>
</div>
<div id="main" style="padding-bottom: 4em;">
<div id="main">
<div class="block">
<h1><em>Signup</em></h1>
<h2><em>you wanna join - envs.net?</em></h2>
<br />
<p></p>
</div>
<pre>fill out this form and i'll get back to you with your account informations.</pre>
<br />

View File

@ -12,17 +12,17 @@ include 'header.php';
<pre class="clean"><strong><a href="/">&lt; back</a></strong></pre>
</div>
<div id="main" style="padding-bottom: 2em;">
<div id="main">
<div class="block">
<h1><em>terms of service</em></h1>
<br />
<p></p>
</div>
<pre>
the following offences will result in a service ban.
here are some things that we don't allow:
</pre>
<br />
<p></p>
<ul>
<li>anything illegal or harmful</li>
<li>promoting racial, ethnic, religious, political & other forms of bigotry</li>
@ -39,14 +39,14 @@ here are some things that we don't allow:
<div class="block">
<h1><em>resource usage</em></h1>
<br />
<p></p>
</div>
<pre>
please make sure to not run anything that would disrupt other users.
there are a few limits set on your accounts:
</pre>
<br />
<p></p>
<ul>
<li>200 process/threads at a time</li>
<li>soft 1024mb/hard 1536mb limit on storage</li>

View File

@ -19,11 +19,11 @@ include 'header.php';
<pre class="clean"><strong><a href="/">&lt; back</a></strong></pre>
</div>
<div id="main" style="padding-bottom: 4em;">
<div id="main">
<div class="block">
<h1><em>full user list</em></h1>
<pre><small>online: <?=$online_users?> &#124; total: <?=$total_users?></small></pre>
<br />
<pre>online: <?=$online_users?> &#124; total: <?=$total_users?></pre>
<p></p>
<table>
<tr><th class="tw20"></th> <th></th></tr>
<tr onclick="window.location='/users_info.json';">
@ -33,12 +33,11 @@ include 'header.php';
<td><small><i class="fa fa-clock-o fa-fw" aria-hidden="true"></i></small></td> <td><small><a href="/user_updates/">recently updates</a></small></td>
</tr>
</table>
<p></p>
</div>
<p></p>
<pre>here's a full list of users (including those who haven't updated their page from the default).</pre>
<br />
<p></p>
<ul>
<?php
foreach ($user_info->data->users as $user => $value) {