1
0
Fork 0

Functional add server form

This commit is contained in:
Mouse Reeve 2021-04-07 13:06:29 -07:00
parent d383e8a61e
commit ddab9af564
7 changed files with 70 additions and 35 deletions

View file

@ -5,16 +5,14 @@
{% block header %}{% trans "Federated Servers" %}{% endblock %}
{% block edit-button %}
{% trans "Add server" as button_text %}
{% include 'snippets/toggle/open_button.html' with controls_text="add-server" icon="plus" text=button_text focus="add-server-header" %}
{% endblock%}
<a href="{% url 'settings-edit-federated-server' %}">
<span class="icon icon-plus" title="{% trans 'Add server' %}">
<span class="is-sr-only">{% trans "Add server" %}</span>
</span>
</a>
{% endblock %}
{% block panel %}
<div class="block">
{% include 'settings/add_server_form.html' with controls_text="add-server" %}
</div>
<table class="table is-striped">
<tr>
{% url 'settings-federation' as url %}