BasicOIDC/templates/settings/account_details.html

34 lines
798 B
HTML
Raw Normal View History

2022-04-04 17:39:23 +02:00
{% extends "base_settings_page.html" %}
{% block content %}
<table class="table table-hover" style="max-width: 600px;" aria-describedby="Account details">
<tbody>
<tr>
<th scope="row">User ID</th>
2022-04-19 19:40:36 +02:00
<td>{{ u.uid.0 }}</td>
2022-04-04 17:39:23 +02:00
</tr>
<tr>
<th scope="row">First name</th>
2022-04-18 17:13:41 +02:00
<td>{{ u.first_name }}</td>
2022-04-04 17:39:23 +02:00
</tr>
<tr>
<th scope="row">Last name</th>
2022-04-18 17:13:41 +02:00
<td>{{ u.last_name }}</td>
2022-04-04 17:39:23 +02:00
</tr>
<tr>
<th scope="row">Username</th>
2022-04-18 17:13:41 +02:00
<td>{{ u.username }}</td>
2022-04-04 17:39:23 +02:00
</tr>
<tr>
<th scope="row">Email</th>
2022-04-18 17:13:41 +02:00
<td>{{ u.email }}</td>
2022-04-04 17:39:23 +02:00
</tr>
<tr>
<th scope="row">Account type</th>
2022-04-18 17:13:41 +02:00
<td>{% if u.admin %}Admin{% else %}Regular user{% endif %}</td>
2022-04-04 17:39:23 +02:00
</tr>
</tbody>
</table>
{% endblock content %}