diff --git a/passbook/admin/templates/administration/application/list.html b/passbook/admin/templates/administration/application/list.html index 40ebd9769..583654805 100644 --- a/passbook/admin/templates/administration/application/list.html +++ b/passbook/admin/templates/administration/application/list.html @@ -3,44 +3,65 @@ {% load i18n %} {% load utils %} -{% block title %} -{% title %} -{% endblock %} - {% block content %} -
-

{% trans "Applications" %}

- {% trans "External Applications which use passbook as Identity-Provider, utilizing protocols like OAuth2 and SAML." %} -
- - {% trans 'Create...' %} - -
- - - - - - - - - - - {% for application in object_list %} - - - - - - - {% endfor %} - -
{% trans 'Name' %}{% trans 'Provider' %}{% trans 'Provider Type' %}
{{ application.name }}{{ application.get_provider }}{{ application.get_provider|verbose_name }} - {% trans 'Edit' %} - {% trans 'Delete' %} -
- {% include 'partials/pagination.html' %} -
+
+
+

+ + {% trans 'Applications' %} +

+

{% trans "External Applications which use passbook as Identity-Provider, utilizing protocols like OAuth2 and SAML." %}

+
+
+
+
+
+ + {% include 'partials/pagination.html' %} +
+ + + + + + + + + + + {% for application in object_list %} + + + + + + + {% endfor %} + +
{% trans 'Name' %}{% trans 'Provider' %}{% trans 'Provider Type' %}
+
+
{{ application.name }}
+ {% if application.meta_publisher %} + {{ application.meta_publisher }} + {% endif %} +
+
+ + {{ application.get_provider }} + + + + {{ application.get_provider|verbose_name }} + + + {% trans 'Edit' %} + {% trans 'Delete' %} +
+
+ {% include 'partials/pagination.html' %} +
+
+
{% endblock %} diff --git a/passbook/admin/templates/administration/audit/list.html b/passbook/admin/templates/administration/audit/list.html index 3ab711c75..fe4501e8b 100644 --- a/passbook/admin/templates/administration/audit/list.html +++ b/passbook/admin/templates/administration/audit/list.html @@ -3,85 +3,66 @@ {% load i18n %} {% load utils %} -{% block title %} -{% title %} -{% endblock %} - {% block content %} -

{% trans "Audit Log" %}

-
- {% for entry in object_list %} -
-
-
- -
-
-
-
- {{ entry.action }} -
-
- {{ entry.context }} -
-
-
-
- - {{ entry.user }} -
-
- - {{ entry.app|default:'-' }} -
-
- - {{ entry.created }} -
-
- - {{ entry.request_ip }} -
-
-
+
+
+

+ + {% trans 'Audit Log' %} +

+
+
+
+
+
+ {% include 'partials/pagination.html' %} +
+ + + + + + + + + + + + {% for entry in object_list %} + + + + + + + + {% endfor %} + +
{% trans 'Action' %}{% trans 'Context' %}{% trans 'User' %}{% trans 'Creation Date' %}{% trans 'Client IP' %}
+
+
{{ entry.action }}
+ {{ entry.app|default:'-' }} +
+
+ + {{ entry.context }} + + + + {{ entry.user }} + + + + {{ entry.created }} + + + + {{ entry.client_ip }} + +
+
+ {% include 'partials/pagination.html' %}
- {% endfor %} - - {% include 'partials/pagination.html' %} -
+ {% endblock %} diff --git a/passbook/admin/templates/administration/debug/request.html b/passbook/admin/templates/administration/debug/request.html index a6bd04c53..a9c3e95f8 100644 --- a/passbook/admin/templates/administration/debug/request.html +++ b/passbook/admin/templates/administration/debug/request.html @@ -3,29 +3,34 @@ {% load i18n %} {% load utils %} -{% block title %} -{% title %} -{% endblock %} - {% block content %} -
-

{% trans "Request" %}

-
- - - - - - - - - {% for key, value in request_dict.items %} - - - - - {% endfor %} - -
{% trans 'Key' %}{% trans 'Value' %}
{{ key }}{{ value }}
+
+
+

+ + {% trans 'Request' %} +

+
+
+
+
+ + + + + + + + + {% for key, value in request_dict.items %} + + + + + {% endfor %} + +
{% trans 'Key' %}{% trans 'Value' %}
{{ key }}{{ value }}
+
+
{% endblock %} diff --git a/passbook/admin/templates/administration/factor/list.html b/passbook/admin/templates/administration/factor/list.html index 731476af7..aec36c5d4 100644 --- a/passbook/admin/templates/administration/factor/list.html +++ b/passbook/admin/templates/administration/factor/list.html @@ -4,60 +4,80 @@ {% load utils %} {% load admin_reflection %} -{% block title %} -{% title %} -{% endblock %} - {% block content %} -
-

{% trans "Factors" %}

