Polishing touches

Minor UI fixes and doc cleanup.
This commit is contained in:
Nicolas Setton
2017-09-07 09:43:34 -04:00
parent 8330c4adf3
commit 6c3302249c
4 changed files with 3 additions and 6 deletions

View File

@@ -13,7 +13,6 @@ source env/bin/activate
pip install -r REQUIREMENTS.txt
# This is to initialize the django database
./manage.py makemigrations
./manage.py migrate
# This is to get the ACE editor

View File

@@ -32,7 +32,7 @@ def check_program(request):
# Sanity check for the existence of gnatprove
if not check_gnatprove():
result = {'output': "gnatprove not found",
result = {'output_lines': ["gnatprove not found"],
'status': 0,
'message': "error"}
@@ -98,6 +98,4 @@ def check_program(request):
'status': status,
'message': message}
print result
return Response(result)

View File

@@ -47,7 +47,7 @@ function process_check_output(editors, output_area, output, status, message){
})
// Congratulations!
if (!found_error_message){
if (!found_error_message && message == "success"){
var div = $('<div class="output_success">')
div.text("Success!")
div.appendTo(output_area)

View File

@@ -41,7 +41,7 @@ curl -H 'Accept: application/json; indent=4' http://127.0.0.1:8000/examples/ --h
# TODO: add a facility to do this
# Setup:
cd resources ; git clone https:AdaCore/Compile_And_Prove_Demo.git
cd resources ; git clone https://github.com/AdaCore/Compile_And_Prove_Demo.git
# Import:
./manage.py fill_examples --remove_all