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.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/sbhs/templates/dashboard/all_images.html b/sbhs/templates/dashboard/all_images.html
index 5a7b74e..8bc6e81 100644
--- a/sbhs/templates/dashboard/all_images.html
+++ b/sbhs/templates/dashboard/all_images.html
@@ -6,13 +6,14 @@
{% block main %}
<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 %}
+ <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">