Avatar in top right corner

This commit is contained in:
Patrick Jentsch
2023-11-16 15:57:27 +01:00
parent 4f24e9f9da
commit 008938b46b
2 changed files with 8 additions and 21 deletions

View File

@ -2,21 +2,6 @@
<li>
<div class="user-view">
<div class="background primary-color"></div>
<span class="white-text name">
{% if current_user.username|length > 32 %}
{{ current_user.username[:29] + '...' }}
{% else %}
{{ current_user.username }}
{% endif %}
</span>
<span class="white-text email">
{% if current_user.email|length > 32 %}
{{ current_user.email[:29] + '...' }}
{% else %}
{{ current_user.email }}
{% endif %}
</span>
</div>
</div>
</li>
{# <li class="primary-color">
@ -24,8 +9,8 @@
<img class="hide-on-small-only" src="{{ url_for('static', filename='images/nopaque_-_logo_name_slogan.svg') }}" style="height: 128px; margin-top: -32px; margin-left: ;">
</div>
</li> #}
{# <li><a href="{{ url_for('main.index') }}">nopaque</a></li> #}
<li class="hide-on-large-only">
<li><a href="{{ url_for('main.index') }}"><i class="material-icons left">home</i>nopaque</a></li>
<li>
<a class="waves-effect" href="{{ url_for('main.news') }}"><i class="material-icons left">email</i>News</a>
</li>
{# <li><a href="{{ url_for('main.user_manual') }}"><i class="material-icons">help</i>Manual</a></li> #}