aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-08-30 22:24:16 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-08-30 22:24:16 +0530
commit422a7b2e721b1afb475db6ab98416e86258e46eb (patch)
treebeae4333b059e8f34467acd099304a5bec327632 /app/templates
parent647709724110149d51f3195e6618c9d861ab3dcf (diff)
added AR functionality
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/job_status.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/templates/job_status.html b/app/templates/job_status.html
index 89d2d55..1536f8f 100644
--- a/app/templates/job_status.html
+++ b/app/templates/job_status.html
@@ -17,14 +17,30 @@
border: none;
overflow: hidden;
}
+ model-viewer {
+ width: 100%;
+ height: 400px;
+ }
</style>
<p>A detailed zip file containing this PDF, along with all supporting files (configuration, pictures, protein-ligands e.t.c) to your email.</p>
+
+ <h3>AR Model</h3>
+
+ <section>
+ <script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.js"></script>
+ <script nomodule src="https://unpkg.com/@google/model-viewer/dist/model-viewer-legacy.js"></script>
+ <model-viewer src={{AndroidModel}} ios-src={{iOSModel}} ar="" auto-rotate="" camera-controls="" shadow-intensity="1" alt=”3D Model of your Docking Job”></model-viewer>
+ </section>
+
+
<h3>PDF Report</h3>
<section>
<iframe src={{PDFReport}} id="report"></iframe>
</section>
+
+
{% endif %}
<section>