Archived
1
0

initial files imported from srndv2

This commit is contained in:
jeff
2015-08-04 10:03:44 -04:00
parent a415b5d7ee
commit d677f96e08
21 changed files with 477 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<html>
<head>
<meta charset="utf-8" />
<script type="text/javascript" src="{{board.Prefix}}static/captcha.js"></script>
<link rel="stylesheet" href="{{board.Prefix}}static/site.css"></link>
<title>{{board.Board}}</title>
</head>
<body>
<!-- begin header -->
{{{board.RenderNavbar}}}
<!-- end header -->
<!-- postform -->
<div id="postform_container">
{{{form}}}
</div>
<hr />
<div id="threads_container">
{{#board.Threads}}
<div class="thread" id="thread_{{OP.PostHash}}">
<div clsss="thread_header">
</div>
{{{OP.RenderPost}}}
{{#Replies}}
{{{RenderPost}}}
<br />
{{/Replies}}
</div>
<br/>
<hr/>
{{/board.Threads}}
</div>
</body>
</html>

View File

@@ -0,0 +1,12 @@
<html>
<head>
<meta charset="utf-8"></meta>
<link rel="stylesheet" href="{{prefix}}static/site.css"></link>
<title> here is a new tripcode </title>
</head>
<body>
<pre>New Tripcode:
<div id="secret_key">secret: {{secret}}</div><div id="public_key">public: {{public}}</div><div>tripcode: <span class="tripcode" id="capcode_key">{{{tripcode}}}</span></div>
</pre>
</body>
</html>

View File

@@ -0,0 +1,13 @@
<html>
<head>
<link ref="stylesheet" href="{{prefix}}static/site.css"></link>
<title>login</title>
</head>
<body>
<form action="login" method="POST" name="modlogin">
<label for="mod_key">secret</label>
<input type="password" id="mod_key" name="privkey" />
<input type="submit" value="login" />
</form>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<html>
<head>
<link ref="stylesheet" href="{{prefix}}static/site.css"></link>
<meta http-equiv="refresh" content="1; {{mod_prefix}}"></meta>
<title>login</title>
</head>
<body>
<p>{{message}}</p>
</body>
</html>

View File

@@ -0,0 +1,23 @@
<html>
<head>
<link rel="stylesheet" href="{{prefix}}static/site.css"></link>
<!-- yes it uses js -->
<script type="text/javascript" src="{{prefix}}static/mod.js"></script>
<title> nntpchan mod page </title>
</head>
<body>
<div>
<div> post actions </div>
<hr />
<div>
<label for="nntpchan_mod_delete">delete by url</label>
<input id="nntpchan_mod_delete" type="text" />
</div>
<button id="nntpchan_mod" onclick="nntpchan_delete()">go</button>
<span id="nntpchan_mod_result"></span>
</div>
<noscript>
<b>enable js to use the mod panel kthx</b>
</noscript>
</body>
</html>

View File

@@ -0,0 +1,7 @@
<hr />
<div>
<span class="board_title">{{{board.Name}}}</span>
on
<span class="frontend_title">{{{board.Frontend}}}</span>
</div>
<hr />

View File

View File

@@ -0,0 +1,37 @@
<div class="{{{CSSClass}}}" id="post_{{PostHash}}">
<p class="intro">
<label for="delete_{{PostHash}}">
<span class="subject">
{{Subject}}
</span>
<span class="name">
{{#Sage}}
<a href="mailto:sage">
{{Name}}
</a>
{{/Sage}}
{{^Sage}}
{{Name}}
{{/Sage}}
</span>
<span class="postdate">
{{Date}}
</span>
</label>
<a href="{{PostURL}}" onclick="">No. {{ShortHash}}</a>
{{#OP}}
<a href="{{PostURL}}">[reply]</a>
{{/OP}}
</p>
<p class="frontend">
[[ {{Frontend}} ]]
</p>
<div class="files">
{{#Attachments}}
<a class="file" href="{{Source}}" title="{{Filename}}">
<img class="file-thumbnail" src="{{Thumbnail}}" alt="{{Filename}}" />
</a>
{{/Attachments}}
</div>
<div class="post_body">{{{RenderBody}}}</div>
</div>

View File

@@ -0,0 +1,6 @@
<html>
<meta http-equiv="refresh" content="1; {{redirect_url}}" />
<body>
<p>post failed: {{reason}}</p>
</body>
</html>

View File

@@ -0,0 +1,6 @@
<html>
<meta http-equiv="refresh" content="5; {{{redirect_url}}}" />
<body>
<pre>posted as {{message_id}}</pre>
</body>
</html>

View File

@@ -0,0 +1,64 @@
{{!
postform.mustache
template parameters:
- post_url ( the url of the post form )
- reference ( the post we are replying to, or empty string if it's an op )
- button ( the text for the reply button )
}}
<h1> posting </h1>
<form action="{{post_url}}" enctype="multipart/form-data" name="post" method="post">
<input type="hidden" name="reference" value="{{reference}}" />
<input type="hidden" name="captcha" value="" id="captcha_input" />
<table class="postform">
<tbody>
<tr>
<th>
Name
</th>
<td>
<input type="text" name="name" value="" />
</td>
</tr>
<tr>
<th>
Subject
</th>
<td>
<input type="text" name="subject" value="" />
<input type="submit" value="{{button}}" />
</td>
</tr>
<tr>
<th>
Comment
</th>
<td>
<textarea type="text" name="message" cols=35 rows=5></textarea>
</td>
</tr>
<tr>
<th>
File
</th>
<td>
<input type="file" name="attachment" />
</td>
</tr>
<tr>
<th>
Captcha
</th>
<td>
<img id="captcha_img" src="" alt="captcha" />
</td>
</tr>
<tr>
<th>
</th>
<td>
<input type="text" name="captcha_solution" />
</td>
</tr>
</tbody>
</table>
</form>

View File

@@ -0,0 +1,33 @@
<div class="thread_reply" id="post_{{PostHash}}">
<p class="intro">
<label for="delete_{{PostHash}}">
<span class="subject">
{{Subject}}
</span>
<span class="name">
{{#Sage}}
<a href="mailto:sage">
{{Name}}
</a>
{{/Sage}}
{{^Sage}}
{{Name}}
{{/Sage}}
</span>
<time
</label>
<a href="{{PostURL}}" onclick="">
No. {{PostHash}}
</a>
</p>
<div class="files">
{{#Image}}
<a class="file" href="{{Source}}">
<img class="file-thumbnail" src="{{Thumbnail}}" />
</a>
{{/Image}}
</div>
<div class="thread_reply_body">
{{{RenderBody}}}
</div>
</div>

View File

@@ -0,0 +1,9 @@
<html>
<head>
<meta charset="utf-8" />
<title>{{title}}</title>
</head>
<body>
{{{content}}}
</body>
</html>

View File

@@ -0,0 +1,26 @@
<html>
<head>
<meta charset="utf-8" />
<script type="text/javascript" src="{{thread.Prefix}}static/captcha.js"></script>
<link rel="stylesheet" href="{{thread.Prefix}}static/site.css"></link>
<title> {{thread.OP.Subject}} </title>
</head>
<body>
<!-- postform -->
<div id="postform_container">
{{{form}}}
</div>
<hr />
<div class="thread" id="thread_{{thread.OP.PostHash}}">
<div class="thread_header">
</div>
{{{thread.OP.RenderPost}}}
{{# repls}}
{{{RenderPost}}}
<br/>
{{/ repls}}
</div>
<br/>
<hr/>
</body>
</html>

View File

@@ -0,0 +1,26 @@
<html>
<head>
<title> ukko </title>
<meta charset="utf-8" />
<link rel="stylesheet" href="{{prefix}}static/site.css"></link>
</head>
<body>
<div id="ukko_threads" class="threads_container">
{{#threads}}
<div class="ukko_thread_header">
<p> Posted on <a href="{{{BoardURL}}}"><span class="ukko_boardname">{{OP.Board}}</span></a></p>
</div>
<div class="thread" id="thread_{{OP.PostHash}}">
<div clsss="thread_header">
</div>
{{{OP.RenderPost}}}
{{#Replies}}
{{{RenderPost}}}
<br />
{{/Replies}}
</div>
<hr/>
{{/threads}}
</div>
</body>
</html>