petter2025 commited on
Commit
195ab9a
·
verified ·
1 Parent(s): 1ae979c

Update ui/components.py

Browse files
Files changed (1) hide show
  1. ui/components.py +20 -16
ui/components.py CHANGED
@@ -24,23 +24,27 @@ except ImportError:
24
  # -----------------------------
25
  # Header & Status - UPDATED WITH INSTALLATION CHECK
26
  # -----------------------------
27
- def create_header(version="3.3.9") -> gr.HTML: # Removed mock_mode parameter
28
  return gr.HTML(f"""
29
- <div style="text-align: center; margin-bottom: 25px;">
30
- <img src="https://raw.githubusercontent.com/petterjuan/agentic-reliability-framework/main/assets/agentic-reliability-banner.png"
31
- alt="Agentic Reliability Framework"
32
- style="max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);">
33
- <h2 style="margin: 15px 0 5px 0; font-size: 24px; color: #1e293b; font-weight: 600;">
34
- v{version} (OSS + Enterprise Edition)
35
- </h2>
36
- <p style="margin: 0 0 15px 0; font-size: 16px; color: #64748b; max-width: 600px; margin-left: auto; margin-right: auto;">
37
- Production-grade multi-agent AI for autonomous system reliability intelligence
38
- </p>
39
-
40
- <!-- Clean Architecture Badge -->
41
- <div style="display: inline-block; padding: 8px 20px; background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
42
- border: 2px solid #3b82f6; border-radius: 20px; font-size: 14px; font-weight: 600; color: #1e40af;">
43
- 🏗️ Architecture: OSS advises Enterprise executes
 
 
 
 
44
  </div>
45
  </div>
46
  """)
 
24
  # -----------------------------
25
  # Header & Status - UPDATED WITH INSTALLATION CHECK
26
  # -----------------------------
27
+ def create_header(version="3.3.9") -> gr.HTML:
28
  return gr.HTML(f"""
29
+ <div style="text-align: center; margin-bottom: 25px; display: flex; justify-content: center;">
30
+ <div style="max-width: 1200px; width: 100%;">
31
+ <img src="https://raw.githubusercontent.com/petterjuan/agentic-reliability-framework/main/assets/agentic-reliability-banner.png"
32
+ alt="Agentic Reliability Framework"
33
+ style="width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);">
34
+ <div style="margin-top: 20px;">
35
+ <h2 style="margin: 0 0 8px 0; font-size: 24px; color: #1e293b; font-weight: 600;">
36
+ v{version} (OSS + Enterprise Edition)
37
+ </h2>
38
+ <p style="margin: 0 0 15px 0; font-size: 16px; color: #64748b; max-width: 600px; margin-left: auto; margin-right: auto;">
39
+ Production-grade multi-agent AI for autonomous system reliability intelligence
40
+ </p>
41
+
42
+ <!-- Clean Architecture Badge -->
43
+ <div style="display: inline-block; padding: 8px 20px; background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
44
+ border: 2px solid #3b82f6; border-radius: 20px; font-size: 14px; font-weight: 600; color: #1e40af;">
45
+ 🏗️ Architecture: OSS advises → Enterprise executes
46
+ </div>
47
+ </div>
48
  </div>
49
  </div>
50
  """)