petter2025 commited on
Commit
2cd95f6
·
verified ·
1 Parent(s): 4bedbf4

Update ui/components.py

Browse files
Files changed (1) hide show
  1. ui/components.py +16 -7
ui/components.py CHANGED
@@ -7,11 +7,11 @@ from typing import Dict, List, Any, Optional, Tuple
7
  import plotly.graph_objects as go
8
 
9
 
10
- def create_header(oss_version: str, oss_available: bool) -> gr.Markdown:
11
  """Create the demo header - FIXED VERSION"""
12
  status_badge = "✅ Connected" if oss_available else "⚠️ Mock Mode"
13
 
14
- return gr.Markdown(f"""
15
  <div style="text-align: center; padding: 30px 20px 20px 20px; background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); border-radius: 0 0 20px 20px; margin-bottom: 30px; border-bottom: 3px solid #4ECDC4;">
16
  <h1 style="margin-bottom: 10px;">🚀 Agentic Reliability Framework</h1>
17
  <h2 style="color: #4a5568; font-weight: 600; margin-bottom: 20px;">Investor Demo v3.8.0</h2>
@@ -393,13 +393,22 @@ def create_tab5_learning_engine() -> Tuple:
393
  clear_btn, search_results, stats_display, patterns_display, performance_display)
394
 
395
 
396
- def create_footer() -> gr.Markdown:
397
- """Create the demo footer - SIMPLIFIED VERSION"""
398
- return gr.Markdown("""
399
  <div style="margin-top: 40px; padding: 30px; background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%); border-radius: 20px; color: white;">
400
  <div style="border-top: 1px solid #4a5568; padding-top: 20px; text-align: center; color: #a0aec0; font-size: 0.9rem;">
401
- <p style="margin: 0;">© 2024 Agentic Reliability Framework. Demo v3.8.0 Enterprise Edition.</p>
402
- <p style="margin: 10px 0 0 0; font-size: 0.8rem;">This demonstration showcases capabilities. Actual results may vary.</p>
 
 
 
 
 
 
 
 
 
403
  </div>
404
  </div>
405
  """)
 
7
  import plotly.graph_objects as go
8
 
9
 
10
+ def create_header(oss_version: str, oss_available: bool) -> gr.HTML: # CHANGED from gr.Markdown to gr.HTML
11
  """Create the demo header - FIXED VERSION"""
12
  status_badge = "✅ Connected" if oss_available else "⚠️ Mock Mode"
13
 
14
+ return gr.HTML(f""" # CHANGED from gr.Markdown to gr.HTML
15
  <div style="text-align: center; padding: 30px 20px 20px 20px; background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); border-radius: 0 0 20px 20px; margin-bottom: 30px; border-bottom: 3px solid #4ECDC4;">
16
  <h1 style="margin-bottom: 10px;">🚀 Agentic Reliability Framework</h1>
17
  <h2 style="color: #4a5568; font-weight: 600; margin-bottom: 20px;">Investor Demo v3.8.0</h2>
 
393
  clear_btn, search_results, stats_display, patterns_display, performance_display)
394
 
395
 
396
+ def create_footer() -> gr.HTML: # CHANGED from gr.Markdown to gr.HTML
397
+ """Create the demo footer - UPDATED FOR 2026"""
398
+ return gr.HTML(""" # CHANGED from gr.Markdown to gr.HTML
399
  <div style="margin-top: 40px; padding: 30px; background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%); border-radius: 20px; color: white;">
400
  <div style="border-top: 1px solid #4a5568; padding-top: 20px; text-align: center; color: #a0aec0; font-size: 0.9rem;">
401
+ <p style="margin: 0;">© 2026 Agentic Reliability Framework. Demo v3.8.0 Enterprise Edition.</p>
402
+ <p style="margin: 10px 0 0 0; font-size: 0.85rem; color: #cbd5e0;">
403
+ This is a demonstration environment showcasing ARF capabilities.<br>
404
+ Actual implementation results may vary based on specific use cases and configurations.
405
+ </p>
406
+ <p style="margin: 15px 0 0 0; font-size: 0.8rem; color: #718096;">
407
+ For production inquiries or enterprise licensing, visit
408
+ <a href="https://arf.dev/enterprise" style="color: #4ECDC4; text-decoration: none; font-weight: 600;">
409
+ arf.dev/enterprise
410
+ </a>
411
+ </p>
412
  </div>
413
  </div>
414
  """)