{% extends 'generic/object.html' %} {% load render_table from django_tables2 %} {% block content %} {# ── Action Buttons ── #}
Ping All IPs Discover New IPs Jobs run in the background — check Jobs for status
{# ── Schedule Configuration ── #}
Auto-Scan Schedule
{% csrf_token %}
Scan Mode
{{ schedule_form.scan_mode }} {% if plugin_settings.auto_scan_enabled %} Global: On — {{ plugin_settings.get_auto_scan_interval_display }} {% else %} Global: Off {% endif %}
Scan Interval {{ schedule_form.scan_interval }}
Discover Mode
{{ schedule_form.discover_mode }} {% if plugin_settings.auto_discover_enabled %} Global: On — {{ plugin_settings.get_auto_discover_interval_display }} {% else %} Global: Off {% endif %}
Discover Interval {{ schedule_form.discover_interval }}
Last Scanned {% if scan_result and scan_result.last_scanned %} {{ scan_result.last_scanned|timesince }} ago {% else %} Never {% endif %}
Last Discovered {% if scan_result and scan_result.last_discovered %} {{ scan_result.last_discovered|timesince }} ago {% else %} Never {% endif %}
{# Show/hide interval rows based on mode selection #} {# ── Ping Results Table ── #} {% if table.rows|length > 0 %} {% render_table table %} {% else %}
No ping results yet. Click Ping All IPs to scan existing IPs or Discover New IPs to find new hosts.
{% endif %} {% endblock %}