mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-22 11:59:33 +00:00
- allows editing users (currently the groups and username) - allows any logged-in user to change the passwords of any other users - improved url highlighting of subsubmenu
53 lines
1.6 KiB
HTML
53 lines
1.6 KiB
HTML
{% extends "base.html" %}
|
|
{% comment %}
|
|
#
|
|
# This file is part of Plinth.
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
{% endcomment %}
|
|
|
|
{% load bootstrap %}
|
|
|
|
{% block content %}
|
|
|
|
<h3>Users</h3>
|
|
<p>
|
|
You can edit or delete users here.
|
|
</p>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-4">
|
|
<div class="list-group">
|
|
{% for user in object_list %}
|
|
<div class="list-group-item">
|
|
<a href="{% url 'users:edit' user.username %}"
|
|
style="display:inline-block; width:75%;"
|
|
title="Edit user {{ user.username }}">
|
|
{{ user.username }}
|
|
</a>
|
|
|
|
<a href="{% url 'users:delete' user.username %}"
|
|
class="btn btn-default btn-xs pull-right"
|
|
role="button" title="Delete user {{ user.username }}">
|
|
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
|
|
</a>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|