{% extends 'hostile/base.html' %} {% load i18n humanize %} {% block details %}
{% translate "LIVE INTEL" %}

{% translate "Tactical Operations Command" %}

{% translate "Unified real-time hostile observation, threat monitoring, and reinforcement triage." %}

{% translate "Staging" %}
{% translate "Direct Clipboard Parser (Local Scan, D-Scan, EFT Fit, Show-Info, or Timer)" %}
{% csrf_token %}
{% translate "Auto-detects format and routes directly to Threat Scans, Structure Registry, or Fittings." %}
{% translate "Sovereignty & Structure Campaign Timers" %}
{% translate "Sov Timers" %} →
{% translate "Tactical Sightings & Tracked Hostiles" %}
{% translate "Sitreps" %} →
{% translate "Urgent Hostile Timers" %} {{ upcoming_timers|length }}
{% translate "Full Board" %}
{% for timer in upcoming_timers %}
{{ timer.target_name }} {% if timer.timer_type == "ARMOR" %} ARMOR {% elif timer.timer_type == "HULL" %} HULL {% elif timer.timer_type == "ANCHORING" %} ANCHORING {% elif timer.timer_type == "UNANCHORING" %} UNANCHORING {% else %} {{ timer.timer_type }} {% endif %} {% if timer.is_verified %} {% endif %}
{{ timer.solar_system.name|default:"Unknown" }} ({{ timer.solar_system.constellation.region.name|default:"Space" }}) • {% if timer.distance_data and timer.distance_data.jumps is not None %} {{ timer.distance_data.display }} • {% endif %} {{ timer.timer_datetime|date:"Y-m-d H:i" }} UTC
{{ timer.timer_datetime|naturaltime }}
{% empty %}

{% translate "No urgent structure or sovereignty timers in the near horizon." %}

{% endfor %}
{% translate "Active Gate Camps & System Sitreps" %} {{ pinned_observations|length|add:recent_observations|length }}
{% translate "View All" %}
{% for obs in pinned_observations %}
{{ obs.solar_system.name }} Sec: {{ obs.solar_system.security_status|floatformat:1 }} {% if obs.distance_data and obs.distance_data.jumps is not None %} {{ obs.distance_data.display }} {% endif %} {% if obs.threat_level == "EXTREME" %} EXTREME THREAT {% elif obs.threat_level == "HIGH" %} HIGH THREAT {% elif obs.threat_level == "MEDIUM" %} MEDIUM {% else %} LOW {% endif %} Pinned
{{ obs.decay_badge|default:'ACTIVE' }}

{{ obs.observation_text|linebreaksbr }}

{% for tag in obs.tags.all %} {{ tag.name }} {% endfor %} {% if obs.local_scan %} Scan: {{ obs.local_scan.pilot_count }}p (Blops {{ obs.local_scan.blops_drop_chance }}%) {% endif %} {% if obs.dscan_summary and obs.dscan_summary.total_ships %} {{ obs.dscan_summary.total_ships }} ships {% endif %} {% if obs.active_hours %} {{ obs.active_hours }} {% endif %}
{{ obs.display_time_seen|naturaltime }} by {{ obs.created_by.username|default:"Intel Scout" }}
{% endfor %} {% for obs in recent_observations %}
{{ obs.solar_system.name }} Sec: {{ obs.solar_system.security_status|floatformat:1 }} {% if obs.distance_data and obs.distance_data.jumps is not None %} {{ obs.distance_data.display }} {% endif %} {% if obs.threat_level == "EXTREME" %} EXTREME {% elif obs.threat_level == "HIGH" %} HIGH {% elif obs.threat_level == "MEDIUM" %} MEDIUM {% else %} LOW {% endif %}
{{ obs.decay_badge|default:'LOGGED' }}

{{ obs.observation_text|linebreaksbr }}

{% for tag in obs.tags.all %} {{ tag.name }} {% endfor %} {% if obs.local_scan %} Scan: {{ obs.local_scan.pilot_count }}p (Blops {{ obs.local_scan.blops_drop_chance }}%) {% endif %} {% if obs.dscan_summary and obs.dscan_summary.total_ships %} {{ obs.dscan_summary.total_ships }} ships {% endif %}
{{ obs.display_time_seen|naturaltime }} by {{ obs.created_by.username|default:"Scout" }}
{% endfor %} {% if not pinned_observations and not recent_observations %}

