diff --git a/app/static/js/Animations.js b/app/static/js/Animations.js index dcbe3f578569a5a9d48c2f7268dc4de287dd5b8c..b7b738fdc41ea0a293c3057aa80981e72eababb9 100644 --- a/app/static/js/Animations.js +++ b/app/static/js/Animations.js @@ -1,5 +1,5 @@ class Animations { - static async pulseHighlight(statusElement, ms) { + static async pulse(statusElement, ms) { statusElement.classList.add("pulse"); await new Promise(resolve => setTimeout(resolve, ms)); statusElement.classList.remove("pulse"); diff --git a/app/templates/base.html.j2 b/app/templates/base.html.j2 index 6391f6c83fd490458f7661a986f32b9cfffd8e4d..3b1849e24089ec71b3bbbb3c9087fbd985e9816f 100644 --- a/app/templates/base.html.j2 +++ b/app/templates/base.html.j2 @@ -11,6 +11,7 @@ <link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='fonts/material-icons/material-icons.css') }}"> <link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='css/materialize.min.css') }}" media="screen,projection"/> <link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='css/opaque.css') }}" media="screen,projection"/> + <script src="{{ url_for('static', filename='js/Animations.js') }}"></script> <script src="{{ url_for('static', filename='js/jsonpatch.min.js') }}"></script> <script src="{{ url_for('static', filename='js/socket.io.js') }}"></script> <script src="{{ url_for('static', filename='js/list.js') }}"></script>