2024-02-19 15:14:37 +01:00
|
|
|
<style>
|
|
|
|
.object_image {
|
|
|
|
max-height: 400px;
|
|
|
|
max-width: 100%;
|
|
|
|
filter: blur(5px);
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2020-12-11 21:02:07 +01:00
|
|
|
{% for dict_domain in l_dict_domains %}
|
2023-06-02 10:36:27 +02:00
|
|
|
{% if loop.index0 % 4 == 0 %}
|
|
|
|
<div class="card-deck mt-3">
|
|
|
|
{% endif %}
|
2020-01-24 15:03:04 +01:00
|
|
|
|
2023-06-02 10:36:27 +02:00
|
|
|
<div class="card {% if dict_domain["status"] %}border-success{% else %}border-danger{% endif %}">
|
2020-01-24 15:03:04 +01:00
|
|
|
<div class="text-center">
|
2023-06-02 10:36:27 +02:00
|
|
|
{% if dict_domain["is_tags_safe"] %}
|
2024-02-19 16:23:53 +01:00
|
|
|
<img class="object_image mb-1" src="{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}" onerror="this.onerror=null;this.src='{{ url_for('static', filename='image/AIL.png') }}';">
|
2023-06-02 10:36:27 +02:00
|
|
|
{% else %}
|
|
|
|
<span class="my-2 fa-stack fa-8x">
|
|
|
|
<i class="fas fa-stack-1x fa-image"></i>
|
|
|
|
<i class="fas fa-stack-2x fa-ban" style="color:Red"></i>
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
2020-01-24 15:03:04 +01:00
|
|
|
</div>
|
2020-03-26 11:34:29 +01:00
|
|
|
<div class="card-body pb-0">
|
2023-06-02 10:36:27 +02:00
|
|
|
<h5 class="card-title">
|
|
|
|
<a target="_blank" href="{{ url_for('crawler_splash.showDomain') }}?domain={{dict_domain["id"]}}">
|
|
|
|
{% if 'hl-start' in dict_domain %}
|
|
|
|
{{dict_domain["id"][:dict_domain['hl-start']]}}
|
|
|
|
<span class="hg-text">{{dict_domain["id"][dict_domain['hl-start']:dict_domain['hl-end']]}}</span>
|
|
|
|
{{dict_domain["id"][dict_domain['hl-end']:]}}
|
|
|
|
{% else %}
|
|
|
|
{{dict_domain["id"]}}
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
2020-12-11 21:02:07 +01:00
|
|
|
|
2023-06-02 10:36:27 +02:00
|
|
|
{% if dict_domain["status"] %}
|
|
|
|
<span style="color:Green;">
|
|
|
|
<i class="fas fa-check-circle"></i> UP
|
2020-12-11 21:02:07 +01:00
|
|
|
</span>
|
2023-06-02 10:36:27 +02:00
|
|
|
{% else %}
|
|
|
|
<span style="color:Red;">
|
|
|
|
<i class="fas fa-times-circle"></i> DOWN
|
2020-12-11 21:02:07 +01:00
|
|
|
</span>
|
|
|
|
{% endif %}
|
2023-06-02 10:36:27 +02:00
|
|
|
</h5>
|
|
|
|
<div>
|
|
|
|
<span class="badge badge-dark">
|
|
|
|
<span data-toggle="tooltip" data-placement="top" title="Tooltip on top">
|
|
|
|
<span class="badge badge-info" style="font-size: 0.8rem;">
|
|
|
|
<i class="fas fa-hourglass-start"></i>
|
|
|
|
</span>
|
|
|
|
{{dict_domain["first_seen"]}}
|
|
|
|
</span>
|
|
|
|
<span class="badge badge-light mx-1" style="font-size: 1rem;">
|
|
|
|
<i class="far fa-calendar-alt"></i>
|
|
|
|
</span>
|
2024-04-16 22:58:16 +02:00
|
|
|
{{dict_domain["last_seen"]}}{{dict_domain["last_check"]}}
|
2023-06-02 10:36:27 +02:00
|
|
|
<span class="badge badge-secondary" style="font-size: 0.8rem;">
|
|
|
|
<i class="fas fa-hourglass-end"></i>
|
|
|
|
</span>
|
2020-12-11 21:02:07 +01:00
|
|
|
</span>
|
2023-06-02 10:36:27 +02:00
|
|
|
</div>
|
|
|
|
<p class="card-text">
|
|
|
|
<small class="text-muted">
|
|
|
|
<b>
|
|
|
|
{% if dict_domain['languages'] %}
|
|
|
|
Languages:
|
|
|
|
{% for language in dict_domain['languages'] %}
|
|
|
|
<span class="badge badge-secondary" style="font-size: 0.75rem;">{{ language }}</span>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</b>
|
|
|
|
</small>
|
|
|
|
</p>
|
2020-12-11 21:02:07 +01:00
|
|
|
|
2023-06-02 10:36:27 +02:00
|
|
|
<div>
|
|
|
|
{% for tag in dict_domain['tags'] %}
|
|
|
|
<a href="{{ url_for('tags_ui.get_obj_by_tags') }}?object_type=domain<ags={{ tag }}">
|
|
|
|
<span class="badge badge-{{ bootstrap_label[loop.index0 % 5] }}">{{ tag }}</span>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2020-01-24 15:03:04 +01:00
|
|
|
</div>
|
2020-03-26 11:34:29 +01:00
|
|
|
{% with obj_type='domain', obj_id=dict_domain["id"], obj_lvl=0%}
|
|
|
|
{% include 'import_export/block_add_user_object_to_export_small.html' %}
|
|
|
|
{% endwith %}
|
2020-01-24 15:03:04 +01:00
|
|
|
|
|
|
|
</div>
|
2023-06-02 10:36:27 +02:00
|
|
|
|
|
|
|
{% if loop.index0 % 4 == 3 %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-01-24 15:03:04 +01:00
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
2020-12-11 21:02:07 +01:00
|
|
|
{% if l_dict_domains|length % 4 != 0 %}
|
2020-01-24 15:03:04 +01:00
|
|
|
</div>
|
|
|
|
{% endif %}
|