{% macro profile(member) %}
	<div class=profile>
		<img class=profile-avatar src="{{ url_for('avatar', filename=member.avatar) }}" alt="Avatar de {{ member.name }}">
		<div>
		  <div class=profile-name><a href="{{ url_for('user', username=member.name) }}">{{ member.name }}</a></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 %}
