From 422a7b2e721b1afb475db6ab98416e86258e46eb Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 30 Aug 2020 22:24:16 +0530 Subject: added AR functionality --- app/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/views.py') 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) -- cgit v1.2.3