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/case_attributes.html | 415 +++++++++++++++++++++++++++++ 1 file changed, 415 insertions(+) create mode 100644 gn2/wqflask/templates/case_attributes.html (limited to 'gn2/wqflask/templates/case_attributes.html') diff --git a/gn2/wqflask/templates/case_attributes.html b/gn2/wqflask/templates/case_attributes.html new file mode 100644 index 00000000..d1669761 --- /dev/null +++ b/gn2/wqflask/templates/case_attributes.html @@ -0,0 +1,415 @@ +{% extends "base.html" %} +{% block title %}Trait Submission{% endblock %} + +{% block css %} + + +{% endblock %} + +{% block content %} + +
+
+
+
+
+

Case Attributes Reference Table

+
+
+
+ + + + + + + + + + + + + {% for id_, name, description in case_attributes %} + + + + + + {% endfor %} + + + + + + +
Case AttributeDescriptionActions
{{ name }}{{ description }} + + + +
+ + {% if modifications or inserts or deletions %} +

Please Review These Changes

+ {% endif %} + {% if modifications %} +

Modify Existing Case Attributes

+ + + + + + + + {% for data in modifications %} + + + + + + {% endfor %} + +
AuthorDiffAction
{{ data.get('author') }} + {% if data.get("name")%} + Name:
+ Original: {{ data["name"].get("Original") }}
+ Current: {{ data["name"].get("Current") }}
+ Diff:
+
{{data["name"].get("Diff")}}
+ {% endif %} + {% if data.get("description")%} + Description:
+ Original: {{ data["description"].get("Original") }}
+ Current: {{ data["description"].get("Current") }}
+ Diff:
+
{{data["description"].get("Diff")}}
+ {% endif %} +
+ + +
+ {% endif %} + {% if deletions %} +

Delete Existing Case Attributes

+ + + + + + + + + + + + + + + {% for data in deletions %} + + + + + + + {% endfor %} + +
Case AttributeAuthorDescriptionAction
{{data.get("name")}}{{ data.get('author') }}{{data.get("description")}} + + +
+ {% endif %} + + {% if inserts %} +

Insert New Case Attributes

+ + + + + + + + + + + + + + + {% for data in inserts %} + + + + + + + {% endfor %} + +
Case AttributeAuthorDescriptionAction
{{ data.get("name") }}{{ data.get("author")}}{{ data.get("description") }} + + +
+ {% endif %} +
+ {%endblock%} + + {% block js %} + + + {% endblock %} -- cgit v1.2.3