summaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-18 08:28:15 -0700
committerAndrew Godwin2022-11-18 11:28:16 -0700
commit81de10b70c85c5222b17d8c4358a8aa8812f2559 (patch)
tree8e028b62d3a883294caedc82c5870f23273e2032 /templates/admin
parent1b44a253316a84f40070264ea8134c86d1223441 (diff)
downloadtakahe-81de10b70c85c5222b17d8c4358a8aa8812f2559.tar.gz
takahe-81de10b70c85c5222b17d8c4358a8aa8812f2559.tar.bz2
takahe-81de10b70c85c5222b17d8c4358a8aa8812f2559.zip
Migration reset, start of docs, env vars
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/domain_create.html2
-rw-r--r--templates/admin/domain_edit.html2
-rw-r--r--templates/admin/domains.html3
3 files changed, 7 insertions, 0 deletions
diff --git a/templates/admin/domain_create.html b/templates/admin/domain_create.html
index dcc57fa..23c1ebf 100644
--- a/templates/admin/domain_create.html
+++ b/templates/admin/domain_create.html
@@ -33,8 +33,10 @@
<fieldset>
<legend>Access Control</legend>
{% include "forms/_field.html" with field=form.public %}
+ {% include "forms/_field.html" with field=form.default %}
</fieldset>
<div class="buttons">
+ <a href="{% url "admin_domains" %}" class="button secondary left">Back</a>
<button>Create</button>
</div>
</form>
diff --git a/templates/admin/domain_edit.html b/templates/admin/domain_edit.html
index 59bb8a2..3e7f70b 100644
--- a/templates/admin/domain_edit.html
+++ b/templates/admin/domain_edit.html
@@ -13,8 +13,10 @@
<fieldset>
<legend>Access Control</legend>
{% include "forms/_field.html" with field=form.public %}
+ {% include "forms/_field.html" with field=form.default %}
</fieldset>
<div class="buttons">
+ <a href="{{ domain.urls.root }}" class="button secondary left">Back</a>
<a href="{{ domain.urls.delete }}" class="button delete">Delete</a>
<button>Save</button>
</div>
diff --git a/templates/admin/domains.html b/templates/admin/domains.html
index bb7d8e4..8ef09fe 100644
--- a/templates/admin/domains.html
+++ b/templates/admin/domains.html
@@ -14,6 +14,9 @@
{% if domain.service_domain %}({{ domain.service_domain }}){% endif %}
</small>
</span>
+ {% if domain.default %}
+ <span class="pill">Default</span>
+ {% endif %}
</a>
{% empty %}
<p class="option empty">You have no domains set up.</p>