2015-08-05 16:45:16 +05:00
|
|
|
{{!
|
|
|
|
thread.mustache -- renders to a thread-*.html page, shows the entire thread
|
|
|
|
template parameters:
|
|
|
|
- board ( the Board Model of the board this thread was posted in )
|
|
|
|
- thread ( the Thread Model of the current thread being rendered )
|
|
|
|
- form ( the post form markup )
|
|
|
|
|
|
|
|
Thread Model attributes:
|
|
|
|
- OP , the Post Model of the original poster
|
|
|
|
- Replies , a list of all the replies or empty if none
|
|
|
|
- Board , the name of the Board this thread is on
|
|
|
|
- BoardURL , the url that points to the board index page
|
|
|
|
}}
|
2015-08-04 19:03:44 +05:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
2015-11-07 20:37:18 +05:00
|
|
|
<meta name="viewport" content="initial-scale=1" />
|
2015-10-08 20:55:58 +05:00
|
|
|
<link rel="stylesheet" href="{{thread.Prefix}}static/site.css" />
|
|
|
|
<link rel="stylesheet" href="{{thread.Prefix}}static/user.css" />
|
2015-08-04 19:03:44 +05:00
|
|
|
<title> {{thread.OP.Subject}} </title>
|
|
|
|
</head>
|
|
|
|
<body>
|
2015-08-05 16:45:16 +05:00
|
|
|
|
|
|
|
<!-- begin navbar -->
|
|
|
|
{{{thread.Navbar}}}
|
|
|
|
<!-- end navbar -->
|
|
|
|
|
2015-08-04 19:03:44 +05:00
|
|
|
<!-- postform -->
|
|
|
|
<div id="postform_container">
|
|
|
|
{{{form}}}
|
|
|
|
</div>
|
|
|
|
<hr />
|
2016-01-20 21:58:19 +05:00
|
|
|
<div id="nntpchan_banner">
|
|
|
|
[banner]
|
2016-01-20 21:42:18 +05:00
|
|
|
</div>
|
2015-08-04 19:03:44 +05:00
|
|
|
<div class="thread" id="thread_{{thread.OP.PostHash}}">
|
|
|
|
<div class="thread_header">
|
|
|
|
</div>
|
|
|
|
{{{thread.OP.RenderPost}}}
|
2015-08-05 16:45:16 +05:00
|
|
|
{{# thread.Replies}}
|
2015-08-04 19:03:44 +05:00
|
|
|
{{{RenderPost}}}
|
|
|
|
<br/>
|
2015-08-05 16:45:16 +05:00
|
|
|
{{/ thread.Replies}}
|
2015-08-04 19:03:44 +05:00
|
|
|
</div>
|
|
|
|
<br/>
|
2016-01-20 22:08:01 +05:00
|
|
|
<script src="{{prefix}}static/nntpchan.js" type="text/javascript">
|
|
|
|
document.onload = function() {
|
|
|
|
var e = document.getElementById("nntpchan_banner");
|
|
|
|
nntpchan_inject_banners(e, "{{board.Prefix}}");
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2015-08-04 19:03:44 +05:00
|
|
|
</body>
|
|
|
|
</html>
|