{% macro profile(member) %}
	<div class=profile>
		<img class=profile-avatar src="{{ url_for('static', filename=member.avatar) }}" alt="Avatar de {{ member.name }}">
		<div>
		  <div class=profile-name>{{ member.name }}</div>
		  <div class=profile-title>Membre</div>
		  <div class=profile-points>Niveau {{ member.level[0] }} <span>({{ member.xp }})</span></div>
		  <div class=profile-points-small>N{{ member.level[0] }} <span>({{ member.xp }})</span></div>
		  <div class=profile-xp><div style='width: {{ member.level[1] }}%;'></div></div>
		</div>
  </div>
{% endmacro %}
