aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-16 18:18:22 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-20 16:15:23 -0700
commitf35ad96bf4eebfd1ff663549cfaaf42a191526a2 (patch)
treeaf65d0ff840cfc8836ca42c1958b972a33b45b6b
parent08b4d7aaab74a5d1efdb619e4cd031cdb9704c19 (diff)
downloadfatcat-scholar-f35ad96bf4eebfd1ff663549cfaaf42a191526a2.tar.gz
fatcat-scholar-f35ad96bf4eebfd1ff663549cfaaf42a191526a2.zip
html: remove already-disabled jquery and Javascript license
-rw-r--r--fatcat_scholar/templates/base.html38
1 files changed, 0 insertions, 38 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index 9ba3510..c6841c6 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -9,33 +9,6 @@
{%- elif settings.SCHOLAR_ENV == "qa" -%}
<meta http-equiv="onion-location" content="https://scholar-qa.archivev3qli37bju4rlh27glh24lljyezwxf4pokmrdbpefjlcrp5id.onion">
{%- endif %}
- {# no Javascript currently
- <script>
- /*
- TODO: audit this license statement
-
- @licstart The following is the entire license notice for the JavaScript code in this page.
-
- Copyright (C) 2020 Internet Archive
-
- The JavaScript code in this page is free software: you can
- redistribute it and/or modify it under the terms of the GNU Affero
- General Public License as published by the Free Software
- Foundation, either version 3 of the License, or (at your option)
- any later version. The code is distributed WITHOUT ANY WARRANTY;
- without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
-
- As additional permission under GNU AGPL version 3 section 7, you
- may distribute non-source (e.g., minimized or compacted) forms of
- that code without the copy of the GNU AGPL normally required by
- section 4, provided you include this license notice and a URL
- through which recipients can access the Corresponding Source.
-
- @licend The above is the entire license notice for the JavaScript code in this page.
- */
- </script>
- #}
<title>
{%- if settings.SCHOLAR_ENV != "prod" -%}[{{ settings.SCHOLAR_ENV|upper }}] {% endif -%}
{%- block title -%}scholar.archive.org{%- endblock %}
@@ -306,17 +279,6 @@
</div>
</footer>
-{# don't actually need Javascript! at least so far
-<script
- src="https://code.jquery.com/jquery-3.1.1.min.js"
- integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
- crossorigin="anonymous">
-</script>
-<script
- src="https://cdn.jsdelivr.net/npm/semantic-ui@2.3.2/dist/semantic.min.js"
- crossorigin="anonymous">
-</script>
-#}
<script>
// when search is submitted, have submit button animate
document.getElementById("search_form").onsubmit = function(){