-
Notifications
You must be signed in to change notification settings - Fork 10
/
create_kits.html
55 lines (54 loc) · 1.69 KB
/
create_kits.html
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
{% extends "sitebase.html" %}
{% block content %}
<h3>Microsetta Create Kits</h3>
<style>
select {
width: 250px;
margin: 10px;
}
</style>
<div style="height: 400px;">
{% if error %}
<p style="color:red">
{{error |e}}
</p>
{% endif %}
<form name="kit_form" id="kit_form" method="POST">
<table>
<tr>
<td><label for="num_kits">Number of kits: </label></td>
<td><input type="number" name="num_kits" id="num_kits" min="1"></td>
</tr>
<tr>
<td><label for="num_samples">Samples per kit: </label></td>
<td><input type="number" name="num_samples" id="num_samples" min="1"></td>
</tr>
<tr>
<td><label for="prefix">Kit name prefix (optional): </label></td>
<td><input type="text" name="prefix" id="prefix" ></td>
</tr>
<tr>
<td><label for="project">Projects: </label></td>
<td><select id="create-select-project" name="projects" multiple class="chosen-select" size=10>
{% for p in projects %}
<option value='{{p}}'>{{p}}</option>
{% endfor %}
</select></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Create kits"></td>
</tr>
</table>
{% if search_error %}
<p style="color:red">
{{search_error |e}}
</p>
{% endif %}
<script>
document.agForm.num_kits.focus()
</script>
</form>
</div>
{{blob}}
{% endblock %}