mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 23:37:18 +00:00
fix login and logout buttons decorations
This commit is contained in:
parent
7883746e53
commit
b71d1f6e3d
@ -87,13 +87,17 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if auth.enabled %}
|
{% if auth.enabled %}
|
||||||
|
<ul class="nav">
|
||||||
{% if auth.username is none %}
|
{% if auth.username is none %}
|
||||||
{{ auth.control|safe }}
|
<li>{{ auth.control|safe }}</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
<li>
|
||||||
<form action="/api/v1/logout" method="post">
|
<form action="/api/v1/logout" method="post">
|
||||||
<button class="btn btn-link" style="text-decoration: none"><i class="bi bi-box-arrow-right"></i> logout ({{ auth.username }})</button>
|
<button class="btn btn-link" style="text-decoration: none"><i class="bi bi-box-arrow-right"></i> logout ({{ auth.username }})</button>
|
||||||
</form>
|
</form>
|
||||||
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user