Skip to content

Commit

Permalink
Merge pull request #5 from justmd5/master
Browse files Browse the repository at this point in the history
标准化compsoer.json&文件名新增锚点,快速跳转漏洞文件
  • Loading branch information
phith0n authored Jan 16, 2021
2 parents 00f3c03 + d4b6b1b commit cc26b11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"ext-simplexml": "*",
"phpunit/phpunit": "^7.0.0",
"mockery/mockery": "^1.2",
"mikey179/vfsStream": "^1.6"
"mikey179/vfsstream": "^1.6"
}
}
4 changes: 2 additions & 2 deletions src/Chip/Templates/Default/index.twig.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h2 id="files" class="target">扫描文件总览</h2>
<tbody>
{% for filename, data in statistics %}
<tr>
<td>{{ filename }}</td>
<td><a href="#{{ filename }}">{{ filename }}</a></td>
<td>{{ data.critical + data.danger + data.warning + data.info }}</td>
<td>{{ data.critical }}</td>
<td>{{ data.danger }}</td>
Expand All @@ -101,7 +101,7 @@ <h2 id="files" class="target">扫描文件总览</h2>
</div>
<h2 id="vulnerabilities" class="target">扫描漏洞总览</h2>
{% for filename, vuls in vulTable %}
<div class="panel panel-default">
<div id="{{ filename }}" class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">{{ filename }}</h3></div>
<div class="panel-body">
<div class="table-responsive">
Expand Down

0 comments on commit cc26b11

Please sign in to comment.