takahe/templates/settings/settings_system_domains.html

29 lines
1 KiB
HTML
Raw Normal View History

2022-11-17 04:12:28 +00:00
{% extends "base.html" %}
{% block title %}{{ section.title }} - System Settings{% endblock %}
{% block content %}
{% block menu %}
{% include "settings/_settings_system_menu.html" %}
{% endblock %}
<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="/settings/system/domains/create/" class="option new">
<i class="fa-solid fa-plus"></i> Add a domain
</a>
</section>
{% endblock %}