mirror of
https://github.com/PucelaBits/websegura.git
synced 2024-07-13 16:14:10 +02:00
Solo enlazamos webs con análisis terminados
This commit is contained in:
parent
4dc88a5fa3
commit
54e8c87ccb
@ -11,6 +11,7 @@
|
|||||||
{% for web in webs | sort(attribute="url") %}
|
{% for web in webs | sort(attribute="url") %}
|
||||||
{% set security = results[web.url | replace(".", "!")] %}
|
{% set security = results[web.url | replace(".", "!")] %}
|
||||||
{% if security %}
|
{% if security %}
|
||||||
|
{% if security.state == 'FINISHED' %}
|
||||||
<tr class="{{ security | color }}">
|
<tr class="{{ security | color }}">
|
||||||
<td>
|
<td>
|
||||||
<a href="/w/{{ web.url | replace(".", "!") }}" title="{{ security | abbr }}">{% if security.tests_passed < 5 %}☠️{% else %}{{ security.grade }}{% endif %}</a>
|
<a href="/w/{{ web.url | replace(".", "!") }}" title="{{ security | abbr }}">{% if security.tests_passed < 5 %}☠️{% else %}{{ security.grade }}{% endif %}</a>
|
||||||
@ -31,9 +32,19 @@ https://websegura.pucelabits.org'| urlEncode }}{{ path }}{{ '?pk_campaign=Hazsel
|
|||||||
<span class="icon brands fa-twitter">
|
<span class="icon brands fa-twitter">
|
||||||
<span>Tuitear</span>
|
<span>Tuitear</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{% else %}
|
||||||
|
<tr class="unknown">
|
||||||
|
<td title="Pendiente de análisis">🕐</td>
|
||||||
|
<td>
|
||||||
|
{{ web.url | replace("www.", "") }}
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user