Skip to content

Commit

Permalink
Add integrity checks for bootstrap-datepicker (#22)
Browse files Browse the repository at this point in the history
* Add integrity checks for bootstrap-datepicker

* Update base.html

* Update base.html
  • Loading branch information
RyanBalfanz authored Aug 6, 2023
1 parent 4534927 commit f700003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dicpick/templates/dicpick/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<base href="/">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.2/css/select2.min.css" integrity="sha512-S1RkECuolGdQWD0oCmmxBDhSy412eTVKms9ZscfHjBT3TiVYz70oD1AgNM/FylUqZ0U/9tDp/XuV1FjZoUoVCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.1/css/bootstrap-datepicker3.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.1/css/bootstrap-datepicker3.min.css" integrity="sha512-QE8nglSHxZkfZB2B8vRIXU55Afm2IHDJ04dWjxV+/ucndAxz+id0q/LZ/cgxVn8XOmo2Zmo0hIolWfjLTMFNLQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="{% static 'css/dicpick.css' %}" />
{% endblock head %}
</head>
Expand Down Expand Up @@ -60,7 +60,7 @@ <h3 class="heading">{% block heading %}{% endblock heading %}</h3>
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.2/js/select2.min.js" integrity="sha512-taB73dM5L3JgciedVi4zU6fYBnX1tbhnWUtc/hdBTSgKIWgQnlNvkJYT4uJiin5GiJ2oXiIxrxqjD0Fy5orCxA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.1/js/bootstrap-datepicker.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.1/js/bootstrap-datepicker.min.js" integrity="sha512-mlYKi4MLOrt2ZlEj1TC4YL+9Za2Ai7swQqB1Bx+MW5ATMIJbLlcQ+kZpCSxeRYRQ4OEnG9eIBv5A9DpWYRVM0w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
{% block extra_js %}
{% endblock extra_js %}
<script src="{% static 'js/dicpick.js' %}"></script>
Expand Down

0 comments on commit f700003

Please sign in to comment.