aboutsummaryrefslogtreecommitdiff
path: root/app/templates/admin/annotations.html
blob: 089de3b1dd997a6eeb66998ecf1c19c547016dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "base.html" %}
{% import 'bootstrap/wtf.html' as wtf %}

{% block app_content %}
<h1>View Annotations</h1>
<div class="row">
	<div class="col-md-4">
		{{ wtf.quick_form(form) }}
	</div>
</div>
<article class="overview">
	<table class="table table-striped">
		<thead class="thead-dark">
      <th scope="col">Dataset</th>
			<th scope="col">Username</th>
      <th scope="col">Changepoint Index</th>
    </thead>
    {% for ann in annotations %}
		<tr>
      <td>{{ ann.task.dataset.name }}</td>
      <td>{{ ann.task.user.username }}</td>
      <td>{% if ann.cp_index is none %}No CP{% else %}{{ ann.cp_index }}{% endif %}</td>
    </tr>
		{% endfor %}
		</tr>
	</table>
</article>
{% endblock %}