minauthator/lib/http_server/src/templates/pages/me/index.html
Matthieu Bessat dffea8ab39 refactor: structure of an hexagonal architecture
Created a kernel crate to store models and future action implementations.
Will be useful to create admin cli.
2024-12-01 21:38:42 +01:00

28 lines
632 B
HTML

{% extends "layouts/base.html" %}
{% block body %}
<h1>Welcome {{ user.full_name or user.handle }}!</h1>
<a href="/me/details-form">Update details.</a>
<a href="/me/authorizations">Manage authorizations.</a>
<p>
{% if user.picture %}
<img src="data:image/*;base64,{{ encode_b64str(user.picture) }}" style="width: 150px; height: 150px; object-fit: contain">
{% endif %}
<ul>
<li>
My user id: {{ user.id }}
</li>
<li>
My handle: {{ user.handle }}
</li>
<li>
My full name: {{ user.full_name }}
</li>
<li>
My email: {{ user.email }}
</li>
</ul>
</p>
{% endblock %}