47 lines
1.1 KiB
HTML
47 lines
1.1 KiB
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block content %}
|
||
|
<h2>Welcome!</h2>
|
||
|
<div class="row">
|
||
|
<div class="col-sm-12">
|
||
|
I have {{ call_count }} callsigns in my Database!
|
||
|
</div>
|
||
|
</div>
|
||
|
{% if user.ref %}
|
||
|
{# user has a reference, we can start logging QSOs! #}
|
||
|
<div class="row">
|
||
|
<div class="col-sm-6">
|
||
|
Hey, nice! You are a Call at a certain level and you have a ref of {{ user.ref }}. Start doing the QSO foo! GO GO GO GO
|
||
|
</div>
|
||
|
<div class="col-sm-6">
|
||
|
<div class="panel panel-default">
|
||
|
<table class="table table-inverse">
|
||
|
<thead class="thead-inverse">
|
||
|
<tr>
|
||
|
<th>Date</th>
|
||
|
<th>Source</th>
|
||
|
<th>Version</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for log in call_import %}
|
||
|
<tr>
|
||
|
<td>{{ log.last_version_time }}</td>
|
||
|
<td>{{ log.datasource }}</td>
|
||
|
<td>{{ log.version }}</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% else %}
|
||
|
Hey you, you don't have a ref. You should have a ref! Register with contest people! on QRG FOOOO
|
||
|
{% endif %}
|
||
|
|
||
|
{% if user.is_staff %}
|
||
|
Hey, you are staff. Do you want to <a href="{% url "contest:registerRefs" %}">register people</a>?
|
||
|
{% endif %}
|
||
|
{% endblock %}
|
||
|
|