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

34 lines
760 B
Plaintext
Raw Normal View History

2015-11-01 21:41:05 +05:00
{{!
graph_history.mustache
template parameters:
- history ( a list of PostEntry instances, see srnd/model.go )
}}
<html>
<head>
<meta charset="utf-8"></meta>
<link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" />
2015-11-01 21:48:37 +05:00
<title> Post History</title>
2015-11-01 21:41:05 +05:00
</head>
<body>
2015-11-01 22:15:15 +05:00
<table id="history_graph">
2015-11-01 21:41:05 +05:00
<thead>
<tr>
<th>Month</th>
<th>Posts</th>
<th></th>
</tr>
</thead>
<tbody>
{{#history.Scale}}
<tr>
<td>{{Date}}</td>
2015-11-01 22:15:15 +05:00
<td class="history_num">{{Num}}</td>
2015-11-01 21:41:05 +05:00
<td>{{OvercockGraph}}</td>
</tr>
{{/history.Scale}}
</tbody>
</table>
</body>
</html>