mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Fix sidenav profile entries
This commit is contained in:
parent
df33c7b36d
commit
660d7ebc99
@ -1,22 +1,15 @@
|
||||
<ul class="sidenav sidenav-fixed" id="sidenav">
|
||||
<li>
|
||||
<div class="user-view" style="padding-top: 1px; padding-left: 20px !important; padding-right: 20px !important; height: 112px;">
|
||||
<div class="user-view">
|
||||
<div class="background primary-color"></div>
|
||||
<div class="row">
|
||||
<div class="col s5">
|
||||
<a href="{{ url_for('users.user', user_id=current_user.id) }}">
|
||||
<img src="{{ url_for('users.user_avatar', user_id=current_user.id) }}" alt="user-image" class="circle responsive-img" style="height:80%; margin-top: 22px;">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col s5" style="word-wrap: break-word; margin-left:-10px;">
|
||||
<span class="white-text name">
|
||||
{% if current_user.username|length > 18 %}
|
||||
{{ current_user.username[:15] + '...' }}
|
||||
{% if current_user.username|length > 32 %}
|
||||
{{ current_user.username[:29] + '...' }}
|
||||
{% else %}
|
||||
{{ current_user.username }}
|
||||
{% endif %}
|
||||
</span>
|
||||
<span class="white-text email" style="padding-top:5px;">
|
||||
<span class="white-text email">
|
||||
{% if current_user.email|length > 32 %}
|
||||
{{ current_user.email[:29] + '...' }}
|
||||
{% else %}
|
||||
@ -25,7 +18,6 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{# <li class="primary-color">
|
||||
<div style="overflow: hidden;height: 64px; width: 250px;">
|
||||
|
Loading…
Reference in New Issue
Block a user