initial commit

This commit is contained in:
Quentin W 2024-07-18 14:09:32 -04:00
commit 5b839e0543
174 changed files with 12261 additions and 0 deletions

View file

@ -0,0 +1,12 @@
<div>
% notices_handler
<form method="POST"><fieldset>
<legend>Submit a new blog post</legend>
<label>Title: <input size="64" type="text" name="title" value="%($"post_arg_title%)" /></label>
<label>Id: <input size="8" type="text" name="id" value="%($"post_arg_id%)" /></label>
<label>Date: <input size="10" maxlength="10" type="text" name="date" value="%($"post_date%)" /></label>
<p>Content:</p>
<textarea cols="102" rows=16" name="body">%($"post_arg_body%)</textarea><br />
<input type="submit" value="Post" />
</fieldset></form>
</div>

View file

@ -0,0 +1,29 @@
<div>
<h1>Editing: <a href="%($req_path%)">%($req_path%)</a></h1>
<br>
<form action="" method="POST">
<fieldset>
<legend>Editing wiki with path: %($req_path%)</legend>
<textarea name="edit_text" id="edit_text" cols="80" rows="43">%{
# FIXME Extra trailing new lines get added to the content somehow, should avoid it.
if(~ $#post_arg_edit_text 0 && test -f $dirdir_file)
cat $dirdir_file | escape_html
if not
echo -n $post_arg_edit_text | escape_html
%}</textarea>
<hr>
<input type="submit" name="dirdir_save" value="Save">
<input type="submit" name="dirdir_preview" value="Preview">
<hr>
<small>DirDir documents are written using <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a>.</small>
</fieldset>
</form>
</div>
% if(! ~ $"post_arg_dirdir_preview '') {
<h2>Preview:</h2>
<div id="preview">
% echo $post_arg_edit_text | $formatter
</div>
% }

View file

@ -0,0 +1,5 @@
<!--<div><a href="http://werc.cat-v.org/">Powered by werc</a></div>
<div><a href="/_users/login">User Login</a>
-->
</div>

View file

@ -0,0 +1,22 @@
<div>
[
<a href="http://thirdculture.top">home</a> |
<a href="http://ppl.thirdculture.top">members</a> |
<a href="">music</a> |
<a href="">shelter</a> |
<a href="">radio</a> |
<a href="">visual</a> |
<a href="">basement</a> |
<a href="">wiki</a>
]
</div>
<div class="right">
[
<a href="https://moridori.xyz" style="color: deeppink">moridori</a> |
<a href="https://deadcel.me" style="color: black">4mdv</a> |
<a href="https://moridori.xyz/letterbomber/" style="color: darkred">faal</a> |
<a href="" style="color: mediumorchid">los3r</a>
]
</div>