about summary refs log tree commit diff
path: root/uploader
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-03-17 10:36:25 -0500
committerFrederick Muriuki Muriithi2025-03-17 10:36:25 -0500
commit5c6ccf6f176b5da4dd7ecde1e4d43d815521de98 (patch)
tree6981f168710abfdf2303d3fab8ed6f53c34db090 /uploader
parenta7838d621fed07f1d7be6bf273f92ac6b646bfc2 (diff)
downloadgn-uploader-5c6ccf6f176b5da4dd7ecde1e4d43d815521de98.tar.gz
Layout table controls for the datatables.
Diffstat (limited to 'uploader')
-rw-r--r--uploader/templates/phenotypes/view-dataset.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/uploader/templates/phenotypes/view-dataset.html b/uploader/templates/phenotypes/view-dataset.html
index f8c0790..2487faf 100644
--- a/uploader/templates/phenotypes/view-dataset.html
+++ b/uploader/templates/phenotypes/view-dataset.html
@@ -128,15 +128,19 @@
           {
               select: "multi+shift",
               layout: {
-                  top1: "search",
-                  topStart: {
+                  top2: {
                       buttons: [
                           {extend: "selectAll", className: "btn btn-info"},
                           {extend: "selectNone", className: "btn btn-info"}
                       ]
                   },
-                  topEnd: "info",
-                  bottomEnd: null
+                  top1Start: {
+                      pageLength: {
+                          text: "Show _MENU_ of _TOTAL_"
+                      }
+                  },
+                  topStart: "info",
+                  top1End: null
               },
               rowId: function(pheno) {
                   return `${pheno.InbredSetCode}_${pheno.xref_id}`;