Archived
1
0

add overview

This commit is contained in:
jeff
2015-10-31 11:10:58 -04:00
parent 2212f61ff0
commit 4c822ba2cd
2 changed files with 30 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
template parameters:
- boardgraph ( a boardPageRows instance, see srnd/model.go )
- postgraph ( a postsGraph instance , see srnd/model.go )
- overview ( an overviewModel instance, see srnd/model.go )
- totalposts ( the number of total posts we have ever seen )
- frontend ( the name of the frontend )
- prefix ( the site's prefix )
@@ -32,6 +33,7 @@
<!-- begin posts graph -->
{{{postsgraph.Render}}}
<!-- begin board graph -->
{{! todo: move boardgraph into its own file like postsgraph }}
<table id="board_graph">
<tbody>
<tr>
@@ -60,8 +62,9 @@
</table>
</div>
</div>
<div>
<!-- begin overview -->
<div class="index-inner">
{{{overview.Render}}}
</div>
</center>
</body>