Skip to content

Commit

Permalink
chg: [website] Reverted the changes in fbcf09d . It was a bad choice.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Nov 18, 2024
1 parent 808be77 commit 011e294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/web/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ <h5>All the vulnerabilites related to {{vendor}} - {{product}}</h5>
document.getElementById("sightingsChartContainerSeen").style.display = 'none';
} else {
document.getElementById("sightingsChartContainerSeen").style.display = 'block';
drawBarChartHomePage(result.data, 'exploitedVulnsChartSeen', 'Mentions over the past week.', 'hsl(0, 70%, 65%)');
drawBarChartHomePage(result.data, 'exploitedVulnsChartSeen', 'Mentions over the past week.', 'rgba(75, 192, 75, 0.2)');
}
})
.catch((error) => {
Expand All @@ -308,7 +308,7 @@ <h5>All the vulnerabilites related to {{vendor}} - {{product}}</h5>
document.getElementById("sightingsChartContainerExploited").style.display = 'none';
} else {
document.getElementById("sightingsChartContainerExploited").style.display = 'block';
drawBarChartHomePage(result.data, 'exploitedVulnsChartExploited', 'Exploitations over the past week.', 'hsl(0, 70%, 35%)');
drawBarChartHomePage(result.data, 'exploitedVulnsChartExploited', 'Exploitations over the past week.', 'rgba(255, 99, 132, 0.2)');
}
})
.catch((error) => {
Expand All @@ -322,7 +322,7 @@ <h5>All the vulnerabilites related to {{vendor}} - {{product}}</h5>
document.getElementById("sightingsChartContainerConfirmed").style.display = 'none';
} else {
document.getElementById("sightingsChartContainerConfirmed").style.display = 'block';
drawBarChartHomePage(result.data, 'exploitedVulnsChartConfirmed', 'Confirmations over the past week.', 'hsl(0, 70%, 50%)');
drawBarChartHomePage(result.data, 'exploitedVulnsChartConfirmed', 'Confirmations over the past week.', 'rgba(75, 192, 192, 0.2)');
}
})
.catch((error) => {
Expand Down

0 comments on commit 011e294

Please sign in to comment.