small adjustments for tooltip/popover and icons in top-right menu
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="text-end small">
|
<div class="text-end small">
|
||||||
{% if data.infotext is not empty %}
|
{% if data.infotext is not empty %}
|
||||||
<i class="fa-solid fa-circle-info" data-toggle="tooltip" data-placement="right" title="{{ data.infotext|raw }}"></i>
|
<i class="fa-solid fa-circle-info" data-bs-trigger="hover" data-bs-toggle="popover" data-bs-placement="bottom" data-bs-html="true" data-bs-content="{{ data.infotext|raw|nl2br }}"></i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ data.text }}
|
{{ data.text }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<ul class="navbar-nav ms-auto">
|
<ul class="navbar-nav ms-auto">
|
||||||
{% if call_static('\\Froxlor\\CurrentUser', 'getField', ['switched_user']) is not empty and call_static('\\Froxlor\\CurrentUser', 'getField', ['switched_user']) is iterable %}
|
{% if call_static('\\Froxlor\\CurrentUser', 'getField', ['switched_user']) is not empty and call_static('\\Froxlor\\CurrentUser', 'getField', ['switched_user']) is iterable %}
|
||||||
<a class="nav-link text-success" href="{{ linker({'section': 'index', 'action': 'suback'}) }}">
|
<a class="nav-link text-success" href="{{ linker({'section': 'index', 'action': 'suback'}) }}">
|
||||||
<i class="fa-solid fa-reply me-1"></i> {{ userinfo.switched_user.loginname }}
|
<i class="fa-solid fa-reply me-1"></i><span class="d-none d-xl-inline">{{ userinfo.switched_user.loginname }}</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if userinfo.adminsession == 1 %}
|
{% if userinfo.adminsession == 1 %}
|
||||||
@@ -51,12 +51,12 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="{{ linker({'section': 'index'}) }}">
|
<a class="nav-link" href="{{ linker({'section': 'index'}) }}">
|
||||||
{{ lng('panel.dashboard') }}
|
<i class="fa-solid fa-house me-1"></i><span class="d-none d-xl-inline">{{ lng('panel.dashboard') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link dropdown-toggle" href="#" id="navbarOpts" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a class="nav-link dropdown-toggle" href="#" id="navbarOpts" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
{{ userinfo.loginname }}
|
<i class="fa-solid fa-user me-1"></i><span class="d-none d-xl-inline">{{ userinfo.loginname }}</span>
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarOpts">
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarOpts">
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
Reference in New Issue
Block a user