1 {% extends "base.html" %}
3 {% block title %}{% if mode == 'domain' %} - Instances that block {{value}}{% elif mode == 'reverse' %} - Instances that are blocked by {{value}}{% elif mode == 'reason' %} - Instances having block reason {{value}}{% endif %}{% endblock %}
7 {% if mode == 'domain' %}
8 <link rel="alternate" type="application/rss+xml" title="RSS Feed for blocked domain {{value}}" href="{{base_url}}/rss?domain={{value}}" />
9 {% elif mode == 'reverse' %}
10 <link rel="alternate" type="application/rss+xml" title="RSS Feed for blocking domain {{value}}" href="{{base_url}}/rss?reverse={{value}}" />
15 {% if mode == 'reason' %}
16 <h1>Instances that use "{{value}}" in their reason</h1>
17 {% elif mode == 'reverse' %}
18 <h1>Instances that are blocked by {{value}}</h1>
19 {% elif mode == 'domain' %}
20 <h1>Instances that block {{value}}</h1>
25 {% for block_level in blocks %}
26 <div class="block_level" id="{{block_level}}">
27 <h2>{{block_level}} ({{blocks[block_level]|length}})</h2>
31 <th>{% if block_level == 'accept' %}Accepted{% else %}Blocked{% endif %}</th>
38 {% for block in blocks[block_level] %}
41 {% with domain=block['blocker'] %}
42 {% include "widgets/links.tpl" %}
46 {% with domain=block['blocked'] %}
47 {% include "widgets/links.tpl" %}
50 <td>{{block['reason']}}</td>
51 <td>{{block['first_seen']}}</td>
52 <td>{{block['last_seen']}}</td>
61 <a href="{{base_url}}/">Index</a> /