From ac839d9481b863c93a9c0f92011118bb581f7c2d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 9 Jan 2023 18:49:20 +0100 Subject: UI bootstrap for stats --- ishtar_common/models_imports.py | 5 +- .../templates/blocks/DataTables-stats.html | 70 ++++++++++++---------- 2 files changed, 43 insertions(+), 32 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py index b61d591b1..6358f070a 100644 --- a/ishtar_common/models_imports.py +++ b/ishtar_common/models_imports.py @@ -179,7 +179,10 @@ class ImporterType(models.Model): ) is_template = models.BooleanField(_("Can be exported"), default=False) unicity_keys = models.CharField( - _('Unicity keys (separator ";")'), blank=True, null=True, max_length=500 + _('Unicity keys (separator ";")'), blank=True, null=True, max_length=500, + help_text=_("Mandatory for update importer. Set to key that identify items " + "without ambiguity. Warning: __ is not supported, only use level " + "1 key.") ) available = models.BooleanField(_("Available"), default=True) objects = ImporterTypeManager() diff --git a/ishtar_common/templates/blocks/DataTables-stats.html b/ishtar_common/templates/blocks/DataTables-stats.html index aae2bb91f..d443a7721 100644 --- a/ishtar_common/templates/blocks/DataTables-stats.html +++ b/ishtar_common/templates/blocks/DataTables-stats.html @@ -3,37 +3,45 @@
-

- - - - -

-

- - - - -

+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+

-- cgit v1.2.3