cqtu/templates/contest/registerRefs.html

111 lines
3.2 KiB
HTML
Raw Normal View History

2017-01-20 14:28:59 +01:00
{% extends "base.html" %}
2017-01-25 01:53:22 +01:00
{% load crispy_forms_tags %}
2017-01-20 14:28:59 +01:00
{% block content %}
<div class="row">
<div class="col-md-6">
2017-01-25 01:53:22 +01:00
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">Contest Stations</div>
<div class="panel-body">
Here is a Table with all OMs/YLs in the contest!
<table class="table">
<thead>
<tr>
<th>Call</th>
<th>Ref</th>
<th></th>
2017-01-20 14:28:59 +01:00
</tr>
2017-01-25 01:53:22 +01:00
</thead>
<tbody>
{% for u in alluser %}
<tr class="{% if not u.ref %}danger{% endif %}">
<td>{{ u.username }}</td>
<td>{{ u.ref|default:"unknown / unset" }}</td>
<td><a href="{% url "contest:updateRef" u.id %}">Update / Create ref</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">Shadow Stations <small>(unregistered, but active)</small></div>
<div class="panel-body">
{% if shadowForm.errors %}
<div class="alert alert-danger">
{{ shadowForm.errors }}
</div>
{% endif %}
{% crispy shadowForm %}
<table class="table">
<thead>
<tr>
<th>Call</th>
<th>Ref</th>
<th></th>
</tr>
</thead>
<tbody>
{% for shadow in shadows %}
<tr>
<td>{{ shadow.username }}</td>
<td>{{ shadow.ref|default:"unknown / unset" }}</td>
<td><a href="{% url "contest:updateShadowRef" shadow.id %}">Update / create ref</a>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
2017-01-20 14:28:59 +01:00
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">Current QSOs</div>
<div class="panel-body">
2017-01-21 02:05:45 +01:00
<table class="table">
<thead>
<tr>
<th>Nr-S</th>
<th>Band</th>
<th>UTC</th>
<th>Call A</th>
<th>Call B</th>
2017-01-23 02:00:42 +01:00
<th>RS-S</th>
<th>RS-R</th>
2017-01-21 02:05:45 +01:00
<th>Nr-R</th>
<th>EXC</th>
<th>Remarks</th>
</tr>
</thead>
<tbody>
{% for qso in qsos %}
<tr id="qso-row-{{ forloop.counter0 }}">
<td>{{ qso.ownNo }}</td>
<td>{{ qso.band }}</td>
<td>{{ qso.time|date:"H:i" }}</td>
<td>{{ qso.owner.username }}</td>
<td>{{ qso.call }}</td>
<td>{{ qso.reportTX }}</td>
<td>{{ qso.reportRX }}</td>
<td>{{ qso.otherNo }}</td>
<td>{{ qso.refStr }}</td>
<td>{{ qso.remarks }}</td>
</tr>
{% endfor %}
</tbody>
</table>
2017-01-20 14:28:59 +01:00
</div>
</div>
</div>
</div>
{% endblock %}