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/ --- .../templates/tables/table-paginated.html.twig | 59 ++++++++++++++++++++++ .../templates/tables/table-tool-menu.html.twig | 25 +++++++++ 2 files changed, 84 insertions(+) create mode 100755 main/app/sprinkles/core/templates/tables/table-paginated.html.twig create mode 100755 main/app/sprinkles/core/templates/tables/table-tool-menu.html.twig (limited to 'main/app/sprinkles/core/templates/tables') diff --git a/main/app/sprinkles/core/templates/tables/table-paginated.html.twig b/main/app/sprinkles/core/templates/tables/table-paginated.html.twig new file mode 100755 index 0000000..5b94120 --- /dev/null +++ b/main/app/sprinkles/core/templates/tables/table-paginated.html.twig @@ -0,0 +1,59 @@ +{# Base layout for paginated tablesorter tables. + # Requires tablesorter-custom.css for proper styling of pager elements. +#} + +{# Set some default values for the child template. #} +{% set table = { + 'id': "uf-table", + 'sortlist': "[[0, 0]]" + } | merge(table) +%} + +{# + Global search field for the table. By default, only shown in mobile sizes. + To customize this behavior, see core/assets/userfrosting/css/userfrosting.css +#} +{% block table_search %} + +{% endblock %} +
+ {% block table %} + {# Define your table skeleton in this block in your child template #} + {% endblock %} + + {% block table_cell_templates %} + {# Define your Handlebars cell templates in this block in your child template #} + {% endblock %} + + {% block table_info %} +
+
+ {% endblock %} + + {% block table_pager_controls %} +
+ + + {# this can be any element, including an input #} + + +

+ {{translate("PAGINATION.GOTO")}}: • {{translate("PAGINATION.SHOW")}}: + +
+ {% endblock %} + {% block table_overlay %} + {% if site.uf_table.use_loading_transition %} + + {% endif %} + {% endblock %} +
diff --git a/main/app/sprinkles/core/templates/tables/table-tool-menu.html.twig b/main/app/sprinkles/core/templates/tables/table-tool-menu.html.twig new file mode 100755 index 0000000..0c4dfed --- /dev/null +++ b/main/app/sprinkles/core/templates/tables/table-tool-menu.html.twig @@ -0,0 +1,25 @@ +{# Tool menu for table panels #} + +
+
+ + +
+
-- cgit v1.2.3