Template uses flask login
This commit is contained in:
@@ -46,9 +46,9 @@
|
||||
{% endfor%}
|
||||
</div>
|
||||
<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">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user