summaryrefslogtreecommitdiff
path: root/sbhs/templates/dashboard/all_images.html
diff options
context:
space:
mode:
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