From 6224a885f99ed4e26164e49260c222183bf4982a Mon Sep 17 00:00:00 2001 From: Lei Yan Date: Thu, 16 Mar 2017 17:18:44 +0000 Subject: Add meta info (X axis, Y axis) for Correlation Scatterplot --- wqflask/wqflask/templates/corr_scatterplot.html | 41 ++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/templates/corr_scatterplot.html b/wqflask/wqflask/templates/corr_scatterplot.html index 2b2119ea..140a7cca 100644 --- a/wqflask/wqflask/templates/corr_scatterplot.html +++ b/wqflask/wqflask/templates/corr_scatterplot.html @@ -47,10 +47,49 @@ --> - +
+
X axis:
+ {% if trait_1.dataset.type == "ProbeSet" %} +
+ + {{trait_1.dataset.group.species + " " + trait_1.dataset.group.name + " " + trait_1.dataset.tissue + " " + trait_1.dataset.name + ": " + trait_1.name|string}} + +
+
[{{trait_1.symbol}} on {{trait_1.location_repr}} Mb]
+
{{trait_1.description_display}}
+ {% elif trait_1.dataset.type == "Publish" %} +
+ + {{trait_1.dataset.group.species + " " + trait_1.dataset.group.name + " " + trait_1.dataset.name + ": " + trait_1.name|string}} + +
+
PubMed: {{trait_1.pubmed_text}}
+
{{trait_1.description_display}}
+ {% endif %} + +
+
Y axis:
+ {% if trait_2.dataset.type == "ProbeSet" %} +
+ + {{trait_2.dataset.group.species + " " + trait_2.dataset.group.name + " " + trait_2.dataset.tissue + " " + trait_2.dataset.name + ": " + trait_2.name|string}} + +
+
[{{trait_2.symbol}} on {{trait_2.location_repr}} Mb]
+
{{trait_2.description_display}}
+ {% elif trait_2.dataset.type == "Publish" %} +
+ + {{trait_2.dataset.group.species + " " + trait_2.dataset.group.name + " " + trait_2.dataset.name + ": " + trait_2.name|string}} + +
+
PubMed: {{trait_2.pubmed_text}}
+
{{trait_2.description_display}}
+ {% endif %} +
{% endblock %} {% block js %} -- cgit v1.2.3