mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-21 00:29:21 +01:00
reorganized things, overall improvements to the report
Former-commit-id: 5ab70885e895e7f2498ed064433896998c21f997
This commit is contained in:
@@ -166,7 +166,7 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
|
|||||||
}
|
}
|
||||||
.modal-button {
|
.modal-button {
|
||||||
padding:1px;
|
padding:1px;
|
||||||
float:right;
|
float:left;
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
border: 1px solid #555555;
|
border: 1px solid #555555;
|
||||||
color:#555555;
|
color:#555555;
|
||||||
@@ -178,6 +178,32 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
|
|||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
.modal-button:hover {
|
.modal-button:hover {
|
||||||
|
padding:1px;
|
||||||
|
float:left;
|
||||||
|
background-color: #dddddd;
|
||||||
|
border: 1px solid #333333;
|
||||||
|
color:#333333;
|
||||||
|
text-decoration:none;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
-khtml-border-radius: 3px;
|
||||||
|
-o-border-radius: 3px;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
.modal-button-right {
|
||||||
|
padding:1px;
|
||||||
|
float:right;
|
||||||
|
background-color: #eeeeee;
|
||||||
|
border: 1px solid #555555;
|
||||||
|
color:#555555;
|
||||||
|
text-decoration:none;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
-khtml-border-radius: 3px;
|
||||||
|
-o-border-radius: 3px;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
.modal-button-right:hover {
|
||||||
padding:1px;
|
padding:1px;
|
||||||
float:right;
|
float:right;
|
||||||
background-color: #dddddd;
|
background-color: #dddddd;
|
||||||
@@ -429,28 +455,30 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
|
|||||||
.nothidden {
|
.nothidden {
|
||||||
display:block;
|
display:block;
|
||||||
}
|
}
|
||||||
|
.infolink {
|
||||||
|
text-decoration:none;
|
||||||
|
color: blue;
|
||||||
|
float:right;
|
||||||
|
}
|
||||||
|
.infolink:hover {
|
||||||
|
text-decoration:none;
|
||||||
|
color: blue;
|
||||||
|
float:right;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="modal-background"></div>
|
<div id="modal-background"></div>
|
||||||
<div id="modal-content">
|
<div id="modal-content">
|
||||||
<div>Press CTR-C to copy XML<button id="modal-add-header" class="modal-button">Complete XML Doc</button></div>
|
<div>Press CTR-C to copy XML <a href="http://jeremylong.github.io/DependencyCheck/suppression.html" class="infolink" target="_blank" title="Help with suppressing false positives">[help]</a></div>
|
||||||
<textarea id="modal-text" cols="50" rows="10"></textarea><br/>
|
<textarea id="modal-text" cols="50" rows="10"></textarea><br/>
|
||||||
<button id="modal-close" class="modal-button">Close</button>
|
<button id="modal-add-header" class="modal-button">Complete XML Doc</button><button id="modal-close" class="modal-button-right">Close</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h1>Dependency Report</h1>
|
<h1>Dependency Report</h1>
|
||||||
]]#
|
]]#
|
||||||
<h2 class="sectionheader white">Project: $esc.html($applicationName)</h2>
|
<h2 class="sectionheader white">Project: $esc.html($applicationName)</h2>
|
||||||
<div class="sectioncontent">Report Generated On: $date<br/><br/>
|
<div class="sectioncontent">
|
||||||
Scan Information (<a href="#" onclick="toggleMore(this);">more</a>):<br/>
|
|
||||||
<ul class="indent">
|
|
||||||
<li><i>dependency-check version</i>: $version</li>
|
|
||||||
<li class="hiddennow nothidden">...</li>
|
|
||||||
#foreach($prop in $properties.getMetaData().entrySet())
|
|
||||||
<li class="hiddenInfo"><i>$esc.html($prop.key)</i>: $esc.html($prop.value)</li>
|
|
||||||
#end
|
|
||||||
</ul><br/>
|
|
||||||
#set($depCount=$dependencies.size())
|
#set($depCount=$dependencies.size())
|
||||||
#set($vulnCount=0)
|
#set($vulnCount=0)
|
||||||
|
|
||||||
@@ -460,8 +488,18 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
|
|||||||
#set($vulnCount=$vulnCount+1)
|
#set($vulnCount=$vulnCount+1)
|
||||||
#end
|
#end
|
||||||
#end
|
#end
|
||||||
Dependencies Scanned: $depCount (<a href="#" onclick="toggleVuln(this)">show all</a>)<br/>
|
Scan Information (<a href="#" onclick="toggleMore(this); return false;">more</a>):<br/>
|
||||||
Vulnerable Dependencies: $vulnCount<br/><br/>
|
<ul class="indent">
|
||||||
|
<li><i>dependency-check version</i>: $version</li>
|
||||||
|
<li><i>Report Generated On</i>: $date</li>
|
||||||
|
<li><i>Dependencies Scanned</i>: $depCount</li>
|
||||||
|
<li><i>Vulnerable Dependencies</i>: $vulnCount</li>
|
||||||
|
<li class="hiddennow nothidden">...</li>
|
||||||
|
#foreach($prop in $properties.getMetaData().entrySet())
|
||||||
|
<li class="hiddenInfo"><i>$esc.html($prop.key)</i>: $esc.html($prop.value)</li>
|
||||||
|
#end
|
||||||
|
</ul><br/>
|
||||||
|
Dependency Display: <a href="#" onclick="toggleVuln(this); return false;">show all</a><br/><br/>
|
||||||
<ul class="indent">
|
<ul class="indent">
|
||||||
#set($lnkcnt=0)
|
#set($lnkcnt=0)
|
||||||
#foreach($dependency in $dependencies)
|
#foreach($dependency in $dependencies)
|
||||||
|
|||||||
Reference in New Issue
Block a user