diff options
Diffstat (limited to 'qc_app/templates/rqtl2/upload-rqtl2-bundle.html')
-rw-r--r-- | qc_app/templates/rqtl2/upload-rqtl2-bundle.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/qc_app/templates/rqtl2/upload-rqtl2-bundle.html b/qc_app/templates/rqtl2/upload-rqtl2-bundle.html new file mode 100644 index 0000000..6491e6b --- /dev/null +++ b/qc_app/templates/rqtl2/upload-rqtl2-bundle.html @@ -0,0 +1,44 @@ +{%extends "base.html"%} +{%from "flash_messages.html" import flash_messages%} + +{%block title%}Upload R/qtl2 Bundle{%endblock%} + +{%block contents%} +<h2 class="heading">Upload R/qtl2 Bundle</h2> + +<form id="frm-upload-rqtl2-bundle" + action="{{url_for('upload.rqtl2.upload_rqtl2_bundle', + species_id=species.SpeciesId, + population_id=population.InbredSetId)}}" + method="POST" + enctype="multipart/form-data"> + <input type="hidden" name="species_id" value="{{species.SpeciesId}}" /> + <input type="hidden" name="population_id" + value="{{population.InbredSetId}}" /> + + {{flash_messages("error-rqtl2")}} + + <fieldset> + <legend>file upload</legend> + <label for="file:rqtl2-bundle">R/qtl2 bundle</label> + <input type="file" id="file:rqtl2-bundle" name="rqtl2_bundle" + accept="application/zip, .zip" + required="required" /> + <span class="form-input-help"><p>Provide a valid R/qtl2 zip file here. In + particular, ensure your zip bundle contains exactly one control file and + the corresponding files mentioned in the control file.</p> + <p>The control file can be either a YAML or JSON file. <em>ALL</em> other + data files in the zip bundle should be CSV files.</p> + <p>See the + <a href="https://kbroman.org/qtl2/assets/vignettes/input_files.html" + target="_blank"> + R/qtl2 file format specifications</a> for more details.</p></span> + </fieldset> + <fieldset> + <input type="submit" + value="upload R/qtl2 bundle" + class="btn btn-main form-col-2" /> + </fieldset> +</form> + +{%endblock%} |