Archived
1
0

chen-chan got its own dir in static

This commit is contained in:
chen-chan 2015-12-23 03:25:52 +01:00
parent cab35af8c4
commit 7d89ab06c7
11 changed files with 55 additions and 90 deletions

View File

@ -0,0 +1,30 @@
<!doctype html><html><head><link rel="stylesheet" type="text/css" href="/static/user.css"><title>nntpchan faq</title><style>body{font-family:monospace}</style></head><body>
<p>nntpchan faq</p>
<dl>
<dt>What is nntpchan?</dt>
<dd>NNTPCchan is a federated imageboard that spans across several networks including tor, i2p and anonet. There are no central servers so that as long as 1 server is left the forum will continue to function.</dd>
<br>
<dt>How is this different from *chan?</dt>
<dd>NNTPChan is by design invulnerable to global censorship. All moderation is local to each server.</dd>
<br>
<dt>How does moderation work then?</dt>
<dd>Moderation is done with our special tripcodes (ed25519-sha512 signed posts). Anyone can give moderation suggestions, but that doesn't mean anyone will accept them. Those who trust the actions of a moderator can have their frontend whitelist the moderation actions and have them performed without oversight by another moderator.</dd>
<br>
<dt>How can I remove content from nntpchan completely?</dt>
<dd>‾\(._.)/‾ I don't know. You probably can't unless every server agrees to remove the content, even then, nothing prevents someone from reposting it. You can't delete what you post on the internet.</dd>
<br>
<dt>do you allow child porn?</dt>
<dd>no.</dd>
<br>
<dt>Do you allow XYZ content?</dt>
<dd>If it violates USA Law or causes problems with my host, no. Otherwise, probably.</dd>
<br>
<dt>Someone posted something I don't like but it's not illegal</dt>
<dd>That is not my problem. All posts on this site are the responsibility of the individual poster and not the administration of this server</dd>
<br>
<dt>code, bugs, feature requests</dt>
<dd><a href="https://github.com/majestrate/nntpchan/">frontend</a> <a href="https://github.com/majestrate/srndv2/">core</a></dd>
<br>
<p>Please send any gripes/questions/inqueries/suggestions/complaints to ampernand [|at\] gmail {dot} com with subject starting with "nntpchan question" </p>
<audio autoplay="autoplay" loop="loop"><source src="about.mp3" type="audio/mpeg"><embed src="about.mp3"></audio>
</body></html>

View File

@ -0,0 +1,5 @@
body{font-family:monospace}
dl{max-width:80ch}
dd{margin-left:2ch;overflow:auto}
.memearrows{color:green}
pre{margin: 0 0 0 0}

View File

@ -11,7 +11,7 @@
- Navbar ( a function that renders the navbar, should not be escaped ) - Navbar ( a function that renders the navbar, should not be escaped )
- Threads ( a list of Thread Models with the last few replies ) - Threads ( a list of Thread Models with the last few replies )
}} }}
<!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan.css"><title>{{board.Board}}</title></head><body> <!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>{{board.Board}}</title></head><body>
{{{board.Navbar}}} {{{board.Navbar}}}
{{{form}}} {{{form}}}
<dl> <dl>

View File

@ -5,7 +5,7 @@
- frontend ( the name of the frontend ) - frontend ( the name of the frontend )
- prefix ( the site's prefix ) - prefix ( the site's prefix )
}} }}
<!doctype html><html><head><link rel="stylesheet" type="text/css" href="/static/chen-chan.css"><title>{{frontend}} boards</title></head><body> <!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>{{frontend}} boards</title></head><body>
<table> <table>
<tr> <tr>
<th>board</th> <th>board</th>

View File

@ -8,4 +8,4 @@
- frontend ( the name of the frontend ) - frontend ( the name of the frontend )
- prefix ( the site's prefix ) - prefix ( the site's prefix )
}} }}
<!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan.css"><title>{{frontend}} on nntpchan</title></head><body><p>{{frontend}} on nntpchan</p><p><a href="ukko.html">overboard</a> <a href="{{prefix}}boards.html">boards</a> <a href="{{prefix}}static/faq.html">faq</a></p><dl><dt>last posts:</dt><dd>{{{overview.Render}}}</dd></dl><dl><dt>board stats:</dt><dd><table><tr><th>board</th><th>posts this hour</th><th>posts today</th><th>total</th></tr>{{# boardgraph}}<tr><td><a href="{{prefix}}{{Board}}-0.html">{{Board}}</a></td><td>{{Hour}}</td><td>{{Day}}</td><td>{{All}}</td></tr>{{/ boardgraph}}</table></dd></dl><dl><dt>total stats:</dt><dd>{{{postsgraph.Render}}}</dd></dl><p>{{totalposts}} posts total</p></body></html> <!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>{{frontend}} on nntpchan</title></head><body><p>{{frontend}} on nntpchan</p><p><a href="ukko.html">overboard</a> <a href="{{prefix}}boards.html">boards</a> <a href="{{prefix}}static/chen-chan/faq.html">faq</a></p><dl><dt>last posts:</dt><dd>{{{overview.Render}}}</dd></dl><dl><dt>board stats:</dt><dd><table><tr><th>board</th><th>posts this hour</th><th>posts today</th><th>total</th></tr>{{# boardgraph}}<tr><td><a href="{{prefix}}{{Board}}-0.html">{{Board}}</a></td><td>{{Hour}}</td><td>{{Day}}</td><td>{{All}}</td></tr>{{/ boardgraph}}</table></dd></dl><dl><dt>total stats:</dt><dd>{{{postsgraph.Render}}}</dd></dl><p>{{totalposts}} posts total</p></body></html>

