2020-07-07 17:50:03 +01:00
{% extends 'base.html' %}
2020-09-16 19:21:21 +01:00
{% set active_page = "job_status" %}
2020-07-07 17:50:03 +01:00
{% block main %}
< h2 > Job ID: {{ ID }}< / h2 >
< b > Submitted On: < / b > {{subDate}}< br >
< b > Target Name: < / b > {{pn}}< br >
< b > Ligand Name: < / b > {{ln}}< br >
< b > Description: < / b > {{desc}}< br >
< b > Status: < / b > {{status}}
2020-08-04 16:58:56 +01:00
2020-08-30 12:15:47 +01:00
{% if status == 'Completed' %}
< style >
iframe {
width: 100%;
height: 550px;
border: none;
overflow: hidden;
}
2020-08-30 17:54:16 +01:00
model-viewer {
width: 100%;
height: 400px;
}
2020-08-30 12:15:47 +01:00
< / style >
2020-09-24 12:01:04 +01:00
< p > A detailed zip file containing the report PDF, along with all supporting files (configuration, pictures, protein-ligands e.t.c) has been sent to your email.< / p >
2020-08-30 17:54:16 +01:00
2020-09-24 12:01:04 +01:00
{% endif %}
{% if model == 'exists' %}
2020-08-30 17:54:16 +01:00
< 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 >
2020-09-24 12:01:04 +01:00
{% endif %}
2020-08-30 17:54:16 +01:00
2020-09-24 12:01:04 +01:00
{% if report == 'exists' %}
2020-08-30 12:15:47 +01:00
< h3 > PDF Report< / h3 >
< section >
< iframe src = {{PDFReport}} id = "report" > < / iframe >
< / section >
2020-09-24 12:01:04 +01:00
{% endif %}
2020-08-30 12:15:47 +01:00
2020-08-30 17:54:16 +01:00
2020-08-30 12:15:47 +01:00
2020-08-04 16:58:56 +01:00
< section >
< style >
#growth{
height: 40vh;
}
< / style >
< div id = "growth" > < / div >
< script src = "{{url_for('static',filename='js/growth.js')}}" > < / script >
< / section >
2020-07-07 17:50:03 +01:00
{% endblock %}