Archived
1
0

try fixing posts graph

This commit is contained in:
jeff 2015-10-31 07:57:19 -04:00
parent e4a9d8ef8c
commit 7aa769d52d
3 changed files with 23 additions and 20 deletions

View File

@ -250,4 +250,8 @@ html {
#captcha_img {
background: grey;
}
#posts_graph {
float: left;
}

View File

@ -55,9 +55,9 @@
{{/ boardgraph}}
</tbody>
</table>
<!-- being posts graph -->
{{{postsgraph.Render}}}
</div>
<!-- being posts graph -->
{{{postsgraph.Render}}}
</div>
<div>

View File

@ -4,23 +4,22 @@ parameters:
* graph - a postsGraph instance (see srnd/model.go)
}}
<div id="posts_graph">
<table>
<thead>
<table id="posts_graph">
<thead>
<tr>
<th>Day</th>
<th>Posts</th>
<th></th>
</tr>
</thead>
<tbody>
{{#graph.Scale}}
<tr>
<th>Day</th>
<th>Posts</th>
<th></th>
<td>{{Day}}</td>
<td>{{Num}}</td>
<td>{{OvercockGraph}}</td>
</tr>
</thead>
<tbody>
{{#graph.Scale}}
<tr>
<td>{{Day}}</td>
<td>{{Num}}</td>
<td>{{OvercockGraph}}</td>
</tr>
{{/graph.Scale}}
</tbody>
</table>
</div>
{{/graph.Scale}}
</tbody>
</table>