Better log overview for staff
This commit is contained in:
parent
692b1192fb
commit
f0d3823e15
|
@ -1,40 +0,0 @@
|
|||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No.</th>
|
||||
<th>Time</th>
|
||||
{% if logShowComplete %}
|
||||
<th>Call A</th>
|
||||
<th>Call B</th>
|
||||
{% else %}
|
||||
<th>Call</th>
|
||||
{% endif %}
|
||||
<th>Band</th>
|
||||
<th>TX Report</th>
|
||||
<th>RX Report</th>
|
||||
<th>Other No.</th>
|
||||
<th>Reference</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for qso in qsos %}
|
||||
<tr>
|
||||
<td>{{ qso.ownNo }}</td>
|
||||
<td>{{ qso.time }}</td>
|
||||
{% if logShowComplete %}
|
||||
<td>{{ qso.owner.username }}</td>
|
||||
<td>{{ qso.call }}</td>
|
||||
{% else %}
|
||||
<td>{{ qso.call }}</td>
|
||||
{% endif %}
|
||||
<td>{{ qso.band }}</td>
|
||||
<td>{{ qso.reportTX }}</td>
|
||||
<td>{{ qso.reportRX }}</td>
|
||||
<td>{{ qso.otherNo }}</td>
|
||||
<td>{{ qso.refStr }}</td>
|
||||
<td><a href="{% url "contest:logEdit" qso.id %}">Edit</a> <a href="{% url "contest:logDelete" qso.id %}">Delete</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
|
@ -1,14 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<p>
|
||||
Register Someone!!!!
|
||||
Here be FORM for registering someone without a ref
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-default">
|
||||
|
@ -40,7 +32,38 @@
|
|||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Current QSOs</div>
|
||||
<div class="panel-body">
|
||||
{% include "contest/logTable.html" with logShowComplete=1 qsos=qsos %}
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nr-S</th>
|
||||
<th>Band</th>
|
||||
<th>UTC</th>
|
||||
<th>Call A</th>
|
||||
<th>Call B</th>
|
||||
<th>RST-S</th>
|
||||
<th>RST-R</th>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue