Skip to content

Commit 8baecf6

Browse files
committed
Add notice to web pages #277
This is the combined Apache and CC-BY-SA notice Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent b2b8269 commit 8baecf6

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

vulnerabilities/templates/api_doc.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,16 @@
1717
<body>
1818
<redoc spec-url="{% static 'api_doc/api_schema.yaml' %}"></redoc>
1919
<script src="{% static 'api_doc/redoc.standalone.js' %}"> </script>
20+
21+
<footer class="footer">
22+
<div class="content has-text-centered">
23+
<p>
24+
<strong>VulnerableCode</strong> is free software by <a href="https://github.com/nexB/vulnerablecode"> nexB Inc. and others</a>.
25+
The source code is licensed under <a href="https://github.com/nexB/vulnerablecode/blob/main/apache-2.0.LICENSE">Apache-2.0</a>.
26+
The data is licensed under <a href="https://github.com/nexB/vulnerablecode/blob/main/cc-by-sa-4.0.LICENSE">CC-BY-SA-4.0</a>.
27+
</p>
28+
</div>
29+
</footer>
30+
2031
</body>
2132
</html>

vulnerabilities/templates/base.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@
4141
<footer class="footer">
4242
<div class="content has-text-centered">
4343
<p>
44-
<strong>VulnerableCode</strong> by <a href="https://github.com/nexB/vulnerablecode"> nexB Inc. and others</a>. The source code is licensed
45-
<a href="https://github.com/nexB/vulnerablecode/blob/develop/LICENSE">Apache 2.0</a>
44+
<strong>VulnerableCode</strong> is free software by <a href="https://github.com/nexB/vulnerablecode"> nexB Inc. and others</a>.
45+
The source code is licensed under <a href="https://github.com/nexB/vulnerablecode/blob/main/apache-2.0.LICENSE">Apache-2.0</a>.
46+
The data is licensed under <a href="https://github.com/nexB/vulnerablecode/blob/main/cc-by-sa-4.0.LICENSE">CC-BY-SA-4.0</a>.
4647
</p>
4748
</div>
4849
</footer>

vulnerabilities/templates/rest_framework/api.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,14 @@
2525
<a href="/">Back to app</a>
2626
</li>
2727
{{ block.super }}
28-
{% endblock %}
28+
{% endblock %}
29+
30+
<footer class="footer">
31+
<div class="content has-text-centered">
32+
<p>
33+
<strong>VulnerableCode</strong> is free software by <a href="https://github.com/nexB/vulnerablecode"> nexB Inc. and others</a>.
34+
The source code is licensed under <a href="https://github.com/nexB/vulnerablecode/blob/main/apache-2.0.LICENSE">Apache-2.0</a>.
35+
The data is licensed under <a href="https://github.com/nexB/vulnerablecode/blob/main/cc-by-sa-4.0.LICENSE">CC-BY-SA-4.0</a>.
36+
</p>
37+
</div>
38+
</footer>

0 commit comments

Comments
 (0)