summaryrefslogtreecommitdiffstats
path: root/templates/admin/domains.html
blob: 8ef09fe046508bc846edd01940aa37b696e432a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% 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>
                {% if domain.default %}
                    <span class="pill">Default</span>
                {% endif %}
            </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 %}