{%- 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( "top_passwords_by_usages_graph", "Top passwords by number of abuses", resources["top_passwords_by_usages_graph"]["data"], "bucket", resources["top_passwords_by_usages_graph"]["ykeys"], resources["top_passwords_by_usages_graph"]["labels"] ) }}
{% call(data_item) data_box("top_passwords_by_usages_list_long", "Top passwords by number of abuses", resources["top_passwords_by_usages_list_long"], "password") %} {{ data_item }} {% endcall %}
{{ data_box("top_usernames_by_usages_list_long", "Top usernames by number of abuses", resources["top_usernames_by_usages_list_long"], "username") }}
{{ pair_data_box("top_combinations_by_usages_list_long", "Top username / password combinations by number of abuses", resources["top_combinations_by_usages_list_long"], "username", "password") }}
{{ request_missing_resources(resource_names, resources, active_params) }} {% endblock %}