mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-29 10:40:59 +00:00
33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
{% extends "settings/base.html" %}
|
|
|
|
{% block subtitle %}Domains{% endblock %}
|
|
|
|
{% block content %}
|
|
<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">
|
|
{% for domain in domains %}
|
|
<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>
|
|
{{ domain.domain }}
|
|
<small>
|
|
{% if domain.service_domain %}{{ domain.service_domain }}{% endif %}
|
|
</small>
|
|
</td>
|
|
<td class="stat">
|
|
{% if domain.public %}Public{% else %}Private{% endif %}
|
|
{% if domain.default %}(Default){% endif %}
|
|
</td>
|
|
</tr>
|
|
{% empty %}
|
|
<tr class="empty"><td>You have no domains set up.</td></tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|