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
2017-01-16 11:06:50 -05:00

94 lines
3.2 KiB
Plaintext

{{!
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 )
}}
<!doctype html>
<html>
<head>
<title> {{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}} </title>
<meta charset="utf-8" />
<link rel="stylesheet" href="{{prefix}}static/site.css" />
<link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" />
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
</head>
<body>
<center>
<div id="nntpchan_banner">
</div>
</center>
<!-- begin navbar -->
{{{navbar}}}
<!-- end navbar -->
<div class="board_header"> {{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}} </div>
<div id="ukko_paginator">
{{#prev}}
<span id="ukko_prev">
<a href="{{prefix}}o/{{no}}/">previous</a>
</span>
{{/prev}}
{{#next}}
<span id="ukko_next">
<a href="{{prefix}}o/{{no}}/">next</a>
</span>
{{/next}}
</div>
<div id="ukko_threads">
<pre><a href="{{prefix}}livechan/">livechan</a></pre>
{{#threads}}
<div class="thread" id="thread_{{OP.PostHash}}">
<div class="truncated_post">
<div>{{#i18n.Translations}}{{posted_on_label}}{{/i18n.Translations}} <a href="{{{BoardURL}}}"><span class="ukko_boardname">{{OP.Board}}</span></a></div>
<div class="thread_header">
<span class="thread_posts">
{{PostCount}} posts
</span>
<span class="thread_images">
{{ImageCount}} images
</span>
</div>
{{#Truncate}}
{{{OP.RenderTruncatedPost}}}
<div class="thread_exclude_info">
<span class="thread_exclude_posts">{{MissingPostCount}} posts excluded</span>
<span class="thread_exclude_images">{{MissingImageCount}} images excluded</span>
</div>
</div>
{{#Replies}}
<div class="truncated_post">
{{{RenderTruncatedPost}}}
</div>
{{/Replies}}
</div>
{{/Truncate}}
<hr />
{{/threads}}
</div>
<div id="ukko_paginator">
{{#prev}}
<span id="ukko_prev">
<a href="{{prefix}}o/{{no}}/">previous</a>
</span>
{{/prev}}
{{#next}}
<span id="ukko_next">
<a href="{{prefix}}o/{{no}}/">next</a>
</span>
{{/next}}
</div>
<script type="text/javascript" >
var prefix = "{{prefix}}";
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, prefix);
if(init) init(prefix);
ready(prefix);
</script>
<hr/>
<footer>
<p class="legal">All posts on this site are the responsibility of the individual poster and not the administration, pursuant to 47 U.S.C. § 230.</p>
<p class="legal">To make a DMCA request or report illegal content, please contact the administration</p>
</footer>
</body>
</html>