View File

@ -1,7 +1,4 @@
<!doctype html><html><head> <!doctype html><html><head><link rel="stylesheet" href="{{prefix}}static/chen-chan/main.css"><title>login</title></head><body>
<link rel="stylesheet" href="{{prefix}}static/chen-chan.css">
<title>login</title>
</head><body>
<form action="login" method="POST" name="modlogin"> <form action="login" method="POST" name="modlogin">
<label for="mod_key">secret</label> <label for="mod_key">secret</label>
<input type="password" id="mod_key" name="privkey"> <input type="password" id="mod_key" name="privkey">

View File

@ -4,7 +4,7 @@
- prefix ( the site's prefix ) - prefix ( the site's prefix )
}} }}
<!doctype html><html><head> <!doctype html><html><head>
<link rel="stylesheet" href="{{prefix}}static/chen-chan.css"> <link rel="stylesheet" href="{{prefix}}static/chen-chan/main.css">
<!-- yes it uses js --> <!-- yes it uses js -->
<script src="{{prefix}}static/mod.js"></script> <script src="{{prefix}}static/mod.js"></script>
<title>nntpchan mod page</title> <title>nntpchan mod page</title>

View File

@ -1,56 +1 @@
<html> no apparently.
<head>
<title>create new board</title>
<link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" />
<script type="text/javascript" src="{{prefix}}static/newboard.js">
</script>
</head>
<body>
<p>make your first post</p>
<hr />
<form action="{{prefix}}post/" enctype="multipart/form-data" name="post" method="post" id="postform" >
<div id="postform-outer">
<div id="postform-inner">
<table class="postform">
<tbody>
<tr>
<th>
Board Name
</th>
<td>
<input type="text" name="name" value="" id="boardname" />
<button onclick="createBoard()">Create Board</button>
</td>
</tr>
<tr>
<th>
Comment
</th>
<td>
<textarea id="postform_message" name="message" cols=40 rows=5></textarea>
</td>
</tr>
<tr>
<th>
Captcha
</th>
<td>
<img id="captcha_img" src="{{prefix}}captcha/img" alt="captcha" />
</td>
</tr>
<tr>
<th>
Solution
</th>
<td>
<input type="text" name="captcha" />
</td>
</tr>
</tbody>
</table>
</div>
</div>
</form>
</body>
</html>

View File

@ -1,20 +1,15 @@
<html> <html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>try again</title></head><body>
<head>
<link rel="stylesheet" type="text/css" href="/static/user.css">
<title>try again</title>
</head>
<body>
<form enctype="multipart/form-data" name="post" method="post"> <form enctype="multipart/form-data" name="post" method="post">
{{#attachment}} {{#attachment}}
<input type="hidden" name="attachment_data" value="{{attachment}}" /> <input type="hidden" name="attachment_data" value="{{attachment}}">
<input type="hidden" name="attachment_filename" value="{{attachment_filename}}" /> <input type="hidden" name="attachment_filename" value="{{attachment_filename}}">
<input type="hidden" name="attachment_mime" value="{{attachment_type}}" /> <input type="hidden" name="attachment_mime" value="{{attachment_type}}">
{{/attachment}} {{/attachment}}
<input type="hidden" name="reference" value="{{reference}}" /> <input type="hidden" name="reference" value="{{reference}}">
<input type="hidden" name="name" value="{{name}}" /> <input type="hidden" name="name" value="{{name}}">
<input type="hidden" name="subject" value="{{subject}}" /> <input type="hidden" name="subject" value="{{subject}}">
<input type="hidden" name="captcha_id" value="{{captcha_id}}" /> <input type="hidden" name="captcha_id" value="{{captcha_id}}">
<input type="hidden" name="message" value="{{message}}" /> <input type="hidden" name="message" value="{{message}}">
<div id="postform-outer"> <div id="postform-outer">
<div id="postform-inner"> <div id="postform-inner">
<div>{{fail_message}}</div> <div>{{fail_message}}</div>
@ -42,5 +37,4 @@
</div> </div>
</div> </div>
</form> </form>
</body> </body></html>
</html>

View File

@ -11,10 +11,7 @@
- Board , the name of the Board this thread is on - Board , the name of the Board this thread is on
- BoardURL , the url that points to the board index page - BoardURL , the url that points to the board index page
}} }}
<!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan.css"> <!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>{{thread.OP.Subject}}</title><script type="text/javascript" src="{{thread.Prefix}}static/nntpchan.js"></script></head><body>
<title>{{thread.OP.Subject}}</title>
<script type="text/javascript" src="{{thread.Prefix}}static/nntpchan.js"></script>
</head><body>
{{{thread.Navbar}}} {{{thread.Navbar}}}
{{{form}}} {{{form}}}
<dl> <dl>

View File

@ -4,10 +4,7 @@
- prefix ( site prefix ) - prefix ( site prefix )
- threads ( a list of Thread Models that represent the latest threads ) - threads ( a list of Thread Models that represent the latest threads )
}} }}
<!doctype html><html><head> <!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>ukko/overboard</title></head><body>
<link rel="stylesheet" href="/static/chen-chan.css">
<title>ukko/overboard</title>
</head><body>
<a href="/">frontpage</a> <a href="/">frontpage</a>
{{#threads}} {{#threads}}
<hr> <hr>