Skip to content

Commit 02bfc39

Browse files
committed
fix: Add missing closing div for tools panel
- Fixed broken tab navigation for Resources, Prompts, Gateways, Roots, Metrics - Modal was missing parent tools-panel closing div tag - Removed CSS overrides and used inline style for indicator visibility Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
1 parent b6fb530 commit 02bfc39

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

mcpgateway/templates/admin.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@
3939
rel="stylesheet"
4040
/>
4141
<link href="{{ root_path }}/static/admin.css" rel="stylesheet" />
42-
<style>
43-
/* HTMX indicator visibility for bulk import only */
44-
#bulk-import-indicator { display: none; }
45-
.htmx-request #bulk-import-indicator { display: flex !important; }
46-
</style>
4742
</head>
4843

4944
<body class="bg-gray-100 dark:bg-gray-900">
@@ -1358,7 +1353,7 @@ <h3 class="text-base font-semibold dark:text-gray-100">Bulk Import Tools</h3>
13581353
hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500">
13591354
Import Tools
13601355
</button>
1361-
<span id="bulk-import-indicator" class="htmx-indicator hidden items-center text-sm text-gray-500 dark:text-gray-400">
1356+
<span id="bulk-import-indicator" class="htmx-indicator items-center text-sm text-gray-500 dark:text-gray-400" style="display: none;">
13621357
<svg class="mr-2 h-4 w-4 animate-spin" viewBox="0 0 24 24" fill="none">
13631358
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"/>
13641359
<path class="opacity-75" fill="currentColor"
@@ -1372,7 +1367,7 @@ <h3 class="text-base font-semibold dark:text-gray-100">Bulk Import Tools</h3>
13721367
</form>
13731368
</div>
13741369
</div>
1375-
1370+
</div>
13761371

13771372
<!-- Resources Panel -->
13781373
<div id="resources-panel" class="tab-panel hidden">

0 commit comments

Comments
 (0)