diff options
author | Andrew Godwin | 2022-11-16 21:12:28 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-16 21:12:28 -0700 |
commit | 1b52acdb56346d939eb2e26ff449697b52fa7142 (patch) | |
tree | 222e5a3de47db230c392f18ab983abe69eb94c5d /templates/settings/settings_system_domains.html | |
parent | 44af0d4c59eed1c3715e9044e75c159cfddf54cc (diff) | |
download | takahe-1b52acdb56346d939eb2e26ff449697b52fa7142.tar.gz takahe-1b52acdb56346d939eb2e26ff449697b52fa7142.tar.bz2 takahe-1b52acdb56346d939eb2e26ff449697b52fa7142.zip |
Domains management pages
Diffstat (limited to 'templates/settings/settings_system_domains.html')
-rw-r--r-- | templates/settings/settings_system_domains.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/settings/settings_system_domains.html b/templates/settings/settings_system_domains.html new file mode 100644 index 0000000..dccde65 --- /dev/null +++ b/templates/settings/settings_system_domains.html @@ -0,0 +1,28 @@ +{% 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 %} |