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
Jeff Becker 20120a8690
more
2016-11-02 15:54:27 -04:00

84 lines
2.9 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}}ukko-{{no}}.html">previous</a>
</span>
{{/prev}}
{{#next}}
<span id="ukko_next">
<a href="{{prefix}}ukko-{{no}}.html">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="ukko_thread_header">
<p>{{#i18n.Translations}}{{posted_on_label}}{{/i18n.Translations}} <a href="{{{BoardURL}}}"><span class="ukko_boardname">{{OP.Board}}</span></a></p>
</div>
<div class="truncated_post">
<div class="thread_header">
<span class="thread_posts">
{{PostCount}} posts
</span>
<span class="thread_images">
{{ImageCount}} images
</span>
</div>
{{#Truncate}}
<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>
{{{OP.RenderTruncatedPost}}}
{{#Replies}}
<div class="truncated_post">
{{{RenderTruncatedPost}}}
</div>
{{/Replies}}
</div>
{{/Truncate}}
<hr />
{{/threads}}
</div>
<script type="text/javascript" >
var prefix = "{{prefix}}";
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, prefix);
init(prefix);
ready();
</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>