Skip to content

Commit

Permalink
Revert "fix: jquery & bootstrap versions upgrade to fix vulnerables (…
Browse files Browse the repository at this point in the history
…jquery v…"

This reverts commit 7032adb.
  • Loading branch information
fabclmnt committed Jul 9, 2024
1 parent eb32b6b commit 5164e0b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def create_html_assets(config: Settings, output_file: Path) -> None:
else:
css.append("wrapper/assets/bootstrap.min.css")
css.append("wrapper/assets/bootstrap-theme.min.css")
js.append("wrapper/assets/jquery-3.7.0.min.js")
js.append("wrapper/assets/jquery-1.12.4.min.js")
js.append("wrapper/assets/bootstrap.min.js")

css.append("wrapper/assets/style.css")
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{% if offline %}
{% if inline %}
<script>
{% include 'wrapper/assets/jquery-3.7.0.min.js' %}
{% include 'wrapper/assets/jquery-1.12.4.min.js' %}
{% include 'wrapper/assets/bootstrap.min.js' %}
</script>
<script>
{% include 'wrapper/assets/script.js' %}
</script>
{% else %}
<script src="{{ assets_prefix }}/js/jquery-3.7.0.min.js"></script>
<script src="{{ assets_prefix }}/js/jquery-1.12.4.min.js"></script>
<script src="{{ assets_prefix }}/js/bootstrap.min.js"></script>
<script src="{{ assets_prefix }}/js/script.js"></script>
{% endif %}
{% else %}
<script src="https://code.jquery.com/jquery-3.7.0.min.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script>
{% include 'wrapper/assets/script.js' %}
Expand Down

0 comments on commit 5164e0b

Please sign in to comment.