mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 01:37:17 +00:00
fix: [domains explorer] domain screeenshot
This commit is contained in:
parent
6ed76b2e3b
commit
3e9dd8a702
2 changed files with 8 additions and 8 deletions
|
@ -211,15 +211,16 @@ function img_error(canevas_id) {
|
||||||
|
|
||||||
blocks.addEventListener('change', pixelate_all, false);
|
blocks.addEventListener('change', pixelate_all, false);
|
||||||
|
|
||||||
{% for dict_domain in dict_data['list_elem'] %}
|
{% for dict_domain in dict_data['list_elem'] %}
|
||||||
{% if 'screenshot' in dict_domain %}
|
|
||||||
{% if dict_domain['is_tags_safe'] %}
|
{% if dict_domain['is_tags_safe'] %}
|
||||||
var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}";
|
{% if 'screenshot' in dict_domain %}
|
||||||
{% else %}
|
var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}";
|
||||||
var screenshot_url = "{{ url_for('static', filename='image/AIL.png') }}";
|
{% else %}
|
||||||
|
var screenshot_url = "{{ url_for('static', filename='image/AIL.png') }}";
|
||||||
|
{% endif %}
|
||||||
|
init_canevas_blurr_img("canvas_{{loop.index0}}", screenshot_url);
|
||||||
{% endif %}
|
{% endif %}
|
||||||
init_canevas_blurr_img("canvas_{{loop.index0}}", screenshot_url);
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -104,7 +104,6 @@ function toggle_sidebar(){
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
// img_url
|
// img_url
|
||||||
|
|
Loading…
Reference in a new issue