summaryrefslogtreecommitdiff
path: root/sbhs/templates/dashboard/all_images.html
diff options
context:
space:
mode:
authorCruiseDevice2018-11-01 17:35:00 +0530
committerCruiseDevice2018-11-01 17:35:00 +0530
commit4050ec641b8cc4fef8d8a757c27bde0802b5c3e9 (patch)
tree68698c8b3da1a0b2a4a6540f667792192601e802 /sbhs/templates/dashboard/all_images.html
parent0bb3e3efd22a5a0f48c88720f6142bc3f49bc349 (diff)
downloadsbhs_server-4050ec641b8cc4fef8d8a757c27bde0802b5c3e9.tar.gz
sbhs_server-4050ec641b8cc4fef8d8a757c27bde0802b5c3e9.tar.bz2
sbhs_server-4050ec641b8cc4fef8d8a757c27bde0802b5c3e9.zip
Update documentation in README and Add webcam features in SBHS
- Admin can view all SBHS live feeds. - User can view their allocated live feed. - Request machine change modal fix in base.html.
Diffstat (limited to 'sbhs/templates/dashboard/all_images.html')
-rw-r--r--sbhs/templates/dashboard/all_images.html18
1 files changed, 16 insertions, 2 deletions
diff --git a/sbhs/templates/dashboard/all_images.html b/sbhs/templates/dashboard/all_images.html
index 102a93b..5a7b74e 100644
--- a/sbhs/templates/dashboard/all_images.html
+++ b/sbhs/templates/dashboard/all_images.html
@@ -1,9 +1,23 @@
{% extends 'dashboard/dashboard_index.html' %}
+{% load staticfiles %}
{% block title %}
All Images
{% endblock %}
{% block main %}
- <div>
- <h4>All Images</h4>
+ <div class = "container">
+ <div class = "row">
+ {% for b in boards %}
+ <div class="span4" style="text-align: center; outline: 1px solid black">
+ <img src="{% static b.image_link %}" alt="{{ b.mid }}" style="width:90%;">
+ <br>
+ Board MID: {{ b.mid }}
+ </div>
+ {% endfor %}
</div>
+ </div>
+<script type="text/javascript">
+ var timer = setInterval(function(){
+ location.reload();
+ }, 25000);
+</script>
{% endblock %} \ No newline at end of file