a1c00l commited on
Commit
abb3218
·
verified ·
1 Parent(s): 31f5635

Update templates/result.html

Browse files
Files changed (1) hide show
  1. templates/result.html +3 -14
templates/result.html CHANGED
@@ -192,18 +192,7 @@
192
  color: white;
193
  font-size: 0.8em;
194
  margin-left: 5px;
195
- }
196
- .label-excellent {
197
- background-color: #4CAF50;
198
- }
199
- .label-good {
200
- background-color: #2196F3;
201
- }
202
- .label-fair {
203
- background-color: #FF9800;
204
- }
205
- .label-poor {
206
- background-color: #f44336;
207
  }
208
  .total-score-container {
209
  display: flex;
@@ -416,7 +405,7 @@
416
  <body>
417
  <!-- Header with logo and title -->
418
  <div class="header">
419
- <img src="/static/images/Aetheris AI (logo).png" alt="Aetheris AI Logo">
420
  <h1>AI SBOM Generator</h1>
421
  </div>
422
 
@@ -661,7 +650,7 @@
661
  {% endif %}
662
 
663
  <div class="progress-bar {{ score_class }}" style="width: {{ score_percent }}%">
664
- {{ score_percent|int }}% <span class="score-label label-{{ score_class|replace('progress-', '') }}">{{ score_label }}</span>
665
  </div>
666
  </div>
667
  </div>
 
192
  color: white;
193
  font-size: 0.8em;
194
  margin-left: 5px;
195
+ background-color: transparent; /* Make background transparent */
 
 
 
 
 
 
 
 
 
 
 
196
  }
197
  .total-score-container {
198
  display: flex;
 
405
  <body>
406
  <!-- Header with logo and title -->
407
  <div class="header">
408
+ <img src="https://huggingface.co/spaces/aetheris-ai/aibom-generator/blob/main/templates/images/AetherisAI(logo).png" alt="Aetheris AI Logo">
409
  <h1>AI SBOM Generator</h1>
410
  </div>
411
 
 
650
  {% endif %}
651
 
652
  <div class="progress-bar {{ score_class }}" style="width: {{ score_percent }}%">
653
+ {{ score_percent|int }}% {{ score_label }}
654
  </div>
655
  </div>
656
  </div>