Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/contrib/templates/default/ukko.mustache

43 lines
1.3 KiB
Plaintext
Raw Normal View History

2015-08-05 16:45:16 +05:00
{{!
ukko.mustache -- overboard, contains the last threads posted regardless of newsgroup
template parameters:
- prefix ( site prefix )
- threads ( a list of Thread Models that represent the latest threads )
}}
2015-08-04 19:03:44 +05:00
<html>
<head>
2015-08-05 16:45:16 +05:00
<title> ukko / overboard </title>
2015-08-04 19:03:44 +05:00
<meta charset="utf-8" />
2015-10-08 20:55:58 +05:00
<link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" />
2015-09-05 02:18:36 +05:00
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
2016-01-20 21:58:19 +05:00
<script>
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
</script>
2015-09-05 02:18:36 +05:00
</head>
2016-01-20 21:42:18 +05:00
<body>
2016-01-20 21:58:19 +05:00
<div id="nntpchan_banner">
2016-01-20 21:52:04 +05:00
[banner]
2016-01-20 21:42:18 +05:00
</div>
<div id="ukko_threads">
2015-08-04 19:03:44 +05:00
{{#threads}}
2015-11-07 20:46:03 +05:00
<!--
2015-08-04 19:03:44 +05:00
<div class="ukko_thread_header">
<p> Posted on <a href="{{{BoardURL}}}"><span class="ukko_boardname">{{OP.Board}}</span></a></p>
</div>
2015-11-07 20:46:03 +05:00
-->
2015-08-04 19:03:44 +05:00
<div class="thread" id="thread_{{OP.PostHash}}">
<div clsss="thread_header">
</div>
2015-09-05 01:47:52 +05:00
{{{OP.Truncate.RenderPost}}}
{{#Truncate.Replies}}
{{{Truncate.RenderPost}}}
2015-08-04 19:03:44 +05:00
<br />
2015-09-05 01:47:52 +05:00
{{/Truncate.Replies}}
2015-08-04 19:03:44 +05:00
</div>
{{/threads}}
</div>
</body>
</html>