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

59 lines
1.9 KiB
Plaintext
Raw Normal View History

2015-08-06 23:32:20 +05:00
{{!
frontpage.mustache -- template for index.html
template parameters:
- graph ( a list of 4 string tuples: (board, posts_per_hour, posts_per_day, total_posts) )
- totalposts ( the number of total posts we have ever seen )
- frontend ( the name of the frontend )
- prefix ( the site's prefix )
}}
<html>
<head>
<link rel="stylesheet" href="{{prefix}}static/site.css"></link>
2015-10-08 20:49:30 +05:00
<style src="{{prefix}}static/user.css" type="text/css"></style>
2015-08-06 23:32:20 +05:00
<title> {{frontend}} on nntpchan </title>
</head>
<body>
<center>
<div class="index-outer">
<div class="index-inner">
<h1> {{frontend}} on nntpchan </h1>
2015-08-20 20:02:41 +05:00
<h2>View the <a href="ukko.html">overboard</a></h2>
2015-08-06 23:32:20 +05:00
<h3>Read the <a href="{{prefix}}static/faq.html">FAQ</a></h3>
2015-10-01 23:27:46 +05:00
<h3>Join the <a href="https://qchat.rizon.net/?channels=#nntpchan">IRC</a></h3>
2015-10-04 07:07:19 +05:00
<h3>Create a <a href="{{prefix}}new/">new board</a></h3>
2015-08-20 20:51:19 +05:00
<h3>Fork on github: <a href="https://github.com/majestrate/nntpchan/">frontend</a> and <a href="https://github.com/majestrate/srndv2/">core</a></h3>
2015-08-20 20:02:41 +05:00
<h4>We've Had {{totalposts}} Posts Since August 01 2015 </h4>
2015-08-06 23:32:20 +05:00
</div>
<div class="index-inner">
<table id="board_graph">
<tbody>
<tr>
<th> Board </th>
<th> Post per Hour </th>
<th> Post per Day </th>
<th> Total </th>
</tr>
{{# graph}}
<tr>
<td>
<a href="{{prefix}}{{Board}}-0.html">{{Board}}</a>
</td>
<td>
{{Hour}}
</td>
<td>
{{Day}}
</td>
<td>
{{All}}
</td>
</tr>
{{/ graph}}
</tbody>
</table>
</div>
</div>
</center>
</body>
</html>