WasabiDrop Claude commited on
Commit
fef4051
Β·
1 Parent(s): 1a4935b

Clean up Key Status section UI

Browse files

- Remove "Service" word from section headers
- Move average response time next to AI model name (e.g., "OpenAI - 2.01s")
- Remove separate Avg Response metric box to reduce clutter
- Keep only Prompt Tokens and Total Tokens metrics
- Cleaner, more compact layout

πŸ€– Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. templates/dashboard.html +1 -5
templates/dashboard.html CHANGED
@@ -470,7 +470,7 @@
470
  <h3>πŸ”‘ Key Status <span class="cat-emoji">πŸ—οΈ</span></h3>
471
  {% for service, health in key_health_data.items() %}
472
  <div style="margin-bottom: 20px;">
473
- <h4>{{service.title()}} Service</h4>
474
  <div style="display: flex; gap: 15px; margin-bottom: 10px; flex-wrap: wrap;">
475
  <span class="status-good" style="padding: 5px 10px; border-radius: 8px; font-size: 0.9em;">
476
  🟒 Healthy: {{health.healthy}}
@@ -499,10 +499,6 @@
499
  <div class="metric-value" style="font-size: 1.2em;">{{health.total_tokens|default(0)}}</div>
500
  <div class="metric-label" style="font-size: 0.8em;">Total Tokens</div>
501
  </div>
502
- <div class="metric status-good" style="padding: 10px; margin: 0; display: inline-block; min-width: 80px;">
503
- <div class="metric-value" style="font-size: 1.2em;">{{health.avg_response_time|default('0.00')}}s</div>
504
- <div class="metric-label" style="font-size: 0.8em;">Avg Response</div>
505
- </div>
506
  </div>
507
 
508
  {% if not health.key_details %}
 
470
  <h3>πŸ”‘ Key Status <span class="cat-emoji">πŸ—οΈ</span></h3>
471
  {% for service, health in key_health_data.items() %}
472
  <div style="margin-bottom: 20px;">
473
+ <h4>{{service.title()}} - {{health.avg_response_time|default('0.00')}}s</h4>
474
  <div style="display: flex; gap: 15px; margin-bottom: 10px; flex-wrap: wrap;">
475
  <span class="status-good" style="padding: 5px 10px; border-radius: 8px; font-size: 0.9em;">
476
  🟒 Healthy: {{health.healthy}}
 
499
  <div class="metric-value" style="font-size: 1.2em;">{{health.total_tokens|default(0)}}</div>
500
  <div class="metric-label" style="font-size: 0.8em;">Total Tokens</div>
501
  </div>
 
 
 
 
502
  </div>
503
 
504
  {% if not health.key_details %}