diff --git a/accounts/templates/accounts-list.html b/accounts/templates/accounts-list.html deleted file mode 100644 index d6630cc..0000000 --- a/accounts/templates/accounts-list.html +++ /dev/null @@ -1,175 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} -{% load staticfiles %} -{% block title %}{% trans "Users" %}{% endblock %} -{% block content %} - -
{% trans "Username" %} | -{% trans "Status" %} | -{% trans "Staff" %} | -{% trans "Superuser" %} | -{% trans "Clone" %} | -
---|---|---|---|---|
- {{ user.username }} - - - - | -- {% if user.is_active %} - {% trans "Active" %} - {% else %} - {% trans "Blocked" %} - {% endif %} - | -{% if user.is_staff %}{% endif %} | -{% if user.is_superuser %}{% endif %} | -{% if user.userattributes.can_clone_instances %}{% endif %} | -
{% trans "Status:" %}
-{% trans "Active" %}
- {% else %} -{% trans "Blocked" %}
- {% endif %} -{{ object }}
+
+ {% icon 'edit' %} {%trans "Edit"%}
+ {% if extra_urls %}
+ {% for url in extra_urls %}
+ {{ url.1 }}
+ {% endfor %}
+ {% endif %}
+ {% icon 'times' %} {%trans "Delete" %}
+
+ |
+
{% trans "Group Name" %} | +{% trans "Actions" %} | +
---|---|
+ {{ group.name }} + | ++ + | +
{% trans "Username" %} | +{% trans "Status" %} | +{% trans "Staff" %} | +{% trans "Superuser" %} | +{% trans "Clone" %} | +{% trans "" %} | +
---|---|---|---|---|---|
+ {{ user.username }} + | ++ {% if user.is_active %} + {% trans "Active" %} + {% else %} + {% trans "Blocked" %} + {% endif %} + | +{% if user.is_staff %}{% icon 'check' %}{% endif %} | +{% if user.is_superuser %}{% icon 'check' %}{% endif %} | +{% if user.userattributes.can_clone_instances %}{% icon 'check' %}{% endif %} | +
+
+ {% icon 'eye' %}
+ {% icon 'pencil' %}
+ {% if user.is_active %}
+ {% icon 'stop' %}
+ {% else %}
+ {% icon 'play' %}
+ {% endif %}
+ {% icon 'times' %}
+
+ |
+
{% trans "403 Forbidden" %}
+ +{% trans "You do not have permission to access this page." %}
+ ← {% trans 'Back'%} +