aboutsummaryrefslogtreecommitdiff
path: root/app/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/views.py')
-rw-r--r--app/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views.py b/app/views.py
index 2266f40..65dd4a9 100644
--- a/app/views.py
+++ b/app/views.py
@@ -104,8 +104,10 @@ def status():
protein_name = r[6]
PDFReport = "/static/uploads/reports/" + str(jobID) + ".pdf"
+ AndroidModel = "/static/uploads/3DModels/" + str(jobID) + ".gltf"
+ iOSModel = "/static/uploads/3DModels/" + str(jobID) + ".usdz"
- return render_template('job_status.html',ID=jobID,pn=protein_name,ln=ligand_name,subDate=date,desc=description,status=done,PDFReport=PDFReport)
+ return render_template('job_status.html',ID=jobID,pn=protein_name,ln=ligand_name,subDate=date,desc=description,status=done,PDFReport=PDFReport,AndroidModel=AndroidModel,iOSModel=iOSModel)
flash_errors(taskStatusForm)
return render_template('job_status_form.html',form=taskStatusForm)