Template uses flask login

master
Davide Bongiovanni 6 years ago
parent 54787f68d5
commit a60ce39974

@ -46,9 +46,9 @@
{% endfor%} {% endfor%}
</div> </div>
<div class="user-card"> <div class="user-card">
<img src="{{url_for('static', filename=current_user_name + '.png')}}"> <img src="{{url_for('static', filename=current_user.name + '.png')}}">
<div class="user-info"> <div class="user-info">
<span>{{current_user_name}}</span> <span>{{current_user.name}}</span>
<div class="rect-button" onclick="location.href='/logout';" style="background-color: #EE7500;">LOGOUT</div> <div class="rect-button" onclick="location.href='/logout';" style="background-color: #EE7500;">LOGOUT</div>
</div> </div>
</div> </div>

Loading…
Cancel
Save