25 lines
741 B
HTML
25 lines
741 B
HTML
<table class="table table-striped table-dark table-hover">
|
|
<thead class="">
|
|
<tr>
|
|
<th scope="col">Item</th>
|
|
<th scope="col">Requester</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for x in data["buttons"] %}
|
|
<tr scope="row" id="row-{{x[0]}}">
|
|
<td>{{data["buttons"][x]}}</td>
|
|
<td>{{x}}</td>
|
|
<td>
|
|
<form><button class="btn btn-secondary" type="submit" formaction="/post" formmethod="POST" name="got"
|
|
value="{{x[0]}}">No</button></form>
|
|
<td>
|
|
<form>
|
|
<button class="btn btn-secondary" type="submit" formaction="/post" formmethod="POST" name="rem"
|
|
value="{{x[0]}}">Remove</button>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table> |