Compare commits

..

No commits in common. "6d489afa372561276109dbe73f884fd3c7a67125" and "a6be3e5b00cdb61e62c4389e606b736ab7a05935" have entirely different histories.

2 changed files with 1 additions and 26 deletions

View File

@ -137,9 +137,6 @@ class MailboxUpdateForm(forms.ModelForm):
model = Mailbox
# TODO(@slamora): validate provided values
# on RecordCreateForm & RecordUpdateForm
# e.g. A records must point to IPv4
class RecordCreateForm(forms.ModelForm):
class Meta:

View File

@ -4,18 +4,7 @@
{% block content %}
<a class="btn-arrow-left" href="{% url 'musician:dashboard' %}">{% trans "Go back" %}</a>
<h1 class="service-name">
{% trans "DNS settings for" %} <span class="font-weight-light">{{ object.name }}</span>
</h1>
{% if object.top %}
<div class="mb-4">
<a class="btn btn-sm btn-secondary" href="{% url 'musician:domain-detail' object.top.pk %}">
{% trans "Go to top level domain" %} <span class="font-weight-bold">{{ object.top.name }}</span></a>
</div>
{% endif %}
<h1 class="service-name">{% trans "DNS settings for" %} <span class="font-weight-light">{{ object.name }}</span></h1>
<p class="service-description">{% trans "DNS settings page description." %}</p>
<table class="table service-list">
@ -45,15 +34,4 @@
</tbody>
</table>
<a class="btn btn-primary mt-4 mb-4" href="{% url 'musician:domain-add-record' object.pk %}">{% trans "Add new record" %}</a></td>
<div class="domain-subdomains">
<h2>{% trans "Subdomains" %}</h2>
<ul>
{% for subdomain in object.subdomains.all %}
<li><a href="{% url 'musician:domain-detail' subdomain.pk %}">{{ subdomain.name }}</a> <pre>{{ subdomain.records.all|join:", " }}</pre></li>
{% empty %}
{% trans "Any related subdomain." %}
{% endfor %}
</ul>
</div>
{% endblock %}