fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ba97be2
)
Add SRI to external JS.
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 30 Oct 2020 12:41:11 +0000
(13:41 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 30 Oct 2020 12:41:11 +0000
(13:41 +0100)
src/catalogue/templates/catalogue/player.html
patch
|
blob
|
history
src/catalogue/templates/catalogue/viewer_base.html
patch
|
blob
|
history
src/wolnelektury/templates/base/app.html
patch
|
blob
|
history
src/wolnelektury/templates/base/superbase.html
patch
|
blob
|
history
diff --git
a/src/catalogue/templates/catalogue/player.html
b/src/catalogue/templates/catalogue/player.html
index
57fb2ec
..
7c3e0b9
100644
(file)
--- a/
src/catalogue/templates/catalogue/player.html
+++ b/
src/catalogue/templates/catalogue/player.html
@@
-67,7
+67,7
@@
</p>
{% endif %}
</p>
{% endif %}
- <script
type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.j
s"></script>
+ <script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js" integrity="sha512-BkBgWiL0N/EFIbLZYGTgbksKG5bS6PtwnWvVk3gccv+KhtK/4wkLxCRGh+kelKiXx7Ey4jfTabLg3AEIPC7ENA==" crossorigin="anonymou
s"></script>
{% javascript "player" %}
</body>
{% javascript "player" %}
</body>
diff --git
a/src/catalogue/templates/catalogue/viewer_base.html
b/src/catalogue/templates/catalogue/viewer_base.html
index
16ad645
..
89c4121
100644
(file)
--- a/
src/catalogue/templates/catalogue/viewer_base.html
+++ b/
src/catalogue/templates/catalogue/viewer_base.html
@@
-59,7
+59,7
@@
</footer>
</div>
</footer>
</div>
- <script
type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.j
s"></script>
+ <script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js" integrity="sha512-BkBgWiL0N/EFIbLZYGTgbksKG5bS6PtwnWvVk3gccv+KhtK/4wkLxCRGh+kelKiXx7Ey4jfTabLg3AEIPC7ENA==" crossorigin="anonymou
s"></script>
{% block js-dependencies %}{% endblock %}
<script type="text/javascript">
var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";
{% block js-dependencies %}{% endblock %}
<script type="text/javascript">
var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";
diff --git
a/src/wolnelektury/templates/base/app.html
b/src/wolnelektury/templates/base/app.html
index
72ca205
..
5bca344
100644
(file)
--- a/
src/wolnelektury/templates/base/app.html
+++ b/
src/wolnelektury/templates/base/app.html
@@
-81,7
+81,7
@@
{% endblock bodycontent %}
{% endblock bodycontent %}
- <script
type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.j
s"></script>
+ <script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js" integrity="sha512-BkBgWiL0N/EFIbLZYGTgbksKG5bS6PtwnWvVk3gccv+KhtK/4wkLxCRGh+kelKiXx7Ey4jfTabLg3AEIPC7ENA==" crossorigin="anonymou
s"></script>
<script type="text/javascript">
var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";
var STATIC_URL = "{{ STATIC_URL }}";
<script type="text/javascript">
var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";
var STATIC_URL = "{{ STATIC_URL }}";
diff --git
a/src/wolnelektury/templates/base/superbase.html
b/src/wolnelektury/templates/base/superbase.html
index
30bfdda
..
a59981e
100644
(file)
--- a/
src/wolnelektury/templates/base/superbase.html
+++ b/
src/wolnelektury/templates/base/superbase.html
@@
-167,7
+167,7
@@
</div>
{% endblock bodycontent %}
</div>
{% endblock bodycontent %}
- <script
type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.j
s"></script>
+ <script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js" integrity="sha512-BkBgWiL0N/EFIbLZYGTgbksKG5bS6PtwnWvVk3gccv+KhtK/4wkLxCRGh+kelKiXx7Ey4jfTabLg3AEIPC7ENA==" crossorigin="anonymou
s"></script>
<script type="text/javascript">
var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";
var STATIC_URL = "{{ STATIC_URL }}";
<script type="text/javascript">
var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";
var STATIC_URL = "{{ STATIC_URL }}";