Templates added

This commit is contained in:
2024-06-05 11:33:02 +03:00
parent 69a2160eb7
commit 50c53060bf
117 changed files with 16737 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
{% 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 %}