@@ -569,7 +569,7 @@ async function viewTool(toolId) {
569
569
}
570
570
571
571
document . getElementById ( "tool-details" ) . innerHTML = `
572
- <div class="space-y-2">
572
+ <div class="space-y-2 dark:bg-gray-900 dark:text-gray-100 ">
573
573
<p><strong>Name:</strong> ${ tool . name } </p>
574
574
<p><strong>URL:</strong> ${ tool . url } </p>
575
575
<p><strong>Type:</strong> ${ tool . integrationType } </p>
@@ -578,11 +578,11 @@ async function viewTool(toolId) {
578
578
${ authHTML }
579
579
<div>
580
580
<strong>Headers:</strong>
581
- <pre class="mt-1 bg-gray-100 p-2 rounded overflow-auto">${ JSON . stringify ( tool . headers || { } , null , 2 ) } </pre>
581
+ <pre class="mt-1 bg-gray-100 p-2 rounded overflow-auto dark:bg-gray-900 dark:text-gray-300 ">${ JSON . stringify ( tool . headers || { } , null , 2 ) } </pre>
582
582
</div>
583
583
<div>
584
584
<strong>Input Schema:</strong>
585
- <pre class="mt-1 bg-gray-100 p-2 rounded overflow-auto">${ JSON . stringify ( tool . inputSchema || { } , null , 2 ) } </pre>
585
+ <pre class="mt-1 bg-gray-100 p-2 rounded overflow-auto dark:bg-gray-900 dark:text-gray-300 ">${ JSON . stringify ( tool . inputSchema || { } , null , 2 ) } </pre>
586
586
</div>
587
587
<div>
588
588
<strong>Metrics:</strong>
@@ -707,7 +707,7 @@ async function viewResource(resourceUri) {
707
707
const resource = data . resource ;
708
708
const content = data . content ;
709
709
document . getElementById ( "resource-details" ) . innerHTML = `
710
- <div class="space-y-2">
710
+ <div class="space-y-2 dark:bg-gray-900 dark:text-gray-100 ">
711
711
<p><strong>URI:</strong> ${ resource . uri } </p>
712
712
<p><strong>Name:</strong> ${ resource . name } </p>
713
713
<p><strong>Type:</strong> ${ resource . mimeType || "N/A" } </p>
@@ -799,7 +799,7 @@ async function viewPrompt(promptName) {
799
799
) ;
800
800
const prompt = await response . json ( ) ;
801
801
document . getElementById ( "prompt-details" ) . innerHTML = `
802
- <div class="space-y-2">
802
+ <div class="space-y-2 dark:bg-gray-900 dark:text-gray-100 ">
803
803
<p><strong>Name:</strong> ${ prompt . name } </p>
804
804
<p><strong>Description:</strong> ${ prompt . description || "N/A" } </p>
805
805
<p><strong>Status:</strong>
@@ -819,7 +819,7 @@ async function viewPrompt(promptName) {
819
819
</div>
820
820
<div>
821
821
<strong>Arguments:</strong>
822
- <pre class="mt-1 bg-gray-100 p-2 rounded">${ JSON . stringify ( prompt . arguments || [ ] , null , 2 ) } </pre>
822
+ <pre class="mt-1 bg-gray-100 p-2 rounded dark:bg-gray-800 dark:text-gray-100 ">${ JSON . stringify ( prompt . arguments || [ ] , null , 2 ) } </pre>
823
823
</div>
824
824
<!-- ADD THIS: Metrics section -->
825
825
<div>
@@ -904,7 +904,7 @@ async function viewGateway(gatewayId) {
904
904
}
905
905
906
906
document . getElementById ( "gateway-details" ) . innerHTML = `
907
- <div class="space-y-2">
907
+ <div class="space-y-2 dark:bg-gray-900 dark:text-gray-100 ">
908
908
<p><strong>Name:</strong> ${ gateway . name } </p>
909
909
<p><strong>URL:</strong> ${ gateway . url } </p>
910
910
<p><strong>Description:</strong> ${ gateway . description || "N/A" } </p>
@@ -921,7 +921,7 @@ async function viewGateway(gatewayId) {
921
921
${ authHTML }
922
922
<div>
923
923
<strong>Capabilities:</strong>
924
- <pre class="mt-1 bg-gray-100 p-2 rounded">${ JSON . stringify ( gateway . capabilities || { } , null , 2 ) } </pre>
924
+ <pre class="mt-1 bg-gray-100 p-2 rounded dark:bg-gray-800 dark:text-gray-100 ">${ JSON . stringify ( gateway . capabilities || { } , null , 2 ) } </pre>
925
925
</div>
926
926
</div>
927
927
` ;
@@ -997,7 +997,7 @@ async function viewServer(serverId) {
997
997
: "N/A" ;
998
998
999
999
document . getElementById ( "server-details" ) . innerHTML = `
1000
- <div class="space-y-2">
1000
+ <div class="space-y-2 dark:bg-gray-900 dark:text-gray-100 ">
1001
1001
<p><strong>Name:</strong> ${ server . name } </p>
1002
1002
<p><strong>Description:</strong> ${ server . description || "N/A" } </p>
1003
1003
<p><strong>Status:</strong>
@@ -1327,7 +1327,7 @@ async function loadAggregatedMetrics() {
1327
1327
1328
1328
// Build an aggregated metrics table
1329
1329
const tableHTML = `
1330
- <table class="min-w-full bg-white border dark:bg-gray-900">
1330
+ <table class="min-w-full bg-white border dark:bg-gray-900 dark:text-gray-100 ">
1331
1331
<thead>
1332
1332
<tr>
1333
1333
<th class="py-2 px-4 border dark:text-gray-200">Entity</th>
@@ -1643,7 +1643,7 @@ function testTool(toolId) {
1643
1643
input . type = "text" ;
1644
1644
input . required = schema . required && schema . required . includes ( key ) ;
1645
1645
input . className =
1646
- "mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500" ;
1646
+ "mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 dark:bg-gray-900 dark:text-gray-300 dark:border-gray-700 dark:focus:border-indigo-400 dark:focus:ring-indigo-400 " ;
1647
1647
fieldDiv . appendChild ( input ) ;
1648
1648
1649
1649
container . appendChild ( fieldDiv ) ;
0 commit comments