mirror of https://github.com/CIRCL/AIL-framework
fix: [domain] add screenshot img onerror
parent
f62ec679cc
commit
443f4f2fb3
|
@ -14,7 +14,7 @@
|
|||
<div class="card {% if dict_domain["status"] %}border-success{% else %}border-danger{% endif %}">
|
||||
<div class="text-center">
|
||||
{% if dict_domain["is_tags_safe"] %}
|
||||
<img class="object_image mb-1" src="{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}">
|
||||
<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') }}';">
|
||||
{% else %}
|
||||
<span class="my-2 fa-stack fa-8x">
|
||||
<i class="fas fa-stack-1x fa-image"></i>
|
||||
|
|
Loading…
Reference in New Issue