2023-05-03 20:04:58 +00:00
|
|
|
{% extends "admin/base_main.html" %}
|
2022-11-17 04:12:28 +00:00
|
|
|
|
2022-11-18 00:43:00 +00:00
|
|
|
{% block subtitle %}Domains{% endblock %}
|
2022-11-17 04:12:28 +00:00
|
|
|
|
2023-04-27 06:54:38 +00:00
|
|
|
{% block settings_content %}
|
2023-01-11 03:31:50 +00: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-17 04:12:28 +00:00
|
|
|
{% for domain in domains %}
|
2023-01-11 03:31:50 +00: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-17 04:12:28 +00:00
|
|
|
{{ domain.domain }}
|
|
|
|
<small>
|
2023-01-11 03:31:50 +00:00
|
|
|
{% if domain.service_domain %}{{ domain.service_domain }}{% endif %}
|
2022-11-17 04:12:28 +00:00
|
|
|
</small>
|
2023-01-14 17:32:48 +00:00
|
|
|
</td>
|
2023-01-11 03:31:50 +00:00
|
|
|
<td class="stat">
|
|
|
|
{% if domain.public %}Public{% else %}Private{% endif %}
|
|
|
|
{% if domain.default %}(Default){% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2022-11-17 04:12:28 +00:00
|
|
|
{% empty %}
|
2023-01-11 03:31:50 +00:00
|
|
|
<tr class="empty"><td>You have no domains set up.</td></tr>
|
2022-11-17 04:12:28 +00:00
|
|
|
{% endfor %}
|
2023-01-11 03:31:50 +00:00
|
|
|
</table>
|
2022-11-17 04:12:28 +00:00
|
|
|
{% endblock %}
|