a1c00l commited on
Commit
ca7742f
·
verified ·
1 Parent(s): 7587c58

Update templates/error.html

Browse files
Files changed (1) hide show
  1. templates/error.html +21 -5
templates/error.html CHANGED
@@ -33,11 +33,23 @@
33
  height: 60px;
34
  margin-right: 15px;
35
  }
 
 
 
 
 
36
  .header h1 {
37
  margin: 0;
38
  font-size: 28px;
39
  color: #2c3e50;
40
  font-weight: 600;
 
 
 
 
 
 
 
41
  }
42
 
43
  /* Content styling */
@@ -162,13 +174,16 @@
162
  </style>
163
  </head>
164
  <body>
165
- <!-- Header with logo and title -->
166
  <div class="header">
167
- <div style="display: flex; align-items: center; gap: 10px;">
168
- <a href="https://aetheris.ai/" target="_blank">
169
- <img src="https://huggingface.co/spaces/aetheris-ai/aibom-generator/resolve/main/templates/images/AetherisAI-logo.png" alt="Aetheris AI Logo">
170
- </a>
 
171
  <h1>AI SBOM Generator</h1>
 
 
172
  </div>
173
  </div>
174
 
@@ -195,3 +210,4 @@
195
  </div>
196
  </body>
197
  </html>
 
 
33
  height: 60px;
34
  margin-right: 15px;
35
  }
36
+ /* Added header-content div for layout */
37
+ .header .header-content {
38
+ display: flex;
39
+ flex-direction: column; /* Stack title and count */
40
+ }
41
  .header h1 {
42
  margin: 0;
43
  font-size: 28px;
44
  color: #2c3e50;
45
  font-weight: 600;
46
+ margin-bottom: 5px; /* Space between title and count */
47
+ }
48
+ /* Added style for sbom-count */
49
+ .header .sbom-count {
50
+ font-size: 14px;
51
+ color: #555;
52
+ font-weight: 500;
53
  }
54
 
55
  /* Content styling */
 
174
  </style>
175
  </head>
176
  <body>
177
+ <!-- Header with logo, title, and SBOM count -->
178
  <div class="header">
179
+ <a href="https://aetheris.ai/" target="_blank">
180
+ <img src="https://huggingface.co/spaces/aetheris-ai/aibom-generator/resolve/main/templates/images/AetherisAI-logo.png" alt="Aetheris AI Logo">
181
+ </a>
182
+ <!-- Added header-content div -->
183
+ <div class="header-content">
184
  <h1>AI SBOM Generator</h1>
185
+ <!-- Display the SBOM count -->
186
+ <div class="sbom-count">Generated AI SBOMs using this tool: <strong>{{ sbom_count if sbom_count else 'N/A' }}</strong></div>
187
  </div>
188
  </div>
189
 
 
210
  </div>
211
  </body>
212
  </html>
213
+