Message ID | 20231017005921.2618459-3-tim.orling@konsulko.com |
---|---|
State | New |
Headers | show |
Series | JavaScript libraries upgrade for CVEs | expand |
diff --git a/layerindex/static/js/bootstrap.min.js b/layerindex/static/js/boostrap-3.4.1.min.js similarity index 100% rename from layerindex/static/js/bootstrap.min.js rename to layerindex/static/js/boostrap-3.4.1.min.js diff --git a/layerindex/static/js/bootstrap.js b/layerindex/static/js/bootstrap-3.4.1.js similarity index 100% rename from layerindex/static/js/bootstrap.js rename to layerindex/static/js/bootstrap-3.4.1.js diff --git a/templates/base.html b/templates/base.html index e2bafdd..a421c5f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -135,7 +135,7 @@ </div> <script src="{% static "js/jquery-3.7.1.min.js" %}"></script> - <script src="{% static "js/bootstrap.js" %}"></script> + <script src="{% static "js/bootstrap-3.4.1.min.js" %}"></script> {% block scripts %} {% endblock %}
To make it easier to quickly see what version we are using, add the version to the filenames. Also, use minified flavor in templates/base.html Signed-off-by: Tim Orling <tim.orling@konsulko.com> --- .../static/js/{bootstrap.min.js => boostrap-3.4.1.min.js} | 0 layerindex/static/js/{bootstrap.js => bootstrap-3.4.1.js} | 0 templates/base.html | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename layerindex/static/js/{bootstrap.min.js => boostrap-3.4.1.min.js} (100%) rename layerindex/static/js/{bootstrap.js => bootstrap-3.4.1.js} (100%)