- {% trans "Factors required for a user to successfully authenticate." %} -
- + +
+
+
+
+
+ + +
+
+ {% include 'partials/pagination.html' %} +
+ + + + + + + + + + + {% for factor in object_list %} + + + + + + + {% endfor %} + +
{% trans 'Name' %}{% trans 'Order' %}{% trans 'Enabled' %}
+
+
{{ factor.name }} ({{ factor.slug }})
+ {{ factor|verbose_name }} +
+
+ + {{ factor.order }} + + + + {{ factor.enabled }} + + + {% trans 'Edit' %} + {% trans 'Delete' %} + {% get_links factor as links %} + {% for name, href in links.items %} + {% trans name %} + {% endfor %} +
+
+ {% include 'partials/pagination.html' %} +
+
+
{% endblock %} diff --git a/passbook/admin/templates/administration/group/list.html b/passbook/admin/templates/administration/group/list.html index 95ddcefbf..f256a191a 100644 --- a/passbook/admin/templates/administration/group/list.html +++ b/passbook/admin/templates/administration/group/list.html @@ -3,44 +3,64 @@ {% load i18n %} {% load utils %} -{% block title %} -{% title %} -{% endblock %} - {% block content %} -
-

{% trans "Groups" %}

- {% trans "Group users together and give them permissions based on the membership." %} -
- - {% trans 'Create...' %} - -
- - - - - - - - - - - {% for group in object_list %} - - - - - - - {% endfor %} - -
{% trans 'Name' %}{% trans 'Parent' %}{% trans 'Members' %}
{{ group.name }}{{ group.parent }}{{ group.user_set.all|length }} - {% trans 'Edit' %} - {% trans 'Delete' %} -
- {% include 'partials/pagination.html' %} -
+
+
+

+ + {% trans 'Groups' %} +

+

{% trans "Group users together and give them permissions based on the membership." %} +

+
+
+
+
+
+ + {% include 'partials/pagination.html' %} +
+ + + + + + + + + + + {% for group in object_list %} + + + + + + + {% endfor %} + +
{% trans 'Name' %}{% trans 'Parent' %}{% trans 'Members' %}
+ + {{ group.name }} + + + + {{ group.parent }} + + + + {{ group.user_set.all|length }} + + + {% trans 'Edit' %} + {% trans 'Delete' %} +
+
+ {% include 'partials/pagination.html' %} +
+
+
{% endblock %} diff --git a/passbook/admin/templates/administration/invitation/list.html b/passbook/admin/templates/administration/invitation/list.html index 299374c1b..9da63a848 100644 --- a/passbook/admin/templates/administration/invitation/list.html +++ b/passbook/admin/templates/administration/invitation/list.html @@ -3,42 +3,57 @@ {% load i18n %} {% load utils %} -{% block title %} -{% title %} -{% endblock %} - {% block content %} -
-

{% trans "Invitations" %}

- {% trans "Create Invitation Links which optionally force a username or expire on a set date." %} -
- - {% trans 'Create...' %} - -
- - - - - - - - - - {% for invitation in object_list %} - - - - - - {% endfor %} - -
{% trans 'Expiry' %}{% trans 'Link' %}
{{ invitation.expires|default:"Never" }} -
{{ invitation.link }}
-
- {% trans 'Delete' %} -
- {% include 'partials/pagination.html' %} -
+
+
+

+ + {% trans 'Invitations' %} +

+

{% trans "Create Invitation Links to enroll Users, and optionally force a username or expire on a set date." %} +

+
+
+
+
+
+ + {% include 'partials/pagination.html' %} +
+ + + + + + + + + + {% for invitation in object_list %} + + + + + + {% endfor %} + +
{% trans 'Expiry' %}{% trans 'Link' %}
+ + {{ invitation.expiry }} + + + + {{ invitation.Link }} + + + {% trans 'Delete' %} +
+
+ {% include 'partials/pagination.html' %} +
+
+
{% endblock %} diff --git a/passbook/admin/templates/administration/overview.html b/passbook/admin/templates/administration/overview.html index e2ef9430f..daf5f7e82 100644 --- a/passbook/admin/templates/administration/overview.html +++ b/passbook/admin/templates/administration/overview.html @@ -3,224 +3,177 @@ {% load i18n %} {% block content %} +
+
+

{% trans 'System Overview' %}

+
+
-
-
-
-

- - - {% trans 'Factors' %} - -

- -
-
-

- - - {% trans 'Policies' %} - -

-
-

- - {% if policies_without_attachment > 0 %} - - {{ policy_count }} - {% else %} - {{ policy_count }} - {% endif %} - -

+ +
+
+
+ {% trans 'Workers' %} +
+
+
+ {% if worker_count < 1 %} + {{ worker_count }} +

{% trans 'No workers connected.' %}

+ {% else %} + {{ worker_count }} + {% endif %}
-
-
- -
-
-

- - - {% trans 'Users' %} - -

-
-

- - - {{ user_count }} - - -

+
+ {% if cached_policies < 1 %} + {{ cached_policies }} +

{% trans 'No policies cached. Users may experience slow response times.' %}

+ {% else %} + {{ cached_policies }} + {% endif %}
-
-
-
-
-

- - {% trans 'Version' %} -

- -
-
- - + +
-