Add defcon1 banner

Fixes #771
This commit is contained in:
Joseph Schorr 2015-11-20 16:13:50 -05:00
parent de9a0e51d3
commit 666114dea4
3 changed files with 20 additions and 2 deletions

View file

@ -18,6 +18,13 @@
<!-- Normal View -->
<div ng-show="!showingHistory">
<div class="co-alert co-alert-danger" ng-if="hasDefcon1">
One or more of your tags has an <strong>extremely critical</strong> vulnerability which should be addressed immediately:
<a href="{{ vuln.Link }}" ng-repeat="(key, vuln) in defcon1" style="margin-left: 10px;" target="_blank">
{{ vuln.ID }}
</a>
</div>
<div class="co-check-bar">
<span class="cor-checkable-menu" controller="checkedTags">
<div class="cor-checkable-menu-item" item-filter="allTagFilter">