| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>Error Generating AI SBOM</title> |
| <style> |
| body { |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; |
| margin: 0; |
| padding: 0; |
| line-height: 1.6; |
| color: #333; |
| background-color: #f9f9f9; |
| } |
| .container { |
| max-width: 1000px; |
| margin: 0 auto; |
| padding: 0 20px; |
| } |
| |
| |
| .header { |
| background-color: #ffffff; |
| padding: 15px 20px; |
| border-bottom: 1px solid #e9ecef; |
| box-shadow: 0 2px 5px rgba(0,0,0,0.05); |
| display: flex; |
| align-items: center; |
| margin-bottom: 30px; |
| } |
| .header img { |
| height: 60px; |
| margin-right: 15px; |
| } |
| |
| .header .header-content { |
| display: flex; |
| flex-direction: column; |
| } |
| .header h1 { |
| margin: 0; |
| font-size: 28px; |
| color: #2c3e50; |
| font-weight: 600; |
| margin-bottom: 5px; |
| } |
| |
| .header .sbom-count { |
| font-size: 14px; |
| color: #555; |
| font-weight: 500; |
| } |
| |
| |
| .content-section { |
| background-color: #ffffff; |
| border-radius: 8px; |
| padding: 25px; |
| margin-bottom: 30px; |
| box-shadow: 0 2px 10px rgba(0,0,0,0.05); |
| } |
| |
| .content-section h2 { |
| color: #2c3e50; |
| margin-top: 0; |
| margin-bottom: 20px; |
| font-size: 22px; |
| border-bottom: 2px solid #f0f0f0; |
| padding-bottom: 10px; |
| } |
| |
| .content-section p { |
| margin-bottom: 20px; |
| font-size: 16px; |
| line-height: 1.7; |
| color: #555; |
| } |
| |
| |
| .error-section { |
| background-color: #ffffff; |
| border-radius: 8px; |
| padding: 25px; |
| margin-bottom: 30px; |
| box-shadow: 0 2px 10px rgba(0,0,0,0.05); |
| } |
| |
| .error-section h2 { |
| color: #e74c3c; |
| margin-top: 0; |
| margin-bottom: 20px; |
| font-size: 22px; |
| border-bottom: 2px solid #f0f0f0; |
| padding-bottom: 10px; |
| } |
| |
| .error-message { |
| background-color: #ffebee; |
| border-left: 4px solid #e74c3c; |
| padding: 15px; |
| border-radius: 4px; |
| margin: 20px 0; |
| font-size: 16px; |
| line-height: 1.7; |
| color: #555; |
| } |
| |
| |
| .button { |
| display: inline-block; |
| padding: 12px 20px; |
| background-color: #3498db; |
| color: white; |
| border: none; |
| border-radius: 6px; |
| cursor: pointer; |
| font-size: 15px; |
| font-weight: 500; |
| text-decoration: none; |
| transition: background-color 0.3s; |
| margin-bottom: 20px; |
| } |
| |
| .button:hover { |
| background-color: #2980b9; |
| text-decoration: none; |
| } |
| |
| |
| .support-section { |
| background-color: #ffffff; |
| border-radius: 8px; |
| padding: 25px; |
| margin-bottom: 30px; |
| box-shadow: 0 2px 10px rgba(0,0,0,0.05); |
| } |
| |
| .support-section h2 { |
| color: #2c3e50; |
| margin-top: 0; |
| margin-bottom: 20px; |
| font-size: 22px; |
| border-bottom: 2px solid #f0f0f0; |
| padding-bottom: 10px; |
| } |
| |
| .support-section p { |
| margin-bottom: 20px; |
| font-size: 16px; |
| line-height: 1.7; |
| color: #555; |
| } |
| |
| a { |
| color: #3498db; |
| text-decoration: none; |
| transition: color 0.3s; |
| } |
| |
| a:hover { |
| color: #2980b9; |
| text-decoration: underline; |
| } |
| |
| |
| .footer { |
| text-align: center; |
| padding: 20px; |
| color: #7f8c8d; |
| font-size: 14px; |
| margin-top: 30px; |
| } |
| </style> |
| </head> |
| <body> |
| |
| <div class="header"> |
| <a href="https://aetheris.ai/" target="_blank"> |
| <img src="https://huggingface.co/spaces/aetheris-ai/aibom-generator/resolve/main/templates/images/AetherisAI-logo.png" alt="Aetheris AI Logo"> |
| </a> |
| |
| <div class="header-content"> |
| <h1>AI SBOM Generator</h1> |
| </div> |
| </div> |
| |
| <div class="container"> |
| |
| <div class="error-section"> |
| <h2>Error Generating AI SBOM</h2> |
| <div class="error-message"> |
| <p>{{ error }}</p> |
| </div> |
| <a href="/" class="button">Try Again</a> |
| </div> |
| |
| |
| <div class="support-section"> |
| <h2>Need Help?</h2> |
| <p>If the error persists, please log an issue on our <a href="https://github.com/aetheris-ai/aibom-generator/issues" target="_blank" rel="noopener noreferrer">GitHub issues page</a>. Include the error message above and any additional details that might help us troubleshoot the problem.</p> |
| </div> |
| |
| |
| <div class="content-section" style="text-align: center;> |
| <!-- Display the SBOM count --> |
| <div class="sbom-count">🚀 Generated AI SBOMs using this tool: <strong>{{ sbom_count if sbom_count else 'N/A' }}</strong></div> |
| </div> |
| |
| |
| <div class="footer"> |
| <p>© 2025 AI SBOM Generator | Powered by Aetheris AI</p> |
| </div> |
| </div> |
| </body> |
| </html> |
|
|