cqtu/templates/contest/index.html

95 lines
3.0 KiB
HTML
Raw Permalink Normal View History

2017-01-20 14:28:59 +01:00
{% extends "base.html" %}
{% block content %}
<h2>Welcome, {{ user }}</h2>
2017-01-23 01:09:04 +01:00
<div class="row">
<div class="col-sm-6">
2017-02-01 18:29:19 +01:00
{% if user.ref %}
{# user has a reference, we can start logging QSOs! #}
<div class="row">
<div class="col-sm-12">
<div class="panel panel-success">
<div class="panel-heading">Ready for the contest!</div>
<div class="panel-body">
<p>
Hey {{ user }}, your exchange has been registered as {{ user.ref }}.
You are all set for the contest! So go ahead and <a href="{% url "contest:log" %}">log some QSOs</a>!
</p>
</div>
</div>
2017-01-21 04:20:06 +01:00
</div>
</div>
2017-02-01 18:29:19 +01:00
{% else %}
<div class="row">
<div class="col-sm-12">
<div class="panel panel-danger">
<div class="panel-heading">You don't have an exchange</div>
<div class="panel-body">
<p>
Hey you, {{ user }}, you don't have an <abbr title="You know, like, location, where you are">Exchange</abbr>!
Get yourself registered with the contest orga on {{ contest.callQrg }}. Once you have registered with your
callsign and your current location, it will appear on this website (after refreshing) and you will be
all set for logging QSOs!
</p>
<p>
Get yourself registered on <strong>{{ contest.callQrg }}</strong>!
</p>
<p>
<ul>
<li>Remember to SPELL all call signs, exchanges and names (Delta ...)</li>
<li>For the registration transmit your call sign, exchange, exact location (e.g. room number), all operator names</li>
<li>Your Exchange needs to be a TU Berlin building code (H, MA, TEL, ...) or DX</li>
<li>During the constest ONLY use your exchange, not the exact location</li>
</ul>
</p>
2017-02-01 18:29:19 +01:00
</div>
</div>
2017-01-21 04:20:06 +01:00
</div>
</div>
2017-02-01 18:29:19 +01:00
{% endif %}
2017-01-20 14:28:59 +01:00
2017-02-01 18:29:19 +01:00
{% if not user.cat %}
<div class="row">
<div class="col-sm-12">
<div class="panel panel-warning">
<div class="panel-heading">You don't have a category!</div>
<div class="panel-body">
<p>
You don't have an <strong>entry category</strong>! Please set one in your <a href="{% url "profile" %}">profile</a>.
</p>
</div>
</div>
2017-01-26 20:36:55 +01:00
</div>
</div>
2017-02-01 18:29:19 +01:00
{% endif %}
2017-01-26 20:36:55 +01:00
2017-02-01 18:29:19 +01:00
{% if user.is_staff %}
<div class="row">
<div class="col-sm-12">
<div class="panel panel-primary">
<div class="panel-heading">You are staff!</div>
<div class="panel-body">
<p>Hey, you are <strong>staff</strong>. Do you want to start <a href="{% url "contest:registerRefs" %}">registering people</a>?</p>
</div>
</div>
</div>
</div>
{% endif %}
</div>
<div class="col-sm-6">
<div class="row">
<div class="col-sm-12">
{% include "contest/contestPanel.html" with contest=contest %}
</div>
<div class="col-sm-12">
{% include "contest/qrgPanel.html" with contest=contest qrgs=qrgs %}
</div>
</div>
2017-01-21 04:20:06 +01:00
</div>
</div>
2017-01-23 01:09:04 +01:00
</div>
</div>
2017-01-20 14:28:59 +01:00
{% endblock %}