diff --git a/bin/update_graphs.go b/bin/update_graphs.go index d74c477..5538578 100644 --- a/bin/update_graphs.go +++ b/bin/update_graphs.go @@ -53,7 +53,8 @@ func main() { err := rows.Scan(&id, &title) checkerror(err) createtimegraph(db, "week-time-", id, title, LAST_WEEK) - createweekdaygraph(db, "week-avg_day-", id, title, LAST_WEEK) + createtimegraph(db, "month-time-", id, title, LAST_MONTH) + createweekdaygraph(db, "month-avg_day-", id, title, LAST_MONTH) } err = rows.Err() checkerror(err) diff --git a/src/templates/gameservers/server_detail.html b/src/templates/gameservers/server_detail.html index 15fdfa7..e9d7d2b 100644 --- a/src/templates/gameservers/server_detail.html +++ b/src/templates/gameservers/server_detail.html @@ -53,11 +53,16 @@ -
+ Last week
+
+ Last month
+
+ Last month
{% endblock %}