forked from mirrors/bookwyrm
40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
{% extends 'settings/layout.html' %}
|
|
{% load i18n %}
|
|
{% block title %}{% trans "Email Blocklist" %}{% endblock %}
|
|
|
|
{% block header %}{% trans "Email Blocklist" %}{% endblock %}
|
|
|
|
{% block edit-button %}
|
|
<a href="{% url 'settings-import-blocklist' %}">
|
|
<span class="icon icon-plus" title="{% trans 'Add domain' %}" aria-hidden="True"></span>
|
|
<span class="is-hidden-mobile">{% trans "Add domain" %}</span>
|
|
</a>
|
|
{% endblock %}
|
|
|
|
{% block panel %}
|
|
<table class="table is-striped">
|
|
<tr>
|
|
{% url 'settings-federation' as url %}
|
|
<th>
|
|
{% trans "Domain" as text %}
|
|
{% include 'snippets/table-sort-header.html' with field="server_name" sort=sort text=text %}
|
|
</th>
|
|
<th>
|
|
{% trans "Options" %}
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>gmail.com</td>
|
|
<td>
|
|
{% trans "Delete" as button_text %}
|
|
<button class="button">
|
|
<span class="icon icon-x" title="{{ button_text }}" aria-hidden="true"></span>
|
|
<span class="is-hidden-mobile">{{ button_text }}</span>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{% include 'snippets/pagination.html' with page=servers path=request.path %}
|
|
{% endblock %}
|
|
|