@@ -390,16 +390,16 @@ function showTab(tabName) {
390
390
panel . classList . add ( "hidden" ) ;
391
391
} ) ;
392
392
document . querySelectorAll ( ".tab-link" ) . forEach ( ( link ) => {
393
- link . classList . remove ( "border-indigo-500" , "text-indigo-600" ) ;
394
- link . classList . add ( "border-transparent" , "text-gray-500" ) ;
393
+ link . classList . remove ( "border-indigo-500" , "text-indigo-600" , "dark:text-indigo-500" , "dark:border-indigo-400" ) ;
394
+ link . classList . add ( "border-transparent" , "text-gray-500" , "dark:text-gray-400" ) ;
395
395
} ) ;
396
396
document . getElementById ( `${ tabName } -panel` ) . classList . remove ( "hidden" ) ;
397
397
document
398
398
. querySelector ( `[href="#${ tabName } "]` )
399
- . classList . add ( "border-indigo-500" , "text-indigo-600" ) ;
399
+ . classList . add ( "border-indigo-500" , "text-indigo-600" , "dark:text-indigo-500" , "dark:border-indigo-400" ) ;
400
400
document
401
401
. querySelector ( `[href="#${ tabName } "]` )
402
- . classList . remove ( "border-transparent" , "text-gray-500" ) ;
402
+ . classList . remove ( "border-transparent" , "text-gray-500" , "dark:text-gray-400" ) ;
403
403
404
404
if ( tabName === "metrics" ) {
405
405
loadAggregatedMetrics ( ) ;
@@ -1328,64 +1328,64 @@ async function loadAggregatedMetrics() {
1328
1328
1329
1329
// Build an aggregated metrics table
1330
1330
const tableHTML = `
1331
- <table class="min-w-full bg-white border">
1331
+ <table class="min-w-full bg-white border dark:bg-gray-900 ">
1332
1332
<thead>
1333
1333
<tr>
1334
- <th class="py-2 px-4 border">Entity</th>
1335
- <th class="py-2 px-4 border">Total</th>
1336
- <th class="py-2 px-4 border">Successful</th>
1337
- <th class="py-2 px-4 border">Failed</th>
1338
- <th class="py-2 px-4 border">Failure Rate</th>
1339
- <th class="py-2 px-4 border">Min RT</th>
1340
- <th class="py-2 px-4 border">Max RT</th>
1341
- <th class="py-2 px-4 border">Avg RT</th>
1342
- <th class="py-2 px-4 border">Last Exec</th>
1334
+ <th class="py-2 px-4 border dark:text-gray-200 ">Entity</th>
1335
+ <th class="py-2 px-4 border dark:text-gray-200 ">Total</th>
1336
+ <th class="py-2 px-4 border dark:text-gray-200 ">Successful</th>
1337
+ <th class="py-2 px-4 border dark:text-gray-200 ">Failed</th>
1338
+ <th class="py-2 px-4 border dark:text-gray-200 ">Failure Rate</th>
1339
+ <th class="py-2 px-4 border dark:text-gray-200 ">Min RT</th>
1340
+ <th class="py-2 px-4 border dark:text-gray-200 ">Max RT</th>
1341
+ <th class="py-2 px-4 border dark:text-gray-200 ">Avg RT</th>
1342
+ <th class="py-2 px-4 border dark:text-gray-200 ">Last Exec</th>
1343
1343
</tr>
1344
1344
</thead>
1345
1345
<tbody>
1346
1346
<tr>
1347
- <td class="py-2 px-4 border font-semibold">Tools</td>
1348
- <td class="py-2 px-4 border">${ toolsTotal } </td>
1349
- <td class="py-2 px-4 border">${ toolsSuccess } </td>
1350
- <td class="py-2 px-4 border">${ toolsFailed } </td>
1351
- <td class="py-2 px-4 border">${ toolsFailureRate } </td>
1352
- <td class="py-2 px-4 border">${ toolsMin } </td>
1353
- <td class="py-2 px-4 border">${ toolsMax } </td>
1354
- <td class="py-2 px-4 border">${ toolsAvg } </td>
1355
- <td class="py-2 px-4 border">${ toolsLast } </td>
1347
+ <td class="py-2 px-4 border font-semibold dark:text-gray-200 ">Tools</td>
1348
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ toolsTotal } </td>
1349
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ toolsSuccess } </td>
1350
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ toolsFailed } </td>
1351
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ toolsFailureRate } </td>
1352
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ toolsMin } </td>
1353
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ toolsMax } </td>
1354
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ toolsAvg } </td>
1355
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ toolsLast } </td>
1356
1356
</tr>
1357
1357
<tr>
1358
- <td class="py-2 px-4 border font-semibold">Resources</td>
1359
- <td class="py-2 px-4 border">${ resourcesTotal } </td>
1360
- <td class="py-2 px-4 border">${ resourcesSuccess } </td>
1361
- <td class="py-2 px-4 border">${ resourcesFailed } </td>
1362
- <td class="py-2 px-4 border">${ resourcesFailureRate } </td>
1363
- <td class="py-2 px-4 border">${ resourcesMin } </td>
1364
- <td class="py-2 px-4 border">${ resourcesMax } </td>
1365
- <td class="py-2 px-4 border">${ resourcesAvg } </td>
1366
- <td class="py-2 px-4 border">${ resourcesLast } </td>
1358
+ <td class="py-2 px-4 border font-semibold dark:text-gray-200 ">Resources</td>
1359
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ resourcesTotal } </td>
1360
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ resourcesSuccess } </td>
1361
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ resourcesFailed } </td>
1362
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ resourcesFailureRate } </td>
1363
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ resourcesMin } </td>
1364
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ resourcesMax } </td>
1365
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ resourcesAvg } </td>
1366
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ resourcesLast } </td>
1367
1367
</tr>
1368
1368
<tr>
1369
- <td class="py-2 px-4 border font-semibold">Servers</td>
1370
- <td class="py-2 px-4 border">${ serversTotal } </td>
1371
- <td class="py-2 px-4 border">${ serversSuccess } </td>
1372
- <td class="py-2 px-4 border">${ serversFailed } </td>
1373
- <td class="py-2 px-4 border">${ serversFailureRate } </td>
1374
- <td class="py-2 px-4 border">${ serversMin } </td>
1375
- <td class="py-2 px-4 border">${ serversMax } </td>
1376
- <td class="py-2 px-4 border">${ serversAvg } </td>
1377
- <td class="py-2 px-4 border">${ serversLast } </td>
1369
+ <td class="py-2 px-4 border font-semibold dark:text-gray-200 ">Servers</td>
1370
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ serversTotal } </td>
1371
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ serversSuccess } </td>
1372
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ serversFailed } </td>
1373
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ serversFailureRate } </td>
1374
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ serversMin } </td>
1375
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ serversMax } </td>
1376
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ serversAvg } </td>
1377
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ serversLast } </td>
1378
1378
</tr>
1379
1379
<tr>
1380
- <td class="py-2 px-4 border font-semibold">Prompts</td>
1381
- <td class="py-2 px-4 border">${ promptsTotal } </td>
1382
- <td class="py-2 px-4 border">${ promptsSuccess } </td>
1383
- <td class="py-2 px-4 border">${ promptsFailed } </td>
1384
- <td class="py-2 px-4 border">${ promptsFailureRate } </td>
1385
- <td class="py-2 px-4 border">${ promptsMin } </td>
1386
- <td class="py-2 px-4 border">${ promptsMax } </td>
1387
- <td class="py-2 px-4 border">${ promptsAvg } </td>
1388
- <td class="py-2 px-4 border">${ promptsLast } </td>
1380
+ <td class="py-2 px-4 border font-semibold dark:text-gray-200 ">Prompts</td>
1381
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ promptsTotal } </td>
1382
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ promptsSuccess } </td>
1383
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ promptsFailed } </td>
1384
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ promptsFailureRate } </td>
1385
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ promptsMin } </td>
1386
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ promptsMax } </td>
1387
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ promptsAvg } </td>
1388
+ <td class="py-2 px-4 border dark:text-gray-300 ">${ promptsLast } </td>
1389
1389
</tr>
1390
1390
</tbody>
1391
1391
</table>
@@ -1455,9 +1455,9 @@ async function loadTopTools() {
1455
1455
let html = `<table class="min-w-full border">
1456
1456
<thead>
1457
1457
<tr>
1458
- <th class="py-1 px-2 border">ID</th>
1459
- <th class="py-1 px-2 border">Name</th>
1460
- <th class="py-1 px-2 border">Executions</th>
1458
+ <th class="py-1 px-2 border dark:text-gray-300 ">ID</th>
1459
+ <th class="py-1 px-2 border dark:text-gray-300 ">Name</th>
1460
+ <th class="py-1 px-2 border dark:text-gray-300 ">Executions</th>
1461
1461
</tr>
1462
1462
</thead>
1463
1463
<tbody>` ;
@@ -1491,10 +1491,10 @@ async function loadTopResources() {
1491
1491
let html = `<table class="min-w-full border">
1492
1492
<thead>
1493
1493
<tr>
1494
- <th class="py-1 px-2 border">ID</th>
1495
- <th class="py-1 px-2 border">URI</th>
1496
- <th class="py-1 px-2 border">Name</th>
1497
- <th class="py-1 px-2 border">Executions</th>
1494
+ <th class="py-1 px-2 border dark:text-gray-300 ">ID</th>
1495
+ <th class="py-1 px-2 border dark:text-gray-300 ">URI</th>
1496
+ <th class="py-1 px-2 border dark:text-gray-300 ">Name</th>
1497
+ <th class="py-1 px-2 border dark:text-gray-300 ">Executions</th>
1498
1498
</tr>
1499
1499
</thead>
1500
1500
<tbody>` ;
@@ -1529,9 +1529,9 @@ async function loadTopServers() {
1529
1529
let html = `<table class="min-w-full border">
1530
1530
<thead>
1531
1531
<tr>
1532
- <th class="py-1 px-2 border">ID</th>
1533
- <th class="py-1 px-2 border">Name</th>
1534
- <th class="py-1 px-2 border">Executions</th>
1532
+ <th class="py-1 px-2 border dark:text-gray-300 ">ID</th>
1533
+ <th class="py-1 px-2 border dark:text-gray-300 ">Name</th>
1534
+ <th class="py-1 px-2 border dark:text-gray-300 ">Executions</th>
1535
1535
</tr>
1536
1536
</thead>
1537
1537
<tbody>` ;
@@ -1565,9 +1565,9 @@ async function loadTopPrompts() {
1565
1565
let html = `<table class="min-w-full border">
1566
1566
<thead>
1567
1567
<tr>
1568
- <th class="py-1 px-2 border">ID</th>
1569
- <th class="py-1 px-2 border">Name</th>
1570
- <th class="py-1 px-2 border">Executions</th>
1568
+ <th class="py-1 px-2 border dark:text-gray-300 ">ID</th>
1569
+ <th class="py-1 px-2 border dark:text-gray-300 ">Name</th>
1570
+ <th class="py-1 px-2 border dark:text-gray-300 ">Executions</th>
1571
1571
</tr>
1572
1572
</thead>
1573
1573
<tbody>` ;
0 commit comments