mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
fix: [domain] add screenshot img onerror
This commit is contained in:
parent
f62ec679cc
commit
443f4f2fb3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue