{%- from "_snippets.html" import data_box with context -%} {%- from "_snippets.html" import pair_data_box with context -%} {%- from "_snippets.html" import line_box with context -%} {%- from "_snippets.html" import country_code_item with context -%} {%- from "_snippets.html" import big_period_buttons with context -%} {%- from "_snippets.html" import request_missing_resources with context -%} {% extends "layout.html" %} {% block body %}
{{ big_period_buttons(resource_names, periods, active_params) }}
{{ line_box("all_ports_by_scans_graph", "Number of all scanned ports during the time", resources["all_ports_by_scans_graph"], "bucket", "count", "Scanned ports") }}
{{ data_box("top_ports_by_scans_list_long", "Top ports by performed scans", resources["top_ports_by_scans_list_long"], "port") }}
{{ line_box( "top_ports_by_scans_graph", "Top ports by performed scans", resources["top_ports_by_scans_graph"]["data"], "bucket", resources["top_ports_by_scans_graph"]["ykeys"], resources["top_ports_by_scans_graph"]["labels"] ) }}
{{ request_missing_resources(resource_names, resources, active_params) }} {% endblock %}