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

34 lines
809 B
Plaintext
Raw Permalink Normal View History

2015-12-23 05:07:29 +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 )
}}
<!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan.css"><title>{{frontend}} boards</title></head><body>
2015-12-23 05:33:03 +05:00
<table>
<tr>
<th>board</th>
<th>posts per hour</th>
<th>posts per day</th>
<th>total</th>
</tr>
{{# graph}}
2015-12-23 05:07:29 +05:00
<tr>
2015-12-23 05:33:03 +05:00
<td>
<a href="{{prefix}}{{Board}}-0.html">{{Board}}</a>
</td>
<td>
{{Hour}}
</td>
<td>
{{Day}}
</td>
<td>
{{All}}
</td>
2015-12-23 05:07:29 +05:00
</tr>
2015-12-23 05:33:03 +05:00
{{/ graph}}
</table>
</body></html>