blob: 43dcd633f834147df0ccd87e8c83de3914aa0549 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
{% extends 'base.html' %}
{% set active_page = "dock" %}
{% block main %}
<h2>Enter Your Configuration</h2>
<form action="{{ url_for('dock_upload') }}" 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.size_x.label }}
{{ form.size_x(class="form-control")}}
</div>
<div class="col">
{{ form.size_y.label }}
{{ form.size_y(class="form-control")}}
</div>
<div class="col">
{{ form.size_z.label }}
{{ form.size_z(class="form-control")}}
</div>
</div>
<div class="form-row">
<div class="col">
{{ form.center_x.label }}
{{ form.center_x(class="form-control")}}
</div>
<div class="col">
{{ form.center_y.label }}
{{ form.center_y(class="form-control")}}
</div>
<div class="col">
{{ form.center_z.label }}
{{ form.center_z(class="form-control")}}
</div>
</div>
<div class="form-row">
<div class="col">
{{ form.target.label }}
{{ form.target(class="form-control") }}
</div>
<div class="col">
{{ form.ligand.label }}
{{ form.ligand(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 %}
|