Skip to content

Commit 6190e44

Browse files
authored
Merge pull request #948 from nexB/947-add-api-item-to-navbar
Add API link/info to navbar
2 parents 013ba1d + e3985b4 commit 6190e44

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

vulnerabilities/templates/navbar.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@
1818
</div>
1919
</div>
2020
<div class="navbar-end mr-3">
21+
<div class="navbar-item navbar-item is-cursor-help">
22+
<div class="dropdown is-right is-hoverable ">
23+
<div class="dropdown-trigger has-text-grey-light">
24+
API
25+
</div>
26+
<div class="dropdown-menu navbar-hover-div" role="menu">
27+
<div class="dropdown-content">
28+
<div class="dropdown-item about-hover-div">
29+
If you want to try the JSON REST API for VulnerableCode.io, please send an email to <a href="mailto:[email protected]">[email protected]</a> with "VulnerableCode API Key" in the email title. API access is limited to a maximum of 1000 package-versions per request.
30+
</div>
31+
</div>
32+
</div>
33+
</div>
34+
</div>
2135
<div class="navbar-item navbar-item is-cursor-help">
2236
<div class="dropdown is-right is-hoverable ">
2337
<div class="dropdown-trigger has-text-grey-light">
@@ -46,7 +60,6 @@
4660
Source code and issues at <a href="https://github.com/nexB/vulnerablecode">https://github.com/nexB/vulnerablecode</a>
4761
</li>
4862
</ul>
49-
If you want to try the JSON REST API, please send a note to <a href="mailto:[email protected]">[email protected]</a> to request an API key for testing.
5063
</div>
5164
</div>
5265
</div>

0 commit comments

Comments
 (0)