summaryrefslogtreecommitdiffstats
path: root/templates/admin/domains.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/domains.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/domains.html')
-rw-r--r--templates/admin/domains.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/admin/domains.html b/templates/admin/domains.html
new file mode 100644
index 0000000..b7925da
--- /dev/null
+++ b/templates/admin/domains.html
@@ -0,0 +1,28 @@
+{% extends "base.html" %}
+
+{% block title %}{{ section.title }} - Admin{% endblock %}
+
+{% block content %}
+ {% block menu %}
+ {% include "admin/_menu.html" %}
+ {% endblock %}
+ <section class="icon-menu">
+ {% for domain in domains %}
+ <a class="option" href="{{ domain.urls.edit }}">
+ <i class="fa-solid fa-globe"></i>
+ <span class="handle">
+ {{ domain.domain }}
+ <small>
+ {% if domain.public %}Public{% else %}Private{% endif %}
+ {% if domain.service_domain %}({{ domain.service_domain }}){% endif %}
+ </small>
+ </span>
+ </a>
+ {% empty %}
+ <p class="option empty">You have no domains set up.</p>
+ {% endfor %}
+ <a href="{% url "admin_domains_create" %}" class="option new">
+ <i class="fa-solid fa-plus"></i> Add a domain
+ </a>
+ </section>
+{% endblock %}