From aac1dd2f9c5b216b24c6e35676ba5d50f9d5d3c2 Mon Sep 17 00:00:00 2001 From: Zachary Sloan Date: Thu, 13 Jun 2013 20:15:30 +0000 Subject: Put the template html for the quick search page when all trait types are displayed in a separate file that is included in quick_search.html --- wqflask/wqflask/templates/all_results.html | 134 +++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 wqflask/wqflask/templates/all_results.html diff --git a/wqflask/wqflask/templates/all_results.html b/wqflask/wqflask/templates/all_results.html new file mode 100644 index 00000000..a42e42d8 --- /dev/null +++ b/wqflask/wqflask/templates/all_results.html @@ -0,0 +1,134 @@ + +
+ {% for species in species_groups %} +
+
+ +
+ {% if species_groups[species]['phenotype'] %} +
+ + + + + + + + + + + + + + {% for result in results.phenotype %} + {% if result.result_fields['species'] == species %} + + + + + + + + + + {% endif %} + {% endfor %} + +
IdSpeciesGroupDescriptionLRSYearAuthors
{{ result.result_fields['phenotype_id'] }}{{ result.result_fields['species'] }}{{ result.result_fields['group_name'] }}{{ result.result_fields['description'] }}{{ result.result_fields['lrs'] }} + + {{ result.result_fields['year'] }} + + {{ result.result_fields['authors'] }}
+
+ {% endif %} + {% if species_groups[species]['mrna_assay'] %} +
+ + + + + + + + + + + + + + + + {% for result in results.mrna_assay %} + {% if result.result_fields['species'] == species %} + + + + + + + + + + + + {% endif %} + {% endfor %} + +
Record IDSpeciesGroupData SetSymbolDescriptionLocationMean ExprMax LRS
+ + {{ result.result_fields['species'] }}{{ result.result_fields['group_name'] }}{{ result.result_fields['dataset_name'] }}{{ result.result_fields['symbol'] }}{{ result.result_fields['description'] }}{{ result.result_fields['chr'] }} : {{ result['mb'] }}{{ result.result_fields['mean'] }}{{ result.result_fields['lrs'] }}
+
+ {% endif %} + {% if species_groups[species]['genotype'] %} +
+ + + + + + + + + + + + {% for result in results.genotype %} + {% if result.result_fields['species'] == species %} + + + + + + + + {% endif %} + {% endfor %} + +
MarkerSpeciesGroupData SetLocation
+ + {{ result.result_fields['marker_name'] }} + + {{ result.result_fields['species'] }}{{ result.result_fields['group_name'] }}{{ result.result_fields['dataset_name'] }}{{ result.result_fields['chr'] }} : {{ result.result_fields['mb'] }}
+
+ {% endif %} +
+
+
+ {% endfor %} +
\ No newline at end of file -- cgit v1.2.3