diff --git a/var/www/modules/hunter/templates/showTracker.html b/var/www/modules/hunter/templates/showTracker.html index fef0e808..ca6eb2bc 100644 --- a/var/www/modules/hunter/templates/showTracker.html +++ b/var/www/modules/hunter/templates/showTracker.html @@ -67,40 +67,44 @@
Type | -Tracker | -Date added | -Access Level | -Created by | -First seen | -Last seen | - {% if tracker_metadata['webhook'] %} -Webhook | - {% endif %} -Tags | -|
---|---|---|---|---|---|---|---|---|---|
Type | +Tracker | +Date added | +Access Level | +Created by | +First seen | +Last seen | + {% if tracker_metadata['webhook'] %} +Webhook | + {% endif %} +Tags | +|
{{ tracker_metadata['type'] }} | -
-
- {{ tracker_metadata['tracker'].split(",")[0] }}
-
-
-
- {{ tracker_metadata['tracker'] }}
+ {% if tracker_metadata['type'] == 'typosquat' %}
+
+
+ {{ tracker_metadata['tracker'].split(",")[0] }}
+
+ |
+
+
-
-
+ {{ tracker_metadata['tracker'] }}
+
|
+ {% else %}
+ {{ tracker_metadata['tracker'] }} | + {% endif %}{{ tracker_metadata['date'][0:4] }}/{{ tracker_metadata['date'][4:6] }}/{{ tracker_metadata['date'][6:8] }} | {% if tracker_metadata['level'] == 0 %} diff --git a/var/www/modules/hunter/templates/trackersManagement.html b/var/www/modules/hunter/templates/trackersManagement.html index 999093ba..09e19994 100644 --- a/var/www/modules/hunter/templates/trackersManagement.html +++ b/var/www/modules/hunter/templates/trackersManagement.html @@ -70,10 +70,14 @@ {% if dict_uuid['term'] %} - {% if dict_uuid['term']|length > 100 %} - {{ dict_uuid['term'][0:100] }}... + {% if dict_uuid['term']|length > 2000 %} + {{ dict_uuid['term'][0:50] }}... {% else %} - {{ dict_uuid['term'] }} + {% if dict_uuid['term']|length > 100 %} + {{ dict_uuid['term'][0:100] }}... + {% else %} + {{ dict_uuid['term'] }} + {% endif %} {% endif %} {% endif %} @@ -135,10 +139,14 @@ {% if dict_uuid['term'] %} - {% if dict_uuid['term']|length > 100 %} - {{ dict_uuid['term'][0:100] }}... + {% if dict_uuid['term']|length > 2000 %} + {{ dict_uuid['term'][0:50] }}... {% else %} - {{ dict_uuid['term'] }} + {% if dict_uuid['term']|length > 100 %} + {{ dict_uuid['term'][0:100] }}... + {% else %} + {{ dict_uuid['term'] }} + {% endif %} {% endif %} {% endif %} |