From 204a308be0f741726b9a620d88fbc22b22124c81 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 29 Dec 2023 18:55:37 +0000 Subject: Namespace all modules under gn2. We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. --- gn2/wqflask/templates/collections/list.html | 189 ++++++++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 gn2/wqflask/templates/collections/list.html (limited to 'gn2/wqflask/templates/collections/list.html') diff --git a/gn2/wqflask/templates/collections/list.html b/gn2/wqflask/templates/collections/list.html new file mode 100644 index 00000000..c553717f --- /dev/null +++ b/gn2/wqflask/templates/collections/list.html @@ -0,0 +1,189 @@ +{% extends "base.html" %} +{%from "oauth2/display_error.html" import display_error%} +{% block title %}Your Collections{% endblock %} +{% block css %} + + + +{% endblock %} +{% block content %} + +
+ {{flash_me()}} + + {% if g.user_session.logged_in %} +

Collections owned by {% if g.user_session.user_name %}{{ g.user_session.user_name }}{% else %}{{ g.user_session.user_email }} {% endif %}

+ {% else %} +

Your Collections

+ {% endif %} + +
+ + + + + + +
+
+ +
+
+
+
+
+ {%if anon_collections_error is defined%} + {{display_error("Anonymous Collections", anon_collections_error)}} + {%endif%} + {%if anon_collections | length > 0%} + + + + + + + + + + + + + + + {% for uc in anon_collections %} + + + + + + + + {% endfor %} + +
Anonymous Collections
IndexNameCreatedLast Changed# Records
{{ loop.index }} + {{ uc.name }}{{ uc.created_timestamp }}{{ uc.changed_timestamp }}{{ uc.num_members }}
+ {%endif%} + {% if collections|length > 0 %} + {% if (anon_collections | length > 0) and (collections | length > 0) %} +
+ {%endif%} + + + + + + + + + + + + + + + {% for uc in collections %} + + + + + + + + {% endfor %} + +
User Collections
IndexNameCreatedLast Changed# Records
{{ loop.index }} + {{ uc.name }}{{ uc.created_timestamp }}{{ uc.changed_timestamp }}{{ uc.num_members }}
+ {% else %} + You have no collections yet. + {% endif %} +
+
+ + + +{% endblock %} + +{% block js %} + + + + + + + + + + +{% endblock %} -- cgit 1.4.1