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 %}
|
2023-01-10 19:31:50 -08:00
|
|
|
<div class="view-options">
|
|
|
|
<span class="spacer"></span>
|
|
|
|
<a href="{% url "admin_domains_create" %}" class="button"><i class="fa-solid fa-plus"></i> Add Domain</a>
|
|
|
|
</div>
|
|
|
|
<table class="items">
|
2022-11-16 20:12:28 -08:00
|
|
|
{% for domain in domains %}
|
2023-01-10 19:31:50 -08:00
|
|
|
<tr>
|
|
|
|
<td class="icon">
|
|
|
|
<a href="{{ domain.urls.edit }}" class="overlay"></a>
|
|
|
|
<i class="fa-solid fa-globe"></i>
|
|
|
|
</td>
|
|
|
|
<td class="name">
|
|
|
|
<a href="{{ domain.urls.edit }}" class="overlay"></a>
|
2022-11-16 20:12:28 -08:00
|
|
|
{{ domain.domain }}
|
|
|
|
<small>
|
2023-01-10 19:31:50 -08:00
|
|
|
{% if domain.service_domain %}{{ domain.service_domain }}{% endif %}
|
2022-11-16 20:12:28 -08:00
|
|
|
</small>
|
|
|
|
</span>
|
2023-01-10 19:31:50 -08:00
|
|
|
<td class="stat">
|
|
|
|
{% if domain.public %}Public{% else %}Private{% endif %}
|
|
|
|
{% if domain.default %}(Default){% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2022-11-16 20:12:28 -08:00
|
|
|
{% empty %}
|
2023-01-10 19:31:50 -08:00
|
|
|
<tr class="empty"><td>You have no domains set up.</td></tr>
|
2022-11-16 20:12:28 -08:00
|
|
|
{% endfor %}
|
2023-01-10 19:31:50 -08:00
|
|
|
</table>
|
2022-11-16 20:12:28 -08:00
|
|
|
{% endblock %}
|