Add execution environment statistics
This commit is contained in:
@@ -167,6 +167,11 @@ de:
|
||||
shell:
|
||||
command: Befehl
|
||||
headline: Shell
|
||||
statistics:
|
||||
exercise: Übung
|
||||
score: Durchschnittliche Punktzahl
|
||||
runs: Durchschnittliche Anzahl von Versuchen
|
||||
worktime: Durchschnittliche Arbeitszeit
|
||||
exercises:
|
||||
editor:
|
||||
confirm_start_over: Wollen Sie wirklich von vorne anfangen?
|
||||
|
@@ -167,6 +167,11 @@ en:
|
||||
shell:
|
||||
command: Command
|
||||
headline: Shell
|
||||
statistics:
|
||||
exercise: Exercise
|
||||
score: Average Score
|
||||
runs: Average Number of Runs
|
||||
worktime: Average Worktime
|
||||
exercises:
|
||||
editor:
|
||||
confirm_start_over: Do you really want to start over?
|
||||
@@ -239,10 +244,10 @@ en:
|
||||
intermediate_submissions: Intermediate Submissions
|
||||
participants: Participating Users
|
||||
users: '%{count} distinct users'
|
||||
user: 'User'
|
||||
score: 'Score'
|
||||
runs: 'Runs'
|
||||
worktime: 'Worktime'
|
||||
user: User
|
||||
score: Score
|
||||
runs: Runs
|
||||
worktime: Worktime
|
||||
submit:
|
||||
failure: An error occured while transmitting your score. Please try again later.
|
||||
files:
|
||||
|
@@ -26,6 +26,7 @@ Rails.application.routes.draw do
|
||||
member do
|
||||
get :shell
|
||||
post 'shell', as: :execute_command, to: :execute_command
|
||||
get :statistics
|
||||
end
|
||||
|
||||
resources :errors, only: [:create, :index, :show]
|
||||
|
Reference in New Issue
Block a user