From de7abc1d2ac9fef87796baa7330cbaaaadbbec2a Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 30 Oct 2013 16:46:53 -0500 Subject: In process on view.html for user_collections --- wqflask/wqflask/templates/collections/view.html | 80 +++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 wqflask/wqflask/templates/collections/view.html diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html new file mode 100644 index 00000000..3fa83d4a --- /dev/null +++ b/wqflask/wqflask/templates/collections/view.html @@ -0,0 +1,80 @@ +{% extends "base.html" %} +{% block title %}View Collection{% endblock %} +{% block content %} + + {{ header(uc.name, + 'This collection has {}.'.format(numify(results|count, "record", "records"))) }} + +
Dataset | +Traid ID | +Symbol | +Description | +Location | +Mean | +N | +Max LRS | +Max LRS Location | +|||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+ + | ++ + {{ this_trait.name }} + + | + {% if this_trait.dataset.type == 'ProbeSet' %} +{{ this_trait.symbol }} | +{{ this_trait.description_display }} | +{{ this_trait.location_repr }} | +{{ this_trait.mean }} | +{{ this_trait.LRS_score_repr }} | +{{ this_trait.LRS_location_repr }} | + {% elif this_trait.dataset.type == 'Publish' %} +{{ this_trait.description_display }} | +{{ this_trait.authors }} | ++ + {{ this_trait.pubmed_text }} + + | +{{ this_trait.LRS_score_repr }} | +{{ this_trait.LRS_location_repr }} | + {% elif this_trait.dataset.type == 'Geno' %} +{{ this_trait.location_repr }} | + {% endif %} +