From e510cab9cd85e9824c6e80ec280b69df5dd7cae6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 27 Nov 2017 18:14:29 +0100 Subject: JQueryJqGrid replacement by DataTables --- ishtar_common/templates/blocks/DataTables.html | 276 +++++++++++++++++++++++++ 1 file changed, 276 insertions(+) create mode 100644 ishtar_common/templates/blocks/DataTables.html (limited to 'ishtar_common/templates/blocks/DataTables.html') diff --git a/ishtar_common/templates/blocks/DataTables.html b/ishtar_common/templates/blocks/DataTables.html new file mode 100644 index 000000000..d385c986b --- /dev/null +++ b/ishtar_common/templates/blocks/DataTables.html @@ -0,0 +1,276 @@ +{% load i18n %} + +

+ + + +{% if url_new %} +

{{new_message}}

+{% endif %} + +

{% trans "Search and select an item" %}

+ + + +
+
+
+ +
+
+
+ + + +
+ + + + + {% for col in col_names %} + + {% endfor %} + +
{{col}}
+
+ +
+
+
+ {% if source_full or extra_sources %} + {% trans "CSV" %} + {% if source_full %}{% trans "CSV full" %}{% endif %} + {% for slug, name, extra_source in extra_sources %} + {{name}} + {% endfor %} + {% else %} + {% trans "CSV" %} + {% endif %} +
+
+
+ +{% if multiple %} + + +{% endif %} + + + + + -- cgit v1.2.3