srg/Templates/artsurvey/summary.html
2024-06-05 11:33:02 +03:00

62 lines
1.1 KiB
HTML

{% extends "artsurvey/base.html" %}
{% load artsurvey_templates %}
{% block header %}
{% endblock %}
{% block content %}
{% if surveys %}
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-body">
<table id="ArtSurveySummaryTable" class="table" cellspacing="0" width="100%">
<thead>
<tr>
<th class="th-sm"></th>
<th class="th-sm">Survey</th>
{% for b in bands %}
<th class="th-sm">{{ b }}</th>
{% endfor %}
</tr>
<tr>
<th class="th-sm"></th>
<th class="th-sm"></th>
{% for b in bands %}
<th class="th-sm">(>5&sigma;)</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for s in surveys %}
<tr>
<td>{{ forloop.counter }}</td>
<td>{{ s }}
{% if s.notes %}<span title="{{ s.notes }}"><span class="glyphicon glyphicon-comment" style="color:red;"></span></span>{% endif %}
</td>
{% for b in bands %}
<td>{{ s|get_total:b}} ({{ s|get_total_5sigma:b}})</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endblock %}