pyfedi/app/templates/admin/federation.html

34 lines
1.2 KiB
HTML
Raw Normal View History

{% 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 %}
2024-04-14 20:05:40 +12:00
{% set active_child = 'admin_federation' %}
{% block app_content %}
<div class="row">
<div class="col">
2024-04-14 20:05:40 +12:00
<h1>{{ _('Federation') }}</h1>
{{ render_form(form) }}
</div>
</div>
2024-04-14 20:05:40 +12:00
<hr />
<div class="row">
<div class="column">
<p>Use this to "pre-load" known threadiverse communities, as ranked by posts and activity. The list of communities pulls from the same list as <a href="https://lemmyverse.net/communities">LemmyVerse</a>. NSFW communities and communities from banned instances are excluded.</p>
{% if current_app_debug %}
<p>*** This instance is in development mode. Loading more than 6 communities here could cause timeouts, depending on how your networking is setup. ***</p>
{% endif %}
{{ render_form(preload_form) }}
</div>
</div>
<hr />
<div class="row">
<div class="col">
2024-04-14 20:05:40 +12:00
{% include 'admin/_nav.html' %}
</div>
</div>
2024-04-14 20:05:40 +12:00
<hr />
{% endblock %}