From 66f251d65449ae4a59d7fd15ef97459f894d0a26 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Wed, 18 Dec 2019 16:45:44 +0100 Subject: [PATCH] fix: [UI showDomain] fix screenshot accordeon --- .../crawler/crawler_splash/showDomain.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/var/www/templates/crawler/crawler_splash/showDomain.html b/var/www/templates/crawler/crawler_splash/showDomain.html index 4cd4053c..0026cb25 100644 --- a/var/www/templates/crawler/crawler_splash/showDomain.html +++ b/var/www/templates/crawler/crawler_splash/showDomain.html @@ -277,29 +277,29 @@
- Screenshot   + Screenshot  
{{dict_domain['screenshot']|length}}
-
-
+
- +
- + - {% for decoded in dict_domain['decoded']%} + {% for screenshot in dict_domain['screenshot']%} - + {% endfor %} @@ -454,6 +454,9 @@ {% if 'decoded' in dict_domain%} $('#tabledecoded').DataTable(); {% endif %} + {% if 'screenshot' in dict_domain%} + $('#tablescreenshot').DataTable(); + {% endif %} {% if 'pgp' in dict_domain%} $('#tablepgp').DataTable(); {% endif %}
DecodedScreenshot
{{ decoded }}{{ screenshot }}