2021-10-28 13:24:34 +00:00
|
|
|
{% extends theme('base.html') %}
|
2023-03-07 17:29:18 +00:00
|
|
|
{% import "macro/table.html" as table %}
|
2020-11-01 10:33:56 +00:00
|
|
|
|
2023-03-10 00:02:36 +00:00
|
|
|
{% block title %}
|
|
|
|
{% trans %}Users{% endtrans %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2020-11-01 10:33:56 +00:00
|
|
|
{% block script %}
|
|
|
|
<script src="/static/js/users.js"></script>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2021-12-20 22:57:27 +00:00
|
|
|
<div class="ui segment">
|
|
|
|
<div class="ui stackable buttons">
|
|
|
|
<a class="ui primary button" href="{{ url_for('account.profile_creation') }}">{% trans %}Add a user{% endtrans %}</a>
|
|
|
|
{% if has_smtp %}
|
|
|
|
<a class="ui button" href="{{ url_for('account.user_invitation') }}">{% trans %}Invite a user{% endtrans %}</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2021-12-01 11:19:28 +00:00
|
|
|
</div>
|
2023-03-07 17:29:18 +00:00
|
|
|
<div class="ui attached segment">
|
2023-03-09 19:34:57 +00:00
|
|
|
<h2 class="ui center aligned header">
|
|
|
|
<div class="content">
|
|
|
|
{% trans %}Users{% endtrans %}
|
|
|
|
</div>
|
|
|
|
</h2>
|
|
|
|
|
2023-03-09 16:41:26 +00:00
|
|
|
{{ table.search(table_form, "table.users") }}
|
2023-03-07 17:29:18 +00:00
|
|
|
</div>
|
2023-02-23 17:52:53 +00:00
|
|
|
{% include "partial/users.html" %}
|
2020-11-01 10:33:56 +00:00
|
|
|
{% endblock %}
|