aboutsummaryrefslogtreecommitdiff
path: root/app/templates/dock_automatic.html
blob: 382948f27fc09de77ddb375cdb417381a3f243a1 (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
40
41
42
43
{% extends 'base.html' %}
{% set active_page = "dock" %}
{% block main %}
    <h2>Enter Your Configuration</h2>
    <form action="{{ url_for('dock_automatic') }}" method="post" enctype="multipart/form-data">
        {% include 'flash_messages.html' %}
        {{ form.csrf_token }}
        <div class="form-group">
            {{ form.description.label }}
            {{ form.description(class="form-control") }}
        </div>
        <div class="form-row">
            <div class="col">
            {{ form.pdbID.label }}
            {{ form.pdbID(class="form-control")}}
            </div>
            <div class="col">
                {{ form.smiles.label }}
                {{ form.smiles(class="form-control")}}
            </div>
            <div class="col">
                {{ form.name.label }}
                {{ form.name(class="form-control")}}
            </div>
        </div>
        <div class="form-group">
            {{ form.email.label }}
            {{ form.email(class="form-control") }}
        </div>

        <button class="btn btn-primary">Upload</button>
    </form>
    <br>
    <section>
        <style>
            #discovery{
                height: 40vh;
            }
        </style>
        <div id="discovery"></div>
        <script src="{{url_for('static',filename='js/discovery.js')}}"></script>
    </section>
{% endblock %}