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

View Diff

+ + {{flash_me()}} + +
+
+

Changes

+
+
+ {%set the_diff = diff.json_diff_data.diff%} + {%if the_diff.Additions | length %} +

Additions

+
+ + + + + {{item.Current}} +
+ {%endif%} + {%if the_diff.Modifications | length %} +

Modifications

+ {%for item in the_diff.Modifications%} +
+ - + {{item.Original}} + + + {{item.Current}} +
+ {%endfor%} + {%endif%} + {%if the_diff.Deletions | length %} +

Deletions

+
+ + + {{item.Original}} + - + {{item.Current}} +
+ {%endif%} +
+ +
+ + + +
+ + + + +
+{%endblock%} + +{%block js%} + +{%endblock%} -- cgit 1.4.1