canaille-globuzma/canaille/templates/core/users.html
Éloi Rivard fe8929d992
refactor: move templates in a common directory
without this, theming was broken because it needs one single directory
for templates.
2024-12-19 00:17:03 +01:00

36 lines
1 KiB
HTML

{% extends theme('base.html') %}
{% import "macro/table.html" as table %}
{%- block title -%}
{%- trans %}Users{% endtrans -%}
{%- endblock -%}
{% block submenu %}
<a class="active item" href="{{ url_for('core.account.users') }}">
<i class="th list icon"></i>
{% trans %}View{% endtrans %}
</a>
<a class="item" href="{{ url_for('core.account.profile_creation') }}">
<i class="plus icon"></i>
{% trans %}Add{% endtrans %}
</a>
{% if features.has_smtp %}
<a class="item" href="{{ url_for('core.account.user_invitation') }}">
<i class="paper plane icon"></i>
{% trans %}Invite{% endtrans %}
</a>
{% endif %}
{% endblock %}
{% block content %}
<div class="ui top attached segment">
<h2 class="ui center aligned header">
<div class="content">
{% trans %}Users{% endtrans %}
</div>
</h2>
{{ table.search(table_form, "table.users") }}
</div>
{% include "core/partial/users.html" %}
{% endblock %}