From e294826c979b18848d54c8e6bdd6c9131f78f1c7 Mon Sep 17 00:00:00 2001 From: Zachary Sloan Date: Thu, 4 Dec 2014 16:41:13 +0000 Subject: Added some pages for anonymous collections --- .../templates/collections/not_logged_in.html | 23 ++++ wqflask/wqflask/templates/collections/remove.html | 48 +++++++ .../templates/collections/view_anonymous.html | 143 +++++++++++++++++++++ 3 files changed, 214 insertions(+) create mode 100644 wqflask/wqflask/templates/collections/not_logged_in.html create mode 100644 wqflask/wqflask/templates/collections/remove.html create mode 100644 wqflask/wqflask/templates/collections/view_anonymous.html (limited to 'wqflask') diff --git a/wqflask/wqflask/templates/collections/not_logged_in.html b/wqflask/wqflask/templates/collections/not_logged_in.html new file mode 100644 index 00000000..a4c8747e --- /dev/null +++ b/wqflask/wqflask/templates/collections/not_logged_in.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} +{% block title %}Your Collections{% endblock %} +{% block content %} + + {{ header("Not logged in") }} + + +
+ +
+ + + +{% endblock %} + +{% block js %} + + +{% endblock %} diff --git a/wqflask/wqflask/templates/collections/remove.html b/wqflask/wqflask/templates/collections/remove.html new file mode 100644 index 00000000..faee4f78 --- /dev/null +++ b/wqflask/wqflask/templates/collections/remove.html @@ -0,0 +1,48 @@ +
+ + +
+ + diff --git a/wqflask/wqflask/templates/collections/view_anonymous.html b/wqflask/wqflask/templates/collections/view_anonymous.html new file mode 100644 index 00000000..56323e10 --- /dev/null +++ b/wqflask/wqflask/templates/collections/view_anonymous.html @@ -0,0 +1,143 @@ +{% extends "base.html" %} +{% block title %}View Collection{% endblock %} +{% block content %} + + {% if uc %} + {{ header(uc.name, + 'This collection has {}.'.format(numify(trait_obs|count, "record", "records"))) }} + {% else %} + {{ header('Your Collection', + 'This collection has {}.'.format(numify(trait_obs|count, "record", "records"))) }} + {% endif %} +
+ + + + +
+ + + + + + + + + + + + + + + {% for this_trait in trait_obs %} + + + + + + + + + + + + {% endfor %} + + +
RecordDescriptionLocationMeanMax LRSMax LRS Location
+ + + + {{ this_trait.name }} + + {{ this_trait.description_display }}{{ this_trait.location_repr }}{{ this_trait.mean }}{{ this_trait.LRS_score_repr }}{{ this_trait.LRS_location_repr }}
+ +
+ + + + + + + +
+
+ + + +{% endblock %} + +{% block js %} + +{% endblock %} -- cgit v1.2.3