28 lines
740 B
HTML
28 lines
740 B
HTML
|
|
|
|
<div class="row">
|
|
<div class="col-4 offset-5">
|
|
<h2>
|
|
{% for account in template_values['accounts'] %}
|
|
{% if account.id == template_values['active_account'] %}
|
|
{{ account.name }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</h2>
|
|
</div>
|
|
<div class="col-3">
|
|
<label >Choose Account:</label>
|
|
<select onchange="this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);">
|
|
{% for account in template_values['accounts'] %}
|
|
<option value="/switch_account?account={{ account.id }}"
|
|
{% if account.id == template_values['active_account'] %}
|
|
selected
|
|
{% endif %}
|
|
title="{{ account.id }}">
|
|
{{ account.name }}
|
|
</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
</div>
|