{% translate "No active gate camps or pinned tactical warnings recorded." %}

{% endif %}
{% if recent_threat_scans %}
{% translate "Recent Local Threat Scans" %}
{% translate "All Scans" %}
{% for scan in recent_threat_scans %}
{{ scan.solar_system.name|default:"Unknown System" }} {% if scan.threat_level == "CRITICAL" or scan.threat_level == "HIGH" %} {{ scan.threat_level }} {% elif scan.threat_level == "MODERATE" %} MODERATE {% else %} LOW {% endif %} {% if scan.distance_data and scan.distance_data.jumps is not None %} {{ scan.distance_data.display }} {% endif %}
{{ scan.created_at|naturaltime }}
{{ scan.pilot_count }} pilots ({{ scan.hostile_count }} hostiles) Blops: {{ scan.blops_drop_chance }}% Cap Drop: {{ scan.cap_drop_chance }}%
{% translate "View Scan" %}
{% endfor %}
{% endif %}
{% translate "Hostile Operational Hotspots" %} 7 Days
{% translate "Systems Intel" %}
{% for spot in sorted_hotspots %} {% empty %} {% endfor %}
{% translate "System" %} {% translate "Range" %} {% translate "Structures" %} {% translate "Camps" %} {% translate "Posture" %}
{{ spot.system.name }} {{ spot.system.constellation.region.name|default:"Space" }} (Sec: {{ spot.system.security_status|floatformat:1 }}) {% if spot.distance_data and spot.distance_data.jumps is not None %} {{ spot.distance_data.display }} {% else %} - {% endif %} {{ spot.structures_count }} {{ spot.camps_count }} {% if spot.is_staging %} Staging {% else %} Active Corridor {% endif %}
{% translate "No hostile activity clusters detected in the past 7 days." %}
{% if active_sov_campaigns %}
{% translate "Active Sovereignty Battles" %} {{ active_sov_campaigns|length }}
{% translate "Sov Board" %}
{% for sov in active_sov_campaigns %}
{{ sov.structure_event_name|default:"Sovereignty Event" }} {{ sov.solar_system.name }} {% if sov.distance_data and sov.distance_data.jumps is not None %} {{ sov.distance_data.display }} {% endif %}
{% if sov.is_ongoing or sov.has_started %} {% translate "ON-GOING" %} {% else %} {{ sov.timer_datetime|naturaltime }} {% endif %}
Defender: {{ sov.defender_display }}
Score: {{ sov.defender_percent|default:"60" }}% / {{ sov.attacker_percent|default:"40" }}%
{% endfor %}
{% endif %}
{% translate "Hostile Forward Stagings" %}
{% translate "All Stagings" %}
{% for staging in recent_stagings %}
{{ staging.solar_system.name }} {% if staging.is_primary %} Primary Staging {% else %} {{ staging.get_staging_type_display }} {% endif %} {% if staging.distance_data and staging.distance_data.jumps is not None %} {{ staging.distance_data.display }} {% endif %}
{{ staging.doctrines.count }} doctrines
{{ staging.owner_name }} • Sec: {{ staging.solar_system.security_status|floatformat:1 }}
{% empty %}
{% translate "No hostile staging hubs recorded." %}
{% endfor %}
{% translate "Hostile Fleet Doctrines" %}
{% translate "All Doctrines" %}
{% for doctrine in recent_doctrines %}
{{ doctrine.name }} {{ doctrine.get_role_type_display }}
{{ doctrine.owner_name }} • {{ doctrine.example_fits.count }} example fit(s)
{% if doctrine.primary_ship_types %}
{{ doctrine.primary_ship_types }}
{% endif %}
{% empty %}
{% translate "No fleet doctrines recorded." %}
{% endfor %}
{% translate "Real-Time Intelligence Feed" %}
{% translate "Latest 10 Ingestions" %}
{% for event in intel_feed %}
{{ event.title }} {{ event.badge }}

{{ event.text }}

{{ event.timestamp|naturaltime }} by {{ event.user }}
{% empty %}

{% translate "No tactical events logged yet." %}

{% endfor %}
{% endblock %}