a1c00l commited on
Commit
a2fa378
·
verified ·
1 Parent(s): 5f26ab1

Update templates/error.html

Browse files
Files changed (1) hide show
  1. templates/error.html +55 -11
templates/error.html CHANGED
@@ -1,22 +1,66 @@
1
  <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
4
- <!-- Header with logo and title -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  <div class="header">
6
  <div class="header" style="display: flex; align-items: center; gap: 10px;">
7
  <a href="https://aetheris.ai/" target="_blank">
8
  <img src="https://huggingface.co/spaces/aetheris-ai/aibom-generator/resolve/main/templates/images/AetherisAI-logo.png" alt="Aetheris AI Logo" style="height: 60px;">
9
  </a>
10
- <h1 style="margin: 0;">AI SBOM Generator</h1>
11
- </div>
 
 
 
 
 
 
 
 
12
  </div>
13
- <meta charset="UTF-8">
14
- <title>Error Generating AI SBOM</title>
15
- </head>
16
- <body>
17
- <a href="/">Try again</a>
18
- <br>
19
- <h2>Error generating AI SBOM</h2>
20
- <p>{{ error }}</p>
21
  </body>
22
  </html>
 
1
  <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
4
+ <meta charset="UTF-8">
5
+ <title>Error Generating AI SBOM</title>
6
+ <style>
7
+ body { font-family: Arial, sans-serif; margin: 0; padding: 0; }
8
+ .container { margin: 0 20px; }
9
+
10
+ /* Header styling */
11
+ .header {
12
+ background-color: #f8f9fa;
13
+ padding: 15px 20px;
14
+ border-bottom: 1px solid #e9ecef;
15
+ display: flex;
16
+ align-items: center;
17
+ margin-bottom: 20px;
18
+ }
19
+ .header img {
20
+ height: 40px;
21
+ margin-right: 15px;
22
+ }
23
+ .header h1 {
24
+ margin: 0;
25
+ font-size: 24px;
26
+ color: #333;
27
+ }
28
+
29
+ /* Error styling */
30
+ .error-message {
31
+ background-color: #ffebee;
32
+ border-left: 4px solid #f44336;
33
+ padding: 15px;
34
+ border-radius: 4px;
35
+ margin: 20px 0;
36
+ }
37
+
38
+ a {
39
+ color: #3498db;
40
+ text-decoration: none;
41
+ }
42
+ a:hover {
43
+ text-decoration: underline;
44
+ }
45
+ </style>
46
+ </head>
47
+ <body>
48
+ <!-- Header with logo and title -->
49
  <div class="header">
50
  <div class="header" style="display: flex; align-items: center; gap: 10px;">
51
  <a href="https://aetheris.ai/" target="_blank">
52
  <img src="https://huggingface.co/spaces/aetheris-ai/aibom-generator/resolve/main/templates/images/AetherisAI-logo.png" alt="Aetheris AI Logo" style="height: 60px;">
53
  </a>
54
+ <h1 style="margin: 0;">AI SBOM Generator</h1>
55
+ </div>
56
+ </div>
57
+
58
+ <div class="container">
59
+ <a href="/">Try again</a>
60
+ <h2>Error generating AI SBOM</h2>
61
+ <div class="error-message">
62
+ <p>{{ error }}</p>
63
+ </div>
64
  </div>
 
 
 
 
 
 
 
 
65
  </body>
66
  </html>