about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-12-13 13:58:09 -0600
committerFrederick Muriuki Muriithi2024-12-13 14:43:53 -0600
commit903fb847a03f9d3d814065349eca08e3bdc24865 (patch)
tree4d1bc8cb458da1480c83eb7589922f28b7f3be3a
parent9af24c595d9db7660e1917164f6a304adbe31392 (diff)
downloadgn-uploader-903fb847a03f9d3d814065349eca08e3bdc24865.tar.gz
Prompt for the files.
-rw-r--r--uploader/templates/phenotypes/add-phenotypes-raw-files.html58
1 files changed, 58 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/add-phenotypes-raw-files.html b/uploader/templates/phenotypes/add-phenotypes-raw-files.html
index 30dc10b..612bff7 100644
--- a/uploader/templates/phenotypes/add-phenotypes-raw-files.html
+++ b/uploader/templates/phenotypes/add-phenotypes-raw-files.html
@@ -84,6 +84,64 @@
       indicating no values.</span>
   </div>
 </fieldset>
+
+<fieldset id="fldset-data-files">
+  <legend>Data File(s)</legend>
+
+  <div class="form-group">
+    <label for="finput-phenotype-descriptions" class="form-label">
+      Phenotype Descriptions</label>
+    <input id="finput-phenotype-descriptions"
+           name="phenotype-descriptions"
+           class="form-control"
+           type="file"
+           required="required"  />
+    <span class="form-text text-muted">
+      Provide a file that contains only the phenotype descriptions,
+      <a href="#docs-file-phenotype-description"
+         title="Documentation of the phenotype data file format.">
+        the documentation for the expected format of the file</a>.</span>
+  </div>
+
+  <div class="form-group">
+    <label for="finput-phenotype-data" class="form-label">Phenotype Data</label>
+    <input id="finput-phenotype-data"
+           name="phenotype-data"
+           class="form-control"
+           type="file"
+           required="required"  />
+    <span class="form-text text-muted">
+      Provide a file that contains only the phenotype data. See
+      <a href="#docs-file-example"
+         title="Documentation of the phenotype data file format.">
+        the documentation for the expected format of the file</a>.</span>
+  </div>
+  {%if population.Family in families_with_se_and_n%}
+  <div class="form-group">
+    <label for="finput-phenotype-se" class="form-label">Phenotype: Standard Errors</label>
+    <input id="finput-phenotype-se"
+           name="phenotype-se"
+           class="form-control"
+           type="file"
+           required="required"  />
+    <span class="form-text text-muted">
+      Provide a file that contains only the standard errors for the phenotypes,
+      computed from the data above.</span>
+  </div>
+
+  <div class="form-group">
+    <label for="finput-phenotype-n" class="form-label">Phenotype: Number of Samples/Individuals</label>
+    <input id="finput-phenotype-n"
+           name="phenotype-n"
+           class="form-control"
+           type="file"
+           required="required"  />
+    <span class="form-text text-muted">
+      Provide a file that contains only the number of samples/individuals used in
+      the computation of the standard errors above.</span>
+  </div>
+</fieldset>
+{%endif%}
 {%endblock%}