librepages/templates/pages/dash/sites/forms/view.html

35 lines
965 B
HTML

{% extends 'base' %}{% block title %} View Data {% endblock title %} {% block nav
%} {% include "auth_nav" %} {% endblock nav %} {% block main %}
<main class="sites__main">
<div class="add-site__container">
<section>
{% for submission in payload.submissions %}
<table>
<thead>
<tr>
{% for title in submission.value.titles %}
<th>{{ title }}</th>
{% endfor %}
<th>Time</th>
</tr>
</thead>
{% for row in submission.value.rows %}
<tbody>
<tr>
{% for value in row %}
<th>{{ value }}</th>
{% endfor %}
<th>{{ submission.time }}</th>
</tr>
</tbody>
{% endfor %}
</table>
{% endfor %}
</section>
<a href="{{payload.next_page}}">Next ></a>
</div>
</main>
{% endblock main %}