proxies: immediate expiration of proxies via the portal

This commit is contained in:
Iain Learmonth 2022-08-29 15:18:26 +01:00
parent 5b9946c431
commit 29870639b8
2 changed files with 23 additions and 0 deletions

View file

@ -388,6 +388,8 @@
{% if proxy.deprecated %}
<a href="#" class="disabled btn btn-sm btn-outline-dark">Expiring
in {{ proxy.deprecated | mirror_expiry }}</a>
<a href="{{ url_for("portal.proxy.proxy_expire", proxy_id=proxy.id) }}"
class="btn btn-danger btn-sm">Expire</a>
{% else %}
<a href="{{ url_for("portal.proxy.proxy_block", proxy_id=proxy.id) }}"
class="btn btn-warning btn-sm">Mark blocked</a>