update announce trackers list

This commit is contained in:
ghost 2023-10-13 03:12:24 +03:00
parent df6896f3e5
commit f8e7bd8c44
2 changed files with 34 additions and 20 deletions

View file

@ -107,7 +107,7 @@
<tr>
<td colspan="2">
<div class="padding-y-8-px border-bottom-default text-right">
{{ 'Common' | trans }}
{{ 'Common' | trans }}
</div>
</td>
</tr>
@ -283,25 +283,22 @@
<div class="padding-y-8-px border-bottom-default text-right">
{{ 'Trackers' | trans }}
</div>
<div class="padding-t-16-px">
{% for tracker in trackers %}
<div class="padding-y-16-px">
{% for tracker, status in trackers %}
<div class="padding-y-4-px">
{{ tracker }}
</div>
{% endfor %}
{% for announces in trackers %}
{% for tracker in announces %}
<div class="padding-y-4-px">
{% if tracker not in trackers %}
{% if status %}
{{ tracker }}
{% else %}
<span class="text-color-night">
{{ tracker }}
<span class="float-right" title="{{ 'Blocked'|trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
<path d="M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5v-2z"/>
</svg>
</span>
{% endif %}
</div>
{% endfor %}
</span>
<span class="float-right" title="{{ 'Filter on download by settings' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
<path d="M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5v-2z"/>
</svg>
</span>
{% endif %}
</div>
{% endfor %}
</div>
<div class="text-right">