{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
{% extends 'themes/' + theme() + '/base.html' %}
{% else %}
{% extends "base.html" %}
{% endif %}
{% from 'bootstrap/form.html' import render_form, render_field %}
{% set active_child = 'admin_federation' %}
{% block app_content %}
{% include 'admin/_tabbed_nav.html' %}
Use this to import or export banned instances, domains, tags, and / or users.
JSON format:
{
"banned_instances": ["banned1.social", "banned2.social"],
"allowed_instances": ["allowed1.social", "allowed2.social"],
"banned_domains": ["banned3.social"],
"banned_tags": [{"name":"badtag","display_as":"BaDtAg"},{...}],
"banned_users": ["baduser@banned4.social"]
}
Note: only one of "banned_instances" or "allowed_instances" will be populated.
{{ render_form(ban_lists_form) }}