Update security scan col in repo view to use donut chart and better language
This commit is contained in:
parent
af743b156b
commit
4b51fa5e5b
9 changed files with 113 additions and 20 deletions
|
@ -110,6 +110,19 @@
|
|||
.repo-panel-tags-element .security-scan-col .has-vulns.Defcon1 .highest-vuln {
|
||||
}
|
||||
|
||||
|
||||
.repo-panel-tags-element .security-scan-col .has-vulns {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.repo-panel-tags-element .security-scan-col .has-vulns .donut-chart {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.repo-panel-tags-element .security-scan-col .has-vulns a {
|
||||
color: ablack;
|
||||
}
|
||||
|
||||
.repo-panel-tags-element .other-vulns {
|
||||
color: black;
|
||||
}
|
||||
|
|
5
static/css/directives/ui/donut-chart.css
Normal file
5
static/css/directives/ui/donut-chart.css
Normal file
|
@ -0,0 +1,5 @@
|
|||
.donut-chart-element svg {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
vertical-align: middle;
|
||||
}
|
|
@ -21,6 +21,7 @@
|
|||
width: 40px;
|
||||
text-align: center;
|
||||
color: black !important;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.image-link .id-label.cas {
|
||||
|
|
Reference in a new issue