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

96 lines
3.5 KiB
Plaintext
Raw Permalink 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 )
2016-04-29 23:08:02 +05:00
}}
<!doctype html>
2017-10-17 16:59:07 +05:00
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
2015-08-04 19:03:44 +05:00
<head>
2016-02-28 17:40:16 +05:00
<title> {{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}} </title>
2015-08-04 19:03:44 +05:00
<meta charset="utf-8" />
2017-03-21 04:59:32 +05:00
<meta http-equiv="pragma" content="no-cache" />
2015-10-08 20:55:58 +05:00
<link rel="stylesheet" href="{{prefix}}static/site.css" />
2017-01-28 21:29:57 +05:00
<link rel="stylesheet" href="{{prefix}}static/user.css" />
2016-03-08 06:25:29 +05:00
<link id="current_theme" 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>
2016-04-26 00:57:49 +05:00
<body>
2016-01-20 22:18:04 +05:00
<center>
<div id="nntpchan_banner">
</div>
</center>
2016-03-08 18:25:31 +05:00
<!-- begin navbar -->
{{{navbar}}}
<!-- end navbar -->
2016-02-28 17:40:16 +05:00
<div class="board_header"> {{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}} </div>
2016-10-31 19:55:03 +05:00
<div id="ukko_paginator">
{{#prev}}
<span id="ukko_prev">
<a href="{{prefix}}o/{{no}}/?lang={{i18n.Name}}">previous</a>
2016-10-31 19:55:03 +05:00
</span>
{{/prev}}
{{#next}}
<span id="ukko_next">
<a href="{{prefix}}o/{{no}}/?lang={{i18n.Name}}">next</a>
2016-10-31 19:55:03 +05:00
</span>
{{/next}}
</div>
2016-04-26 00:57:49 +05:00
<div id="ukko_threads">
<pre><a href="{{prefix}}livechan/?lang={{i18n.Name}}">livechan</a></pre>
2015-08-04 19:03:44 +05:00
{{#threads}}
2016-02-16 17:42:28 +05:00
<div class="thread" id="thread_{{OP.PostHash}}">
2016-11-03 01:02:58 +05:00
<div class="truncated_post">
2017-04-05 18:15:34 +05:00
<div>{{#i18n.Translations}}{{posted_on_label}}{{/i18n.Translations}} <a href="{{{BoardURL}}}"><span class="ukko_boardname">{{OP.Board}}</span></a></div>
2016-11-03 00:24:51 +05:00
<div class="thread_header">
<span class="thread_posts">
{{PostCount}} posts
</span>
<span class="thread_images">
{{ImageCount}} images
</span>
</div>
2016-11-02 23:33:58 +05:00
{{#Truncate}}
2016-11-03 01:09:43 +05:00
{{{OP.RenderTruncatedPost}}}
2016-11-03 00:54:27 +05:00
<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}}
2016-11-03 00:33:06 +05:00
</div>
2016-11-02 23:33:58 +05:00
{{/Truncate}}
2017-04-05 18:15:34 +05:00
<hr />
2015-08-04 19:03:44 +05:00
{{/threads}}
2016-01-20 22:08:01 +05:00
</div>
2016-01-20 22:16:30 +05:00
<script type="text/javascript" >
2016-04-26 00:57:49 +05:00
var prefix = "{{prefix}}";
2016-01-20 22:08:01 +05:00
var e = document.getElementById("nntpchan_banner");
2016-04-26 00:57:49 +05:00
nntpchan_inject_banners(e, prefix);
2017-01-16 21:06:50 +05:00
if(init) init(prefix);
ready(prefix);
2016-04-26 00:57:49 +05:00
</script>
2017-04-05 18:15:34 +05:00
<hr/>
<div id="ukko_paginator">
{{#prev}}
<span id="ukko_prev">
<a href="{{prefix}}o/{{no}}/?lang={{i18n.Name}}">previous</a>
2017-04-05 18:15:34 +05:00
</span>
{{/prev}}
{{#next}}
<span id="ukko_next">
<a href="{{prefix}}o/{{no}}/?lang={{i18n.Name}}">next</a>
2017-04-05 18:15:34 +05:00
</span>
{{/next}}
</div>
2016-02-18 00:13:58 +05:00
<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>
2015-08-04 19:03:44 +05:00
</body>
</html>