From cf14306c2b3f82a81f8d56669a71633b4d4b5fce Mon Sep 17 00:00:00 2001
From: marvin-borner@live.com
Date: Mon, 16 Apr 2018 21:09:05 +0200
Subject: Main merge to user management system - files are now at /main/public/
---
.../admin/templates/tables/activities.html.twig | 73 ++++++++++
.../admin/templates/tables/groups.html.twig | 69 ++++++++++
.../admin/templates/tables/permissions.html.twig | 66 +++++++++
.../admin/templates/tables/roles.html.twig | 74 ++++++++++
.../admin/templates/tables/users.html.twig | 149 +++++++++++++++++++++
5 files changed, 431 insertions(+)
create mode 100755 main/app/sprinkles/admin/templates/tables/activities.html.twig
create mode 100755 main/app/sprinkles/admin/templates/tables/groups.html.twig
create mode 100755 main/app/sprinkles/admin/templates/tables/permissions.html.twig
create mode 100755 main/app/sprinkles/admin/templates/tables/roles.html.twig
create mode 100755 main/app/sprinkles/admin/templates/tables/users.html.twig
(limited to 'main/app/sprinkles/admin/templates/tables')
diff --git a/main/app/sprinkles/admin/templates/tables/activities.html.twig b/main/app/sprinkles/admin/templates/tables/activities.html.twig
new file mode 100755
index 0000000..d70541b
--- /dev/null
+++ b/main/app/sprinkles/admin/templates/tables/activities.html.twig
@@ -0,0 +1,73 @@
+{# This partial template renders a table of user activities, to be populated with rows via an AJAX request.
+ # This extends a generic template for paginated tables.
+ #
+ # Note that this template contains a "skeleton" table with an empty table body, and then a block of Handlebars templates which are used
+ # to render the table cells with the data from the AJAX request.
+#}
+
+{% extends "tables/table-paginated.html.twig" %}
+
+{% block table %}
+
+
+
+ {{translate('ACTIVITY.TIME')}} |
+ {% if 'user' in table.columns %}
+ {{translate('USER')}} |
+ {% endif %}
+ {{translate("DESCRIPTION")}} |
+
+
+
+
+
+{% endblock %}
+
+{% block table_cell_templates %}
+ {# This contains a series of
+
+
+
+
+ {% endverbatim %}
+{% endblock %}
diff --git a/main/app/sprinkles/admin/templates/tables/groups.html.twig b/main/app/sprinkles/admin/templates/tables/groups.html.twig
new file mode 100755
index 0000000..2c5a84a
--- /dev/null
+++ b/main/app/sprinkles/admin/templates/tables/groups.html.twig
@@ -0,0 +1,69 @@
+{# This partial template renders a table of groups, to be populated with rows via an AJAX request.
+ # This extends a generic template for paginated tables.
+ #
+ # Note that this template contains a "skeleton" table with an empty table body, and then a block of Handlebars templates which are used
+ # to render the table cells with the data from the AJAX request.
+#}
+
+{% extends "tables/table-paginated.html.twig" %}
+
+{% block table %}
+
+
+
+ {{translate('GROUP')}} |
+ {{translate("DESCRIPTION")}} |
+ {{translate("ACTIONS")}} |
+
+
+
+
+
+{% endblock %}
+
+{% block table_cell_templates %}
+ {# This contains a series of
+
+
+
+
+ {% endverbatim %}
+{% endblock %}
diff --git a/main/app/sprinkles/admin/templates/tables/permissions.html.twig b/main/app/sprinkles/admin/templates/tables/permissions.html.twig
new file mode 100755
index 0000000..92e236a
--- /dev/null
+++ b/main/app/sprinkles/admin/templates/tables/permissions.html.twig
@@ -0,0 +1,66 @@
+{# This partial template renders a table of permissions, to be populated with rows via an AJAX request.
+ # This extends a generic template for paginated tables.
+ #
+ # Note that this template contains a "skeleton" table with an empty table body, and then a block of Handlebars templates which are used
+ # to render the table cells with the data from the AJAX request.
+#}
+
+{% extends "tables/table-paginated.html.twig" %}
+
+{% block table %}
+
+
+
+ {{translate('PERMISSION')}} |
+ {{translate('SLUG_CONDITION')}} |
+ {% if 'via_roles' in table.columns %}
+ {{translate('PERMISSION.VIA_ROLES')}} |
+ {% endif %}
+
+
+
+
+
+{% endblock %}
+
+{% block table_cell_templates %}
+ {# This contains a series of
+
+
+
+
+ {% endverbatim %}
+{% endblock %}
diff --git a/main/app/sprinkles/admin/templates/tables/roles.html.twig b/main/app/sprinkles/admin/templates/tables/roles.html.twig
new file mode 100755
index 0000000..dbdb49e
--- /dev/null
+++ b/main/app/sprinkles/admin/templates/tables/roles.html.twig
@@ -0,0 +1,74 @@
+{# This partial template renders a table of roles, to be populated with rows via an AJAX request.
+ # This extends a generic template for paginated tables.
+ #
+ # Note that this template contains a "skeleton" table with an empty table body, and then a block of Handlebars templates which are used
+ # to render the table cells with the data from the AJAX request.
+#}
+
+{% extends "tables/table-paginated.html.twig" %}
+
+{% block table %}
+
+
+
+ {{translate('ROLE')}} |
+ {{translate('DESCRIPTION')}} |
+ {{translate('ACTIONS')}} |
+
+
+
+
+
+{% endblock %}
+
+{% block table_cell_templates %}
+ {# This contains a series of
+
+
+
+
+ {% endverbatim %}
+{% endblock %}
diff --git a/main/app/sprinkles/admin/templates/tables/users.html.twig b/main/app/sprinkles/admin/templates/tables/users.html.twig
new file mode 100755
index 0000000..1cebb47
--- /dev/null
+++ b/main/app/sprinkles/admin/templates/tables/users.html.twig
@@ -0,0 +1,149 @@
+{# This partial template renders a table of users, to be populated with rows via an AJAX request.
+ # This extends a generic template for paginated tables.
+ #
+ # Note that this template contains a "skeleton" table with an empty table body, and then a block of Handlebars templates which are used
+ # to render the table cells with the data from the AJAX request.
+#}
+
+{% extends "tables/table-paginated.html.twig" %}
+
+{% block table %}
+
+
+
+ {{translate('USER')}} |
+ {% if 'last_activity' in table.columns %}
+ {{translate("ACTIVITY.LAST")}} |
+ {% endif %}
+ {% if 'via_roles' in table.columns %}
+ {{translate('PERMISSION.VIA_ROLES')}} |
+ {% endif %}
+ {{translate("STATUS")}} |
+ {{translate("ACTIONS")}} |
+
+
+
+
+
+{% endblock %}
+
+{% block table_cell_templates %}
+ {# This contains a series of
+
+
+
+
+
+
+
+ {% endverbatim %}
+{% endblock %}
--
cgit v1.2.3