Commit bbbc7161 authored by hypsug0's avatar hypsug0
Browse files

feat: better my profile page

parent 965778ad
......@@ -4,7 +4,15 @@
<h1><i class="fi-torsos-female-male"></i> {% trans "Informations de l\'utilisateur" %} {{ object.username }}</h1>
<div class="panel panel-group panel-default">
<div class="panel-heading">
<h4 class="panel-title"><i class="fa fa-fw fa-id-card"></i> {% trans 'Identité' %}</h4>
<h4 class="panel-title">
<span class="pull-right">
<a class="text-info" href="{% url 'accounts:myprofile_update' %}" title="{% trans 'Modifier mon profile' %}"><i class="fa fa-fw fa-user-edit"></i></a>
<a class="text-warning" href="{% url 'accounts:change_password' %}" title="{% trans 'Modifier mon mot de passe' %}"><i class="fa fa-fw fa-lock"></i>
</a>
</span>
<i class="fa fa-fw fa-id-card"></i> {% trans 'Identité' %}
</h4>
</div>
<div class="panel-body">
<b>Nom d'utilisateur</b> : {{ object.username }}<br/>
......@@ -27,4 +35,20 @@
</div>
</div>
{% endif %}
{% endblock %}
\ No newline at end of file
<div class="panel panel-group panel-default">
<div class="panel-heading">
<h4 class="panel-title"><i class="fa fa-fw fa-id-card"></i> {% trans 'Mes observations' %}</h4>
</div>
<div class="panel-body">
<div class="col-xs-12 col-md-4">
<a class="btn btn-block btn-info" href="{% url 'sights:place_mylist' %}"><i class="fa fa-fw fa-map-marker-alt"></i>
{% trans 'Mes localités' %}</a></div>
<div class="col-xs-12 col-md-4"><a class="btn btn-block btn-info" href="{% url 'sights:session_mylist' %}"><i class="fa fa-fw fa-calendar-alt"></i>
{% trans 'Mes sessions' %}</a></div>
<div class="col-xs-12 col-md-4"><a class="btn btn-block btn-info" href="{% url 'sights:sighting_mylist' %}"><i class="fa fa-fw fa-eye"></i>
{% trans 'Mes observations' %}</a></div>
</div>
</div>
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment