From 706accc008af8d8e76a8bef0d6e1460b6bb88b86 Mon Sep 17 00:00:00 2001 From: rob Date: Fri, 16 Jan 2026 14:50:06 -0400 Subject: [PATCH] Remove redundant "Go to page" input from pagination Page numbers are clickable, making the input unnecessary clutter. Co-Authored-By: Claude Opus 4.5 --- src/cmdforge/web/templates/admin/pending.html | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/src/cmdforge/web/templates/admin/pending.html b/src/cmdforge/web/templates/admin/pending.html index 5f26b8e..f7df4c6 100644 --- a/src/cmdforge/web/templates/admin/pending.html +++ b/src/cmdforge/web/templates/admin/pending.html @@ -123,16 +123,6 @@ Next » {% endif %} - - - | -
- - - -
{% endif %} @@ -169,18 +159,6 @@ function toggleFindings(toolId) { el.classList.toggle('hidden'); } -function jumpToPage(event) { - event.preventDefault(); - const input = document.getElementById('page-input'); - const page = parseInt(input.value); - const maxPage = parseInt(input.max); - if (page && page >= 1 && page <= maxPage) { - window.location.href = `?page=${page}`; - } else if (page) { - alert(`Please enter a page number between 1 and ${maxPage}`); - } -} - async function approveTool(toolId) { if (!confirm('Approve this tool?')) return; try {