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

41 lines
1.2 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" />
2016-01-20 22:16:30 +05:00
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
</head>
<body>
2016-01-20 22:18:04 +05:00
<center>
<div id="nntpchan_banner">
</div>
</center>
2016-01-20 22:16:30 +05:00
<div id="ukko_threads">
2015-08-04 19:03:44 +05:00
{{#threads}}
2016-02-16 17:42:28 +05:00
<div class="thread" id="thread_{{OP.PostHash}}">
<div class="ukko_thread_header">
2016-02-16 02:50:52 +05:00
<p>Posted on <a href="{{{BoardURL}}}"><span class="ukko_boardname">{{OP.Board}}</span></a></p>
2016-02-16 02:55:36 +05:00
</div>
2015-09-05 01:47:52 +05:00
{{{OP.Truncate.RenderPost}}}
{{#Truncate.Replies}}
{{{Truncate.RenderPost}}}
{{/Truncate.Replies}}
2016-02-16 01:20:37 +05:00
<hr />
2015-08-04 19:03:44 +05:00
</div>
{{/threads}}
2016-01-20 22:08:01 +05:00
</div>
2016-01-20 22:16:30 +05:00
<script type="text/javascript" >
2016-01-20 22:08:01 +05:00
var e = document.getElementById("nntpchan_banner");
2016-01-20 22:09:55 +05:00
nntpchan_inject_banners(e, "{{prefix}}");
2016-01-20 22:13:14 +05:00
2016-01-20 22:08:01 +05:00
</script>
2015-08-04 19:03:44 +05:00
</body>
</html>