From 6326357250711650bc8b4c0b90f8c0b94d72c39e Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 29 Mar 2024 13:14:14 +0300 Subject: Add UI to select/create tissue. --- qc_app/templates/rqtl2/create-tissue-success.html | 104 +++++++++++++++++++ .../templates/rqtl2/select-probeset-study-id.html | 20 +--- qc_app/templates/rqtl2/select-tissue.html | 112 +++++++++++++++++++++ 3 files changed, 218 insertions(+), 18 deletions(-) create mode 100644 qc_app/templates/rqtl2/create-tissue-success.html create mode 100644 qc_app/templates/rqtl2/select-tissue.html (limited to 'qc_app/templates') diff --git a/qc_app/templates/rqtl2/create-tissue-success.html b/qc_app/templates/rqtl2/create-tissue-success.html new file mode 100644 index 0000000..ea05624 --- /dev/null +++ b/qc_app/templates/rqtl2/create-tissue-success.html @@ -0,0 +1,104 @@ +{%extends "base.html"%} +{%from "flash_messages.html" import flash_all_messages%} + +{%block title%}Upload R/qtl2 Bundle{%endblock%} + +{%block contents%} +

Select Tissue

+ +
+

You have successfully added a new tissue, organ or biological material with + the following details:

+
+ +{{flash_all_messages()}} + +
+ Create Tissue + + + + + + + +
+ + +
+ +
+ + +
+ + {%if tissue.BIRN_lex_ID%} +
+ + +
+ {%endif%} + + {%if tissue.BIRN_lex_Name%} +
+ + +
+ {%endif%} +
+ +
+ +
+ + + + + + + + +
+ +

+ OR +

+ +
+ + + + + + + +
+ +
+ +{%endblock%} diff --git a/qc_app/templates/rqtl2/select-probeset-study-id.html b/qc_app/templates/rqtl2/select-probeset-study-id.html index 3bbb94a..23bbbf0 100644 --- a/qc_app/templates/rqtl2/select-probeset-study-id.html +++ b/qc_app/templates/rqtl2/select-probeset-study-id.html @@ -26,6 +26,7 @@ +
@@ -71,6 +72,7 @@ +
@@ -89,24 +91,6 @@
-
- - - - Select the Tissue to which the data is concerned. - -
-
Tissue + +
+

The data you are uploading concerns a tissue, cell, organ, or other + biological material used in an experiment.

+

Select the appropriate biological material below

+
+ +{%if tissues | length > 0%} +
+ Select from existing ProbeSet datasets + {{flash_messages("error-select-tissue")}} + + + + + + +
+ + + + Select from existing biological material. +
+ +
+ +
+
+ +

OR

+{%endif%} + +
+

If you cannot find the biological material in the drop-down above, add it + to the system below.

+
+ +
+ Add new tissue, organ or biological material + {{flash_messages("error-create-tissue")}} + + + + + + +
+ + + + + A name to identify the tissue, organ or biological material. + +
+ +
+ + + + + Provide a short name for the tissue, organ or biological material used in + the experiment. + +
+ +
+ +
+
+ +{%endblock%} -- cgit v1.2.3