2022-11-17 16:43:00 -08:00
|
|
|
{% extends "settings/base.html" %}
|
2022-11-16 20:12:28 -08:00
|
|
|
|
2022-11-17 16:43:00 -08:00
|
|
|
{% block subtitle %}Domains{% endblock %}
|
2022-11-16 20:12:28 -08:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<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>
|
2022-11-18 07:28:15 -08:00
|
|
|
{% if domain.default %}
|
|
|
|
<span class="pill">Default</span>
|
|
|
|
{% endif %}
|
2022-11-16 20:12:28 -08:00
|
|
|
</a>
|
|
|
|
{% empty %}
|
|
|
|
<p class="option empty">You have no domains set up.</p>
|
|
|
|
{% endfor %}
|
2022-11-16 20:42:25 -08:00
|
|
|
<a href="{% url "admin_domains_create" %}" class="option new">
|
2022-11-16 20:12:28 -08:00
|
|
|
<i class="fa-solid fa-plus"></i> Add a domain
|
|
|
|
</a>
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|