Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Kevin Nobel | f2138aabca |
|
@ -1,6 +1,3 @@
|
|||
del {color:red !important; font-weight:bold}
|
||||
ins {color:lime !important;font-weight:bold}
|
||||
|
||||
:root {
|
||||
/* --nc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */
|
||||
--nc-font-sans: 'IBM Plex Mono', Consolas, monaco, 'Ubuntu Mono', 'Liberation Mono', 'Courier New', Courier, monospace;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<nav>
|
||||
<a href="/">home</a>
|
||||
<a href="/wiki">wiki</a>
|
||||
<a href="#" data-href="/signup" disabled="disabled"><del>signup</del></a>
|
||||
<a href="/signup">signup</a>
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
exit(); //disable the signup script
|
||||
include("/var/www/tilde.cafe/inc/header.html");
|
||||
if($_POST==array()){
|
||||
?>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<del>welcome</del><ins>goodbye</ins> to tilde.cafe, a multi-user system (inspired by [the tildeverse](https://tildeverse.org)) where you can explore linux in a friendly environment.
|
||||
welcome to tilde.cafe, a multi-user system (inspired by [the tildeverse](https://tildeverse.org)) where you can explore linux in a friendly environment.
|
||||
|
||||
host your own files, website, blog, chat to other users, play a few games, etc
|
||||
|
||||
|
|
2
src/wiki
2
src/wiki
|
@ -1 +1 @@
|
|||
Subproject commit 897887ef52c462d63857c72b97a46f8ae7ed3a73
|
||||
Subproject commit 6b1927e431fa655e17f924609d242fa76ee9e6f2
|
8
users.sh
8
users.sh
|
@ -5,12 +5,12 @@ echo "# user list"
|
|||
# exclude lost+found and testuser
|
||||
for user in $(ls /home/ -1 | grep -v \+ | grep -v testuser)
|
||||
do
|
||||
user_esc=$(echo "$user" | sed 's/_/\\_/g')
|
||||
if [ "$(stat -c %G "/home/$user")" == "deleted" ];then
|
||||
echo "<del>~${user//_/\\_}</del> ";
|
||||
echo "<del>~$user_esc</del> ";
|
||||
else if [ "$(stat -c %G "/home/$user")" != "banned" ];then
|
||||
# Escape underscores (note that username is '[a-z][-0-9a-z_]{2,}')
|
||||
echo "[~${user//_/\\_}](/~$user) ";
|
||||
echo "[~$user_esc](/~$user) ";
|
||||
else
|
||||
echo "~${user//_/\\_} ([banned](banned.html#$user)) ";
|
||||
echo "~$user_esc ([banned](banned.html#$user)) ";
|
||||
fi;fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue