File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 6767
6868 < pre class ="border "> {{ obj['result'] }}</ pre >
6969
70- {% if obj['tags_safe'] %}
71- {% if obj['type'] == 'image' %}
72- < img class ="object_image mb-1 " src ="{{ url_for('objects_image.image', filename=obj['img']) }} " loading ="lazy ">
73- {% elif obj['type'] == 'screenshot' or obj['type'] == 'domain'%}
74- < img class ="object_image mb-1 " src ="{{ url_for('objects_item.screenshot', filename=obj['img']) }} " loading ="lazy ">
70+ < div class ="text-center ">
71+ {% if obj['tags_safe'] or obj['is_tags_safe'] %}
72+ {% if obj['type'] == 'image' %}
73+ < img class ="object_image mb-1 " src ="{{ url_for('objects_image.image', filename=obj['img']) }} " loading ="lazy ">
74+ {% elif obj['type'] == 'screenshot' or obj['type'] == 'domain'%}
75+ < img class ="object_image mb-1 " src ="{{ url_for('objects_item.screenshot', filename=obj['img']) }} " loading ="lazy ">
76+ {% endif %}
77+ {% else %}
78+ < span class ="my-2 fa-stack fa-2x ">
79+ < i class ="fas fa-stack-1x fa-image "> </ i >
80+ < i class ="fas fa-stack-2x fa-ban " style ="color:Red "> </ i >
81+ </ span >
7582 {% endif %}
76- {% else %}
77- < span class ="my-2 fa-stack fa-8x ">
78- < i class ="fas fa-stack-1x fa-image "> </ i >
79- < i class ="fas fa-stack-2x fa-ban " style ="color:Red "> </ i >
80- </ span >
81- {% endif %}
83+ </ div >
8284
8385 </ div >
8486 </ div >
You can’t perform that action at this time.
0 commit comments