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 { #captcha_img {
background: grey; background: grey;
}
#posts_graph {
float: left;
} }

View File

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

View File

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