about summary refs log tree commit diff
diff options
context:
space:
mode:
-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%}