cqtu/templates/contest/qsoAdminTable.html

40 lines
1.6 KiB
HTML

{% include "contest/paginationNav.html" with page=qsoPage pages=qsoPager %}
<table class="table">
<thead>
<tr>
<th>Nr-S</th>
<th>Nr-R</th>
<th>Band</th>
<th>UTC</th>
<th>Call A</th>
<th>Call B</th>
<th class="hidden-xs">RS-S</th>
<th class="hidden-xs">RS-R</th>
<th class="hidden-xs">Nr-R</th>
<th>EXC</th>
<th class="hidden-xs">Remarks</th>
<th class="">Cfmd</th>
</tr>
</thead>
<tbody>
{% for qso in qsoPage %}
<tr id="qso-row-{{ forloop.counter0 }}" class="{% if qso.cfmdQSO %}success{% endif %}">
<td>{{ qso.ownNo }}</td>
<td>{{ qso.otherNo }}</td>
<td>{{ qso.band }}</td>
<td>{{ qso.time|date:"H:i" }}</td>
<td><a href="{% url "contest:viewUserQSOs" qso.owner.id %}">{{ qso.owner }}</a></td>
<td>{% if qso.callRef %}<a href="{% url "contest:viewUserQSOs" qso.callRef.id %}">{% endif %}{{ qso.call }}{% if qso.callRef %}</a> <span class="glyphicon glyphicon-ok-sign text-success"></span>{% endif %}</td>
<td class="hidden-xs">{{ qso.reportTX }}</td>
<td class="hidden-xs">{{ qso.reportRX }}</td>
<td class="hidden-xs">{{ qso.otherNo }}</td>
<td>{{ qso.refStr }}{% if qso.ref %} <span class="glyphicon glyphicon-ok-sign text-success"></span>{% endif %}</td>
<td class="hidden-xs">{{ qso.remarks }}</td>
<!-- <td><a href="{% url "contest:logEdit" qso.id %}"><span class="glyphicon glyphicon-pencil"></span></a> <a href="{% url "contest:logDelete" qso.id %}"><span class="glyphicon glyphicon-trash"></span></a></td> -->
<td>{{ qso.cfmdQSO|default:"" }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% include "contest/paginationNav.html" with page=qsoPage pages=qsoPager %}