summaryrefslogtreecommitdiff
path: root/api/static/index.html
diff options
context:
space:
mode:
authorCaptainJack2491 <jayrupnakawala@gmail.com>2026-03-09 20:16:05 +0000
committerCaptainJack2491 <jayrupnakawala@gmail.com>2026-03-09 20:16:05 +0000
commit17acb7a802d6d6f844c51dca5f2f171e360eca8d (patch)
treefd3ad7642e06289a43bc0f059307bff07aed4cd9 /api/static/index.html
parent1bbb4938d9f714eb29c8981e0d834ce85ccafacc (diff)
feat: add token usage metrics and click-to-zoom charts
This commit: - Bakes total/prompt/completion tokens directly into results.csv - Reverts dynamic JSON scraping backend logic for speed - Adds modal overlay functionality to zoom Chart.js graphs on click
Diffstat (limited to 'api/static/index.html')
-rw-r--r--api/static/index.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/api/static/index.html b/api/static/index.html
index 6b4c513..5338fca 100644
--- a/api/static/index.html
+++ b/api/static/index.html
@@ -126,5 +126,13 @@
<!-- Main Entry Point -->
<script type="module" src="/static/js/main.js"></script>
+
+ <!-- Chart Zoom Modal -->
+ <div id="chart-modal" class="modal-overlay" style="display: none;">
+ <div class="modal-content">
+ <button id="close-modal-btn" class="btn-close">&times;</button>
+ <div id="modal-chart-container" class="chart-container" style="height: 80vh; border: none; background: transparent;"></div>
+ </div>
+ </div>
</body>
</html> \ No newline at end of file