a1c00l commited on
Commit
13903a5
·
verified ·
1 Parent(s): 5be77f1

Update templates/result.html

Browse files
Files changed (1) hide show
  1. templates/result.html +13 -10
templates/result.html CHANGED
@@ -152,6 +152,9 @@
152
  line-height: 20px;
153
  color: white;
154
  font-size: 12px;
 
 
 
155
  }
156
  .progress-excellent {
157
  background-color: #4CAF50; /* Green */
@@ -413,7 +416,7 @@
413
  <body>
414
  <!-- Header with logo and title -->
415
  <div class="header">
416
- <img src="templates/images/Aetheris AI (logo).png" alt="Aetheris AI Logo">
417
  <h1>AI SBOM Generator</h1>
418
  </div>
419
 
@@ -637,15 +640,6 @@
637
  </div>
638
  {% endif %}
639
 
640
- <!-- Validation Penalty Explanation -->
641
- {% if completeness_score.validation_penalty %}
642
- <div class="validation-penalty-info">
643
- <h4>About the Validation Penalty</h4>
644
- <p>Your score includes a penalty because the AIBOM has schema validation issues. These are structural problems that don't comply with the CycloneDX specification requirements.</p>
645
- <p><strong>How to fix this:</strong> Look at the "Fix Validation Issues" section in the recommendations below. Fixing these issues will remove the penalty and improve your overall score.</p>
646
- </div>
647
- {% endif %}
648
-
649
  <!-- Total Score with Progress Bar -->
650
  <div class="total-score-container">
651
  <div class="total-score">{{ completeness_score.total_score|round(1) }}/100</div>
@@ -673,6 +667,15 @@
673
  </div>
674
  </div>
675
 
 
 
 
 
 
 
 
 
 
676
  <!-- Section Scores with Progress Bars and Tooltips -->
677
  <table class="score-table">
678
  <thead>
 
152
  line-height: 20px;
153
  color: white;
154
  font-size: 12px;
155
+ display: flex;
156
+ align-items: center;
157
+ justify-content: center;
158
  }
159
  .progress-excellent {
160
  background-color: #4CAF50; /* Green */
 
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
 
 
640
  </div>
641
  {% endif %}
642
 
 
 
 
 
 
 
 
 
 
643
  <!-- Total Score with Progress Bar -->
644
  <div class="total-score-container">
645
  <div class="total-score">{{ completeness_score.total_score|round(1) }}/100</div>
 
667
  </div>
668
  </div>
669
 
670
+ <!-- Validation Penalty Explanation -->
671
+ {% if completeness_score.validation_penalty %}
672
+ <div class="validation-penalty-info">
673
+ <h4>About the Validation Penalty</h4>
674
+ <p>Your score includes a penalty because the AIBOM has schema validation issues. These are structural problems that don't comply with the CycloneDX specification requirements.</p>
675
+ <p><strong>How to fix this:</strong> Look at the "Fix Validation Issues" section in the recommendations below. Fixing these issues will remove the penalty and improve your overall score.</p>
676
+ </div>
677
+ {% endif %}
678
+
679
  <!-- Section Scores with Progress Bars and Tooltips -->
680
  <table class="score-table">
681
  <thead>