aboutsummaryrefslogtreecommitdiff
path: root/app/templates/job_status.html
blob: 89d2d5572532f74c175339b10bc1a2a81592402a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{% extends 'base.html' %}

{% 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}}

{% if status == 'Completed' %}
    
    <style>
        iframe {
        width: 100%;
        height: 550px;
        border: none;
        overflow: hidden;
      }
    </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>PDF Report</h3>
    <section>
        <iframe src={{PDFReport}} id="report"></iframe>
    </section>

{% endif %}

    <section>
        <style>
            #growth{
                height: 40vh;
            }
        </style>
        <div id="growth"></div>
        <script src="{{url_for('static',filename='js/growth.js')}}"></script>
    </section>
{% endblock %}