change gitignore and fixes to statistic graphs
This commit is contained in:
@ -32,7 +32,7 @@ h1 = "#{@exercise} (external user #{@external_user})"
|
||||
option data-submission=submission
|
||||
=index
|
||||
- index += 1
|
||||
|
||||
- working_times_until = Array.new
|
||||
#timeline
|
||||
.table-responsive
|
||||
table.table
|
||||
@ -54,7 +54,11 @@ h1 = "#{@exercise} (external user #{@external_user})"
|
||||
- else
|
||||
.unit-test-result.negative-result
|
||||
td = Time.at(deltas[1..index].inject(:+)).utc.strftime("%H:%M:%S") if index > 0
|
||||
-working_times_until.push((Time.at(deltas[1..index].inject(:+)).utc.strftime("%H:%M:%S") if index > 0))
|
||||
p = t('.addendum')
|
||||
.hidden#wtimes data-working_times=ActiveSupport::JSON.encode(working_times_until);
|
||||
div#progress_chart.col-lg-12
|
||||
.graph-functions-2
|
||||
|
||||
- else
|
||||
p = t('.no_data_available')
|
||||
|
@ -21,11 +21,11 @@ h1 = @exercise
|
||||
-working_time_array.push working_time
|
||||
hr
|
||||
.hidden#data data-working-time=ActiveSupport::JSON.encode(working_time_array)
|
||||
.graph-functions
|
||||
div#chart_1
|
||||
hr
|
||||
div#chart_2
|
||||
hr
|
||||
.graph-functions
|
||||
/div#chart_2
|
||||
/hr
|
||||
.table-responsive
|
||||
table.table.table-striped.sortable
|
||||
thead
|
||||
|
Reference in New Issue
Block a user