Shave of some bytes of server_detail.html.
This commit is contained in:
parent
4861eeabbc
commit
68aeecd053
@ -61,7 +61,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
var data = [
|
var data = [
|
||||||
{{range .weekhistory}}[{{.Timestamp |inms}}, {{.Players}}], {{end}}
|
{{range .weekhistory}}[{{.Timestamp |inms}},{{.Players}}],{{end}}
|
||||||
];
|
];
|
||||||
$.plot("#weekhistory", [data], {
|
$.plot("#weekhistory", [data], {
|
||||||
xaxis: {
|
xaxis: {
|
||||||
@ -79,7 +79,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
var data = [
|
var data = [
|
||||||
{{range .monthhistory}}[{{.Timestamp |inms}}, {{.Players}}], {{end}}
|
{{range .monthhistory}}[{{.Timestamp |inms}},{{.Players}}],{{end}}
|
||||||
];
|
];
|
||||||
$.plot("#monthhistory", [data], {
|
$.plot("#monthhistory", [data], {
|
||||||
xaxis: {
|
xaxis: {
|
||||||
@ -97,7 +97,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
var data= [
|
var data= [
|
||||||
{{range .weekdayavg}}[{{.Day}}, {{.Players}}], {{end}}
|
{{range .weekdayavg}}[{{.Day}},{{.Players}}],{{end}}
|
||||||
];
|
];
|
||||||
$.plot("#weekdayavg", [data], {
|
$.plot("#weekdayavg", [data], {
|
||||||
xaxis: {
|
xaxis: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user