summaryrefslogtreecommitdiff
path: root/sbhs/templates/dashboard/all_images.html
blob: 8bc6e819f12ef68e743477c8e0b8c4c6d1d8a0ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends 'dashboard/dashboard_index.html' %}
{% load staticfiles %}
{% block title %}
    All Images
{% endblock %}
{% block main %}
    <div class = "container">
        <div class = "row">
            <table>
            {% for board in image_links %}
                <tr>
                    <td>{{board.board.mid}}</td>
                   <td><img src="{% static board.image_link %}"/></td>
                </tr> 
        {% endfor %}
            </table>
    </div>
  </div>
<script type="text/javascript">
    var timer = setInterval(function(){
        location.reload();
    }, 25000);
</script>
{% endblock %}