mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +00:00
Formatting changes
This commit is contained in:
parent
9b696a42a4
commit
9a7bd27fe3
@ -109,17 +109,18 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>Hover over the red domain names to show the associated account. Click on domains to move between columns.</p>
|
<p>Hover over the red domain names to show the associated account. Click on domains to move between columns.</p>
|
||||||
<div class="form-group col-2">
|
<div class="form-group col-2">
|
||||||
<select multiple="multiple" class="form-control" id="account_domains"
|
<select multiple="multiple" class="form-control" id="account_domains" name="account_domains">
|
||||||
name="account_domains">
|
|
||||||
{% for domain in domains %}
|
{% for domain in domains %}
|
||||||
{% if account != None and domain.account_id != None and account.id != domain.account_id %}
|
{% if account != None and domain.account_id != None and account.id != domain.account_id %}
|
||||||
{% with account_id=domain.account_id %}
|
{% with account_id=domain.account_id %}
|
||||||
<option style="color: red" data-toggle="tooltip" title="Associated with: {{ accounts[account_id].name }}"
|
<option style="color: red" data-toggle="tooltip" title="Associated with: {{ accounts[account_id].name }}" value="{{ domain.name }}">
|
||||||
value="{{ domain.name }}">{{ domain.name }}</option>
|
{{ domain.name }}
|
||||||
|
</option>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<option {% if account.id == domain.account_id %}selected{% endif %}
|
<option {% if account.id == domain.account_id %}selected{% endif %} value="{{ domain.name }}">
|
||||||
value="{{ domain.name }}">{{ domain.name }}</option>
|
{{ domain.name }}
|
||||||
|
</option>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
Reference in New Issue
Block a user