Shave of some bytes of server_detail.html.

This commit is contained in:
A. Svensson 2016-02-22 18:52:58 +01:00
parent 4861eeabbc
commit 68aeecd053

View File

@ -61,7 +61,7 @@
<script type="text/javascript">
$(function() {
var data = [
{{range .weekhistory}}[{{.Timestamp |inms}}, {{.Players}}], {{end}}
{{range .weekhistory}}[{{.Timestamp |inms}},{{.Players}}],{{end}}
];
$.plot("#weekhistory", [data], {
xaxis: {
@ -79,7 +79,7 @@
});
var data = [
{{range .monthhistory}}[{{.Timestamp |inms}}, {{.Players}}], {{end}}
{{range .monthhistory}}[{{.Timestamp |inms}},{{.Players}}],{{end}}
];
$.plot("#monthhistory", [data], {
xaxis: {
@ -97,7 +97,7 @@
});
var data= [
{{range .weekdayavg}}[{{.Day}}, {{.Players}}], {{end}}
{{range .weekdayavg}}[{{.Day}},{{.Players}}],{{end}}
];
$.plot("#weekdayavg", [data], {
xaxis: {