{% extends 'hostile/base.html' %} {% load i18n static %} {% block content %} {{ block.super }}
{% translate "Intel Scanner" %}
Local, D-Scan, or both

{% translate "Choose the data you have. Local identifies pilots and threat roles; D-Scan identifies ships. Submit either one, or use both for the fullest report." %}

{% translate "Fastest option:" %} {% translate "D-Scan only gives a quick ship class and hull breakdown without pilot lookups." %}
{% csrf_token %} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %}
{{ form.local_text }}
{{ form.local_text.help_text }}
{{ form.dscan_text }}
{{ form.dscan_text.help_text }}
{{ form.solar_system }}
{% for sys in all_systems %} {% endfor %}
{{ form.solar_system.help_text }}
{% translate "Recent Local Threat Scans" %}
{{ recent_scans|length }} {% translate "Scans" %}
{% for scan in recent_scans %} {% empty %} {% endfor %}
{% translate "System" %} {% translate "Pilots" %} {% translate "Blops Drop %" %} {% translate "Cap Drop %" %} {% translate "Threat Level" %} {% translate "Scan Time" %} {% translate "Action" %}
{% if scan.solar_system %} {{ scan.solar_system.name }} {% else %} {% translate "Unknown System" %} {% endif %} {{ scan.pilot_count }} {% if scan.ignored_count %} +{{ scan.ignored_count }} ignored {% endif %} {% if scan.blops_drop_chance >= 75 %} {{ scan.blops_drop_chance }}% {% elif scan.blops_drop_chance >= 40 %} {{ scan.blops_drop_chance }}% {% else %} {{ scan.blops_drop_chance }}% {% endif %} {% if scan.cap_drop_chance >= 75 %} {{ scan.cap_drop_chance }}% {% elif scan.cap_drop_chance >= 40 %} {{ scan.cap_drop_chance }}% {% else %} {{ scan.cap_drop_chance }}% {% endif %} {% if scan.threat_level == 'CRITICAL' %} CRITICAL {% elif scan.threat_level == 'HIGH' %} HIGH {% elif scan.threat_level == 'MODERATE' %} MODERATE {% else %} LOW {% endif %} {{ scan.created_at|date:"Y-m-d H:i" }} UTC
{% translate "View Report" %} {% if perms.hostile.manage_intel %} {% endif %}
{% translate "No local threat scans saved yet. Paste a local window to create one." %}
{% endblock %} {% block extra_javascript %} {{ block.super }} {% endblock %}