{% extends 'base.html' %} {% load bootstrap %} {% block content %}

{{ target_count }} Target{{ target_count|pluralize }}

{{ form.q|bootstrap_inline }}
{{ form.target_type.label_tag }} {{ form.target_type|bootstrap_inline }}
{% if next_url or previous_url %} {% endif %} {% for target in targets %} {% with target.object as obj %} {% endwith %} {% endfor %}
Type Object Rules
{% if target.target_type == "TEAMID" %} Team ID {% else %} {{ target.target_type|title }} {% endif %} {{ target.identifier }} {% if target.target_type == "BINARY" %}
{{ obj.name }} {% if obj.cert_sha256 %}
signed by: {{ obj.cert_cn }} / {{ obj.cert_ou }} {% endif %} {% endif %} {% if target.target_type == "BUNDLE" %}
{{ obj.name }}
{{ obj.version|default:"-" }} / {{ obj.version_str|default:"-" }} {% endif %} {% if target.target_type == "CERTIFICATE" %}
{{ obj.cn }}
{{ obj.ou }}
{{ obj.valid_from|date:"Y-m-d" }} → {{ obj.valid_until|date:"Y-m-d" }} {% endif %} {% if target.target_type == "TEAMID" %}
{{ obj.organization }} {% endif %}
{{ target.rule_count }}
{% if next_url or previous_url %} {% endif %} {% endblock %} {% block extrajs %} {% endblock %}