Archived
1
0

merge from upstream

This commit is contained in:
chen-chan 2015-12-23 02:38:08 +01:00
parent a6b7235b12
commit 404d9952f2
7 changed files with 30 additions and 28 deletions

View File

@ -11,8 +11,8 @@
<html> <html>
<head> <head>
<link rel="stylesheet" href="{{prefix}}static/site.css"></link> <link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css"></link> <link rel="stylesheet" href="{{prefix}}static/user.css" />
<title> {{frontend}} on nntpchan </title> <title> {{frontend}} on nntpchan </title>
</head> </head>
<body> <body>
@ -32,10 +32,10 @@
<table> <table>
<tbody> <tbody>
<tr> <tr>
<td> <td class="posts_td">
{{{postsgraph.Render}}} {{{postsgraph.Render}}}
</td> </td>
<td> <td class="board_td">
{{! todo: move boardgraph into its own file like postsgraph }} {{! todo: move boardgraph into its own file like postsgraph }}
<table id="board_graph"> <table id="board_graph">
<tbody> <tbody>

View File

@ -12,23 +12,25 @@ template parameters:
<title> Post History</title> <title> Post History</title>
</head> </head>
<body> <body>
<table id="history_graph"> <td>
<thead> <table id="history_graph">
<tr> <thead>
<th>Month</th>
<th>Posts</th>
<th></th>
</tr>
</thead>
<tbody>
{{#history.Scale}}
<tr> <tr>
<td>{{Date}}</td> <th>Month</th>
<td class="history_num">{{Num}}</td> <th>Posts</th>
<td>{{OvercockGraph}}</td> <th></th>
</tr> </tr>
{{/history.Scale}} </thead>
</tbody> <tbody>
</table> {{#history.Scale}}
<tr>
<td>{{Date}}</td>
<td class="history_num">{{Num}}</td>
<td>{{OvercockGraph}}</td>
</tr>
{{/history.Scale}}
</tbody>
</table>
</td>
</body> </body>
</html> </html>

View File

@ -11,7 +11,6 @@
<meta charset="utf-8"></meta> <meta charset="utf-8"></meta>
<link rel="stylesheet" href="{{prefix}}static/site.css" /> <link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" /> <link rel="stylesheet" href="{{prefix}}static/user.css" />
<style src="{{prefix}}static/user.css" type="text/css"></style>
<title> here is a new tripcode </title> <title> here is a new tripcode </title>
</head> </head>
<body> <body>
@ -19,4 +18,4 @@
<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> <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> </pre>
</body> </body>
</html> </html>

View File

@ -6,7 +6,8 @@
}} }}
<html> <html>
<head> <head>
<link rel="stylesheet" href="{{prefix}}static/site.css"></link> <link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" />
<!-- yes it uses js --> <!-- yes it uses js -->
<script type="text/javascript" src="{{prefix}}static/mod.js"></script> <script type="text/javascript" src="{{prefix}}static/mod.js"></script>
<title> nntpchan mod page </title> <title> nntpchan mod page </title>

View File

@ -28,7 +28,7 @@
Comment Comment
</th> </th>
<td> <td>
<textarea id="postform_message" type="text" name="message" cols=40 rows=5></textarea> <textarea id="postform_message" name="message" cols=40 rows=5></textarea>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -53,4 +53,4 @@
</div> </div>
</form> </form>
</body> </body>
</html> </html>

View File

@ -16,7 +16,7 @@
{{#Attachments}} {{#Attachments}}
<figure> <figure>
<figcaption> <figcaption>
<a target="_blank" href="{{Source}}" title="{{Filename}}"><img src="{{Thumbnail}}" alt="{{Filename}}" /></a> <a href="{{Source}}" title="{{Filename}}" target="_blank"><img src="{{Thumbnail}}" alt="{{Filename}}" /></a>
</figcaption> </figcaption>
</figure> </figure>
{{/Attachments}} {{/Attachments}}

View File

@ -42,7 +42,7 @@
File File
</th> </th>
<td> <td>
<input type="file" name="attachment" /> <input id="postform_attachment" type="file" name="attachment" />
</td> </td>
</tr> </tr>
<tr> <tr>