Templates added
This commit is contained in:
61
Templates/artsurvey/summary.html
Normal file
61
Templates/artsurvey/summary.html
Normal 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σ)</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 %}
|
||||
|
Reference in New Issue
Block a user