move progress into sidebar
This commit is contained in:
@@ -105,6 +105,7 @@ CodeOceanEditorEvaluation = {
|
||||
this.runmode = this.SERVER_SEND_EVENT;
|
||||
this.createSubmission('#assess', null, function (response) {
|
||||
this.showSpinner($('#assess'));
|
||||
$('#score_div').removeClass('hidden');
|
||||
var url = response.score_url;
|
||||
this.initializeSocketForScoring(url);
|
||||
}.bind(this));
|
||||
|
@@ -136,6 +136,7 @@ CodeOceanEditorSubmissions = {
|
||||
$('#stop').data('url', response.stop_url);
|
||||
this.running = true;
|
||||
this.showSpinner($('#run'));
|
||||
$('#score_div').addClass('hidden');
|
||||
this.toggleButtonStates();
|
||||
var url = response.run_url.replace(this.FILENAME_URL_PLACEHOLDER, this.active_file.filename);
|
||||
this.initializeSocketForRunning(url);
|
||||
|
Reference in New Issue
Block a user