From 5c6ccf6f176b5da4dd7ecde1e4d43d815521de98 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 17 Mar 2025 10:36:25 -0500 Subject: Layout table controls for the datatables. --- uploader/templates/phenotypes/view-dataset.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'uploader') 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}`; -- cgit v1.2.3