.
This commit is contained in:
@@ -3,6 +3,15 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h2>SeriesFinding Migration Status</h2>
|
<h2>SeriesFinding Migration Status</h2>
|
||||||
|
|
||||||
|
<form method="get" class="mb-3">
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" name="hide_no_series" value="1" {% if request.GET.hide_no_series %}checked{% endif %}>
|
||||||
|
Hide findings with no series
|
||||||
|
</label>
|
||||||
|
<button type="submit" class="btn btn-sm btn-primary ms-2">Apply</button>
|
||||||
|
</form>
|
||||||
|
|
||||||
<table class="table table-bordered table-sm">
|
<table class="table table-bordered table-sm">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -15,31 +24,33 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for f in findings_status %}
|
{% for f in findings_status %}
|
||||||
<tr>
|
{% if not request.GET.hide_no_series or f.series %}
|
||||||
<td>{{ f.id }}</td>
|
<tr>
|
||||||
<td>{{ f.str }}</td>
|
<td>{{ f.id }}</td>
|
||||||
<td>
|
<td>{{ f.str }}</td>
|
||||||
{% if f.series %}
|
<td>
|
||||||
<a href="{% url 'atlas:series_detail' f.series.pk %}">{{ f.series }}</a>
|
{% if f.series %}
|
||||||
{% else %}
|
<a href="{% url 'atlas:series_detail' f.series.pk %}">{{ f.series }}</a>
|
||||||
<span class="text-muted">None</span>
|
{% else %}
|
||||||
{% endif %}
|
<span class="text-muted">None</span>
|
||||||
</td>
|
{% endif %}
|
||||||
<td>
|
</td>
|
||||||
{% if f.annotation_json_3d %}
|
<td>
|
||||||
<span class="badge bg-success">Populated</span>
|
{% if f.annotation_json_3d %}
|
||||||
{% else %}
|
<span class="badge bg-success">Populated</span>
|
||||||
<span class="badge bg-danger">Empty</span>
|
{% else %}
|
||||||
{% endif %}
|
<span class="badge bg-danger">Empty</span>
|
||||||
</td>
|
{% endif %}
|
||||||
<td>
|
</td>
|
||||||
{% if f.viewer_state_3d %}
|
<td>
|
||||||
<span class="badge bg-success">Populated</span>
|
{% if f.viewer_state_3d %}
|
||||||
{% else %}
|
<span class="badge bg-success">Populated</span>
|
||||||
<span class="badge bg-danger">Empty</span>
|
{% else %}
|
||||||
{% endif %}
|
<span class="badge bg-danger">Empty</span>
|
||||||
</td>
|
{% endif %}
|
||||||
</tr>
|
</td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user