This repository has been archived on 2023-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
takahe/templates/admin/domains.html
2022-11-17 14:13:55 -07:00

26 lines
911 B
HTML

{% extends "settings/base.html" %}
{% block subtitle %}Domains{% endblock %}
{% 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>
</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 %}