Formatting changes

This commit is contained in:
Tyler Todd 2023-02-17 23:07:36 +00:00
parent 9b696a42a4
commit 9a7bd27fe3

View File

@ -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>