From 123a1e2d136d4b508fc61b1a7162722b195685b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 14 Mar 2024 01:13:24 +0100 Subject: [PATCH] fix: Missing templates --- website/web/templates/identifier_details.html | 49 +++++++++++++++++++ website/web/templates/tree_identifiers.html | 34 +++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 website/web/templates/identifier_details.html create mode 100644 website/web/templates/tree_identifiers.html diff --git a/website/web/templates/identifier_details.html b/website/web/templates/identifier_details.html new file mode 100644 index 00000000..f34b9b26 --- /dev/null +++ b/website/web/templates/identifier_details.html @@ -0,0 +1,49 @@ +{% from "macros.html" import shorten_string %} + + + +
+
{{identifier_type}}: {{identifier}}
+
+ + + + + + + + + + {% for capture_uuid, title, landing_page, capture_time in captures %} + + + + + + {% endfor %} + +
Capture TimeCapture TitleLanding page
+ {{capture_time}} + + + {{ title }} + + + + {{ landing_page }} + +
diff --git a/website/web/templates/tree_identifiers.html b/website/web/templates/tree_identifiers.html new file mode 100644 index 00000000..c7fd6ab7 --- /dev/null +++ b/website/web/templates/tree_identifiers.html @@ -0,0 +1,34 @@ + + + +
Click on the identifier to see the other captures it's been found in
+ + + + + + + + + + {% for number_captures, identifier_type, identifier in identifiers %} + + + + + + {% endfor %} + +
Number of capturesIdentifierIdentifier type
{{ number_captures }} + + {{ identifier }} + + {{identifier_type}}