Got some stats displaying

This commit is contained in:
2015-11-02 13:48:29 -06:00
parent 1f5eae33b9
commit 083f9f3901
10 changed files with 29438 additions and 48 deletions

View File

@@ -3,5 +3,6 @@
{{ range $i, $v := .Scripts }}
<script src="{{ $v }}"></script>
{{ end }}
<script>{{ .InlineScript }}</script>
</body>
</html>

View File

@@ -1,21 +1,6 @@
<div>
devICT Slack!
</div>
<div>
{{ .TemplateData.Error }}
</div>
<div>
<table class="pure-table">
<thead>
<tr>
<th colspan="2">Statistics</th>
</tr>
</thead>
<tbody>
<tr>
<td>Total Channel Messages</td>
<td>{{ .TemplateData.TotalChannelMessages }}</td>
</tr>
</tbody>
</table>
</div>
<div id="mainStatsBarChart"></div>
<hr />
<div id="statsBarChart"></div>