takahe/templates/admin/domain_edit.html

38 lines
1.6 KiB
HTML
Raw Normal View History

{% extends "admin/base_main.html" %}
2022-11-17 04:12:28 +00:00
2022-11-18 00:43:00 +00:00
{% block subtitle %}{{ domain.domain }}{% endblock %}
2022-11-17 04:12:28 +00:00
{% block settings_content %}
<form action="." method="POST" enctype="multipart/form-data">
2022-11-17 04:12:28 +00:00
{% csrf_token %}
2022-11-18 00:43:00 +00:00
<fieldset>
<legend>Domain Details</legend>
{% include "forms/_field.html" with field=form.domain %}
{% include "forms/_field.html" with field=form.service_domain %}
</fieldset>
<fieldset>
<legend>Access Control</legend>
{% include "forms/_field.html" with field=form.public %}
{% include "forms/_field.html" with field=form.default %}
{% include "forms/_field.html" with field=form.users %}
2022-11-18 00:43:00 +00:00
</fieldset>
<fieldset>
<legend>Appearance</legend>
{% include "forms/_field.html" with field=form.site_name %}
{% include "forms/_field.html" with field=form.site_icon %}
{% include "forms/_field.html" with field=form.hide_login %}
{% include "forms/_field.html" with field=form.single_user %}
{% include "forms/_field.html" with field=form.custom_css %}
</fieldset>
<fieldset>
<legend>Admin Notes</legend>
{% include "forms/_field.html" with field=form.notes %}
</fieldset>
2022-11-17 04:12:28 +00:00
<div class="buttons">
<a href="{{ domain.urls.root }}" class="button secondary left">Back</a>
2022-11-17 04:12:28 +00:00
<a href="{{ domain.urls.delete }}" class="button delete">Delete</a>
<button>Save</button>
</div>
</form>
{% endblock %}