diff options
author | coderick14 | 2017-05-17 15:40:18 +0530 |
---|---|---|
committer | coderick14 | 2017-05-17 15:41:00 +0530 |
commit | a1e0a5502f04da68b6a9ca8508dda3f9d7e1d055 (patch) | |
tree | 20181e6b1936f50ad48d8e35720d64a37566f558 /templates/webcam | |
parent | 6f4a84c1e58ff4d54aab94cbee26e995328b05b8 (diff) | |
download | SBHS-2018-Rpi-a1e0a5502f04da68b6a9ca8508dda3f9d7e1d055.tar.gz SBHS-2018-Rpi-a1e0a5502f04da68b6a9ca8508dda3f9d7e1d055.tar.bz2 SBHS-2018-Rpi-a1e0a5502f04da68b6a9ca8508dda3f9d7e1d055.zip |
Upgrade to Django 1.11
- Database integration yet to be tested
Diffstat (limited to 'templates/webcam')
-rw-r--r-- | templates/webcam/show_video.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/webcam/show_video.html b/templates/webcam/show_video.html index c88cc9a..e3b49ca 100644 --- a/templates/webcam/show_video.html +++ b/templates/webcam/show_video.html @@ -36,7 +36,7 @@ {% if user.is_admin %} setInterval(function() { var refresh = new Image(); - refresh.src = "{% url 'sbhs_server.webcam.views.reload' mid %}"; + refresh.src = "{% url 'webcam_reload_image' mid %}"; document.getElementById("videoImage").src = "{% static image_link %}?" + new Date().getTime(); }, 2000); {% else %} @@ -47,7 +47,7 @@ window.image_reloader = function() { if (!button.disabled) { button.setAttribute("disabled", true); var refresh = new Image(); - refresh.src = "{% url 'sbhs_server.webcam.views.reload' mid %}"; + refresh.src = "{% url 'webcam_reload_image' mid %}"; document.getElementById("videoImage").src = "{% static image_link %}?" + new Date().getTime(); setTimeout(function(){ button.removeAttribute('disabled'); |