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/placebo/boardlist.mustache
2017-10-17 08:06:50 -04:00

46 lines
1.9 KiB
Plaintext

{{!
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 )
}}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd>"
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head>
<link rel="stylesheet" href="{{prefix}}static/krane.css"></link>
<link rel="stylesheet" href="{{prefix}}static/user.css"></link>
<title> {{frontend}} {{#i18n.Translations}}{{board_list_title}}{{/i18n.Translations}} </title>
<meta property="og:site_name" content="changolia" />
<meta property="og:type" content="website"/>
<meta property="og:title" content="board list"/>
<meta property="og:url" content="{{prefix}}boards.html"/>
<meta property="og:description" content="changolia board list on {{frontend}}"/>
<meta property="og:image"
content="{{prefix}}static/changolia-logo.png"/>
</head>
<body>
<center>
<table class="activity" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<!--
<td class="usage_td">
</td>
<td class="post_td" align="center">
</td>
-->
<td class="board_td">
<table cellspacing="0" class="datatable" style="border-collapse: inherit;">
<tr><th>posts today</th><th>post rate</th><th>board</th></tr>
{{#graph}}
<tr><td class="right">{{Day}}</td><td class="right">{{Hour}} PPH</td><td><a href="{{prefix}}b/{{Board}}/">{{Board}}</a></td></tr>
{{/graph}}
</table>
</td>
</tr>
</table>
</center>
</body>
</html>