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);
|
||||
|
@@ -89,6 +89,14 @@ button i.fa-spin {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
#turtlecanvas{
|
||||
border-style:solid;
|
||||
border-width:thin;
|
||||
display: block;
|
||||
margin: auto;
|
||||
|
||||
}
|
||||
|
||||
/* .requestCommentsButton {
|
||||
position: relative;
|
||||
margin-top: -50px;
|
||||
|
Reference in New Issue
Block a user