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/boardlist.mustache

52 lines
1.6 KiB
Plaintext
Raw Normal View History

2015-10-19 17:42:27 +05:00
{{!
boardlist.mustache -- full list of every board
template parameters:
- graph ( a list of 4 string tuples: (board, posts_per_hour, posts_per_day, total_posts) )
- frontend ( the name of the frontend )
- prefix ( the site's prefix )
}}
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-10-19 17:42:27 +05:00
<head>
<link rel="stylesheet" href="{{prefix}}static/site.css"></link>
<link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css"></link>
2016-02-28 17:40:16 +05:00
<title> {{frontend}} {{#i18n.Translations}}{{board_list_title}}{{/i18n.Translations}} </title>
2015-10-19 17:42:27 +05:00
</head>
<body>
<center>
<div class="index-outer">
<div class="index-inner">
<table id="board_graph">
2016-02-17 14:27:16 +05:00
<thead>
2015-10-19 17:42:27 +05:00
<tr>
2016-02-28 17:40:16 +05:00
<th> {{#i18n.Translations}}{{board_label}}{{/i18n.Translations}} </th>
<th> {{#i18n.Translations}}{{pph_label}}{{/i18n.Translations}} </th>
<th> {{#i18n.Translations}}{{ppd_label}}{{/i18n.Translations}} </th>
<th> {{#i18n.Translations}}{{total}}{{/i18n.Translations}} </th>
2015-10-19 17:42:27 +05:00
</tr>
2016-02-17 14:27:16 +05:00
</thead>
<tbody>
2015-10-19 17:42:27 +05:00
{{# graph}}
<tr>
<td>
2017-01-11 00:07:51 +05:00
<a href="{{prefix}}b/{{Board}}/">{{Board}}</a>
2015-10-19 17:42:27 +05:00
</td>
<td>
{{Hour}}
</td>
<td>
{{Day}}
</td>
<td>
{{All}}
</td>
</tr>
{{/ graph}}
</tbody>
</table>
</div>
</div>
</center>
</body>
2016-02-17 14:27:16 +05:00
</html>