aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/samples/select-species.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-09 14:06:31 -0500
committerFrederick Muriuki Muriithi2024-09-09 16:41:46 -0500
commit9cd33ddac3d6848c5443962d66494635feadef51 (patch)
tree385a559380f4d6a961fefb38ad410ad9ca27b052 /uploader/templates/samples/select-species.html
parent707c715d1e336ee45bdcced031881ed603b9297a (diff)
downloadgn-uploader-9cd33ddac3d6848c5443962d66494635feadef51.tar.gz
Initialise samples uploads
* Move existing code to new module * Rework the UI: create new templates * Rework the routes: Select species and populations before attempting an upload.
Diffstat (limited to 'uploader/templates/samples/select-species.html')
-rw-r--r--uploader/templates/samples/select-species.html30
1 files changed, 0 insertions, 30 deletions
diff --git a/uploader/templates/samples/select-species.html b/uploader/templates/samples/select-species.html
deleted file mode 100644
index aa64ecf..0000000
--- a/uploader/templates/samples/select-species.html
+++ /dev/null
@@ -1,30 +0,0 @@
-{%extends "base.html"%}
-{%from "flash_messages.html" import flash_all_messages%}
-
-{%block title%}Select Grouping/Population{%endblock%}
-
-{%block contents%}
-<h2 class="heading">upload samples/cases</h2>
-
-<p>We need to know what species your data belongs to.</p>
-
-{{flash_all_messages()}}
-
-<form method="POST" action="{{url_for('expression-data.samples.select_species')}}">
- <legend class="heading">upload samples</legend>
- <div class="form-group">
- <label for="select_species02" class="form-label">Species</label>
- <select id="select_species02"
- name="species_id"
- required="required"
- class="form-control">
- <option value="">Select species</option>
- {%for spec in species%}
- <option value="{{spec.SpeciesId}}">{{spec.MenuName}}</option>
- {%endfor%}
- </select>
- </div>
-
- <button type="submit" class="btn btn-primary">submit</button>
-</form>
-{%endblock%}