summaryrefslogtreecommitdiffstats
path: root/templates/admin/domain_create.html
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-16 21:42:25 -0700
committerAndrew Godwin2022-11-16 21:42:25 -0700
commit5b34ea46c3f458a174c5443714ade43c21defdac (patch)
treee41dda2218cee559268f99a802210f7507f47b02 /templates/admin/domain_create.html
parent9d97fc92d82289301896c88f8c828321aa99701d (diff)
downloadtakahe-5b34ea46c3f458a174c5443714ade43c21defdac.tar.gz
takahe-5b34ea46c3f458a174c5443714ade43c21defdac.tar.bz2
takahe-5b34ea46c3f458a174c5443714ade43c21defdac.zip
Call it admin rather than system settings
Diffstat (limited to 'templates/admin/domain_create.html')
-rw-r--r--templates/admin/domain_create.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/templates/admin/domain_create.html b/templates/admin/domain_create.html
new file mode 100644
index 0000000..09dbc23
--- /dev/null
+++ b/templates/admin/domain_create.html
@@ -0,0 +1,39 @@
+{% extends "base.html" %}
+
+{% block title %}Add Domain - Admin{% endblock %}
+
+{% block content %}
+ {% block menu %}
+ {% include "admin/_menu.html" %}
+ {% endblock %}
+ <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>
+ If you will be serving Takahē on the domain you choose, you can leave
+ the "service domain" field blank. If you would like to let users create
+ accounts on a domain serving something else, you must pick a unique
+ "service domain" that pairs up to your chosen domain name, make sure
+ Takahē is served on that, and add redirects
+ for <tt>/.well-known/webfinger</tt>, <tt>/.well-known/host-meta</tt>
+ and <tt>/.well-known/nodeinfo</tt> from the main domain to the
+ service domain.
+ </p>
+ {% csrf_token %}
+ {% for field in form %}
+ {% include "forms/_field.html" %}
+ {% endfor %}
+ <div class="buttons">
+ <a href="{{ domain.urls.delete }}" class="button delete">Delete</a>
+ <button>Save</button>
+ </div>
+ </form>
+{% endblock %}