Add live graphs for active users and submission volume

This commit is contained in:
Maximilian Grundke
2018-04-11 13:43:10 +02:00
parent 8cdf909188
commit 2a4e9bc94b
9 changed files with 184 additions and 0 deletions

View File

@@ -221,6 +221,7 @@ de:
destroy_through_lti: Code-Abgabe
statistics:
show: "Statistiken"
graphs: "Visualisierungen"
consumers:
show:
link: Konsument
@@ -755,3 +756,4 @@ de:
with_comments: "Anfragen mit Kommentaren"
users:
currently_active: "Aktiv (5 Minuten)"
currently_active60: "Aktiv (60 Minuten)"

View File

@@ -221,6 +221,7 @@ en:
destroy_through_lti: Code Submission
statistics:
show: "Statistics"
graphs: "Graphs"
consumers:
show:
link: Consumer
@@ -755,3 +756,4 @@ en:
with_comments: "RfCs with Comments"
users:
currently_active: "Active (5 minutes)"
currently_active60: "Active (60 minutes)"

View File

@@ -43,6 +43,7 @@ Rails.application.routes.draw do
get '/help', to: 'application#help'
get 'statistics/', to: 'statistics#show'
get 'statistics/graphs', to: 'statistics#graphs'
concern :statistics do
member do