|
@@ -29,29 +29,31 @@
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endwith %}
|
|
{% endwith %}
|
|
<h1>Votes</h1>
|
|
<h1>Votes</h1>
|
|
- <table class="table table-striped table-sm">
|
|
|
|
- <thead>
|
|
|
|
- <tr>
|
|
|
|
- <th></th>
|
|
|
|
- <th>Naam</th>
|
|
|
|
- <th>Start</th>
|
|
|
|
- <th>Eindigt</th>
|
|
|
|
- <th>Aangemaakt door</th>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody>
|
|
|
|
- {% for ballot in ballots %}
|
|
|
|
- <tr>
|
|
|
|
- <td>
|
|
|
|
- <a href="{{ url_for('vote.public_view', ballot_id=ballot.id) }}"><button class="btn btn-secondary btn-sm">View</button></a>
|
|
|
|
- </td>
|
|
|
|
- <td>{{ ballot.name }}</td>
|
|
|
|
- <td>{{ ballot.start_at }}</td>
|
|
|
|
- <td>{{ ballot.end_at }}</td>
|
|
|
|
- <td>{{ ballot.user.name }}</td>
|
|
|
|
- </tr>
|
|
|
|
- {%- endfor -%}
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
|
|
+ <div class="table-responsive">
|
|
|
|
+ <table class="table table-striped table-sm">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th></th>
|
|
|
|
+ <th>Naam</th>
|
|
|
|
+ <th>Start</th>
|
|
|
|
+ <th>Eindigt</th>
|
|
|
|
+ <th>Aangemaakt door</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody>
|
|
|
|
+ {% for ballot in ballots %}
|
|
|
|
+ <tr>
|
|
|
|
+ <td>
|
|
|
|
+ <a href="{{ url_for('vote.public_view', ballot_id=ballot.id) }}"><button class="btn btn-secondary btn-sm">View</button></a>
|
|
|
|
+ </td>
|
|
|
|
+ <td>{{ ballot.name }}</td>
|
|
|
|
+ <td>{{ ballot.start_at }}</td>
|
|
|
|
+ <td>{{ ballot.end_at }}</td>
|
|
|
|
+ <td>{{ ballot.user.name }}</td>
|
|
|
|
+ </tr>
|
|
|
|
+ {%- endfor -%}
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</body>
|