separate tables and images
diff --git a/web_app/templates/table.html b/web_app/templates/table.html
index dedb38b..75cef20 100644
--- a/web_app/templates/table.html
+++ b/web_app/templates/table.html
@@ -9,29 +9,21 @@
<body>
{% block body %}
<h1 align="center">Lab name goes here:-)</h1>
- <div class="table-responsive">
<table class="table" width="600">
- <div id="images">
- {% for url in urls %}
- <img src="{{ url }}">
+ {% for row in table %}
+ <tr>
+ {% for data in row %}
+ <td>
+ {{ data }}
+ </td>
+ {% endfor %}
+ </tr>
{% endfor %}
- </div>
- {% for header in headers %}
- <th>
- <h2>{{ header }}</h2>
- </th>
- {% endfor %}
- {% for row in table %}
- <tr>
- {% for data in row %}
- <td>
- {{ data }}
- </td>
- {% endfor %}
- </tr>
- {% endfor %}
</table>
</div>
+ <h2 align="center">
+ <a href="{{ back_url }}">Back</a>
+ </h2>
{% endblock %}
</body>
</html>
\ No newline at end of file