improve indentation
This commit is contained in:
parent
dd189e89e0
commit
06117f377d
@ -2,33 +2,29 @@
|
|||||||
{%- block card %}
|
{%- block card %}
|
||||||
<!-- CONFIGURE ADMIN PAGE -->
|
<!-- CONFIGURE ADMIN PAGE -->
|
||||||
<div class="card center">
|
<div class="card center">
|
||||||
<div class="text-container">
|
<div class="text-container">
|
||||||
<h4> Current Admins </h4>
|
<h4> Current Admins </h4>
|
||||||
|
{% if not ssb_admin_ids %}
|
||||||
{% if not ssb_admin_ids %}
|
<div>
|
||||||
<div>
|
There are no currently configured admins.
|
||||||
There are no currently configured admins.
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{% for admin in ssb_admin_ids %}
|
|
||||||
<div>
|
|
||||||
<form action="/settings/admin/delete" method="post">
|
|
||||||
<input type="hidden" name="ssb_id" value="{{admin}}"/>
|
|
||||||
<input type="submit" value="X" title="Delete"/> <span>{{ admin }}</span>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
<a class="button button-primary center full-width" style="margin-top: 25px;" href="/settings/admin/add" title="Add Admin">Add Admin</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
{% else %}
|
||||||
|
{% for admin in ssb_admin_ids %}
|
||||||
<!-- FLASH MESSAGE -->
|
<div>
|
||||||
{% include "snippets/flash_message" %}
|
<form action="/settings/admin/delete" method="post">
|
||||||
|
<input type="hidden" name="ssb_id" value="{{admin}}"/>
|
||||||
<!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
|
<input type="submit" value="X" title="Delete"/> <span>{{ admin }}</span>
|
||||||
{% include "snippets/noscript" %}
|
</form>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
<a class="button button-primary center full-width" style="margin-top: 25px;" href="/settings/admin/add" title="Add Admin">Add Admin</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- FLASH MESSAGE -->
|
||||||
|
{% include "snippets/flash_message" %}
|
||||||
|
|
||||||
|
<!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
|
||||||
|
{% include "snippets/noscript" %}
|
||||||
</div>
|
</div>
|
||||||
{%- endblock card -%}
|
{%- endblock card -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user