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 {% if amount == found %}
27 <h2>Maximum amount reached!</h2>
29 Please note that the maximum allowed amount is only returned, the blocker/blocked/reason might be more.
30 Paging support is not finished yet.
35 {% for block_level in blocklist %}
36 <div class="block_level" id="{{block_level}}">
37 <h2>{{block_level}} ({{blocklist[block_level]|length}})</h2>
41 <th>{% if block_level == 'accept' %}Accepted{% else %}Blocked{% endif %}</th>
48 {% for block in blocklist[block_level] %}
51 {% with domain=block['blocker'] %}
52 {% include "widgets/links.html" %}
56 {% with domain=block['blocked'] %}
57 {% include "widgets/links.html" %}
60 <td>{{block['reason']}}</td>
61 <td>{{block['first_seen']}}</td>
62 <td>{{block['last_seen']}}</td>
71 <a href="{{base_url}}/">Index</a> /