From 3742ff4fe73088019752cebfcbb65e6cca5e7a0c Mon Sep 17 00:00:00 2001
From: Azza Ahmed <a.e.ahmed@tudelft.nl>
Date: Tue, 13 May 2025 15:31:04 +0200
Subject: [PATCH] disable pagination and adjust table height in nodes table

---
 layouts/partials/hooks/body-end.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/layouts/partials/hooks/body-end.html b/layouts/partials/hooks/body-end.html
index a93b8b9..64f5f14 100644
--- a/layouts/partials/hooks/body-end.html
+++ b/layouts/partials/hooks/body-end.html
@@ -12,11 +12,11 @@ $(document).ready(function() {
     if ($('#nodes-table').length) {
         $('#nodes-table').DataTable({
             dom: 'Bfrtip', // Add Buttons (B) to the DOM, f=filtering, r=processing, t=table, i=info, p=pagination
-            "paging": true, // Enable pagination           
-            scrollY: "300px", // Set the height of the table
+            "paging": false, // Enable pagination           
+            scrollY: "400px", // Set the height of the table
             scrollCollapse: true, // Allow the table to collapse if there are fewer rows
             scrollX: true, // Enable horizontal scrolling
-            "pageLength": 5, // Show 5 entries per page by default
+            // "pageLength": 5, // Show 5 entries per page by default
             "lengthMenu": [ [5, 10, 25, 50, -1], [5, 10, 25, 50, "All"] ], // Options for number of entries per page
             buttons: [
                 'colvis' // Add the column visibility button
-- 
GitLab