2022-11-17 16:43:00 -08:00
|
|
|
{% extends "settings/base.html" %}
|
2022-11-16 20:12:28 -08:00
|
|
|
|
2022-11-16 20:42:25 -08:00
|
|
|
{% block title %}Add Domain - Admin{% endblock %}
|
2022-11-16 20:12:28 -08:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form action="." method="POST">
|
|
|
|
<h1>Add A Domain</h1>
|
|
|
|
<p>
|
|
|
|
Use this form to add a domain that your users can create identities
|
|
|
|
on.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Takahē supports multiple domains per server, but note that when
|
|
|
|
identities are created they are <b>fixed to their chosen domain</b>,
|
|
|
|
and you will <b>not be able to delete a domain with identities on it</b>.
|
|
|
|
</p>
|
|
|
|
<p>
|
2023-01-10 19:31:50 -08:00
|
|
|
For more information about domain setup, including what service
|
|
|
|
domains are, see <a href="https://docs.jointakahe.org/en/latest/domains/">our documentation on domains</a>.
|
2022-11-16 20:12:28 -08:00
|
|
|
</p>
|
|
|
|
{% csrf_token %}
|
2022-11-17 16:43:00 -08:00
|
|
|
<fieldset>
|
|
|
|
<legend>Domain Details</legend>
|
|
|
|
{% include "forms/_field.html" with field=form.domain %}
|
|
|
|
{% include "forms/_field.html" with field=form.service_domain %}
|
|
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
|
|
<legend>Access Control</legend>
|
|
|
|
{% include "forms/_field.html" with field=form.public %}
|
2022-11-18 07:28:15 -08:00
|
|
|
{% include "forms/_field.html" with field=form.default %}
|
2023-02-19 10:09:49 -08:00
|
|
|
{% include "forms/_field.html" with field=form.users %}
|
2022-11-17 16:43:00 -08:00
|
|
|
</fieldset>
|
2023-03-06 15:37:05 -08:00
|
|
|
<fieldset>
|
|
|
|
<legend>Admin Notes</legend>
|
|
|
|
{% include "forms/_field.html" with field=form.notes %}
|
|
|
|
</fieldset>
|
2022-11-16 20:12:28 -08:00
|
|
|
<div class="buttons">
|
2022-11-18 07:28:15 -08:00
|
|
|
<a href="{% url "admin_domains" %}" class="button secondary left">Back</a>
|
2022-11-17 16:43:00 -08:00
|
|
|
<button>Create</button>
|
2022-11-16 20:12:28 -08:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|