Logged in frontpage enhancements
This commit is contained in:
parent
ad8eeeb955
commit
22d63af305
|
@ -6,22 +6,38 @@
|
||||||
{# user has a reference, we can start logging QSOs! #}
|
{# user has a reference, we can start logging QSOs! #}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<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!
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Welcome to {{ contest }}!
|
|
||||||
</p><p>
|
|
||||||
You got yourself a ref registered. Very nice. Now you are ready to go! So go ahead and <a href="{% url "contest:log" %}">log some QSOs</a>!
|
You got yourself a ref registered. Very nice. Now you are ready to go! So go ahead and <a href="{% url "contest:log" %}">log some QSOs</a>!
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<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>
|
<p>
|
||||||
Hey you, {{ user }}, you don't have a <abbr title="You know, like, location, where you are">ref</abbr>!
|
Hey you, {{ user }}, you don't have an <abbr title="You know, like, location, where you are">Exchange</abbr>!
|
||||||
You should <strong>get your ref registered</strong>!
|
Get yourself registered with the contest orga on {{ contest.callQrg }}. Once you have registered with your
|
||||||
Get yourself registered with your callsign and your current location by calling out to <strong>DK0TU</strong>
|
callsign and your current location, it will appear on this website (after refreshing) and you will be
|
||||||
on {{ contest.callQrg }}.
|
all set for logging QSOs!
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
Get yourself registered on <strong>{{ contest.callQrg }}</strong>!
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -29,7 +45,14 @@
|
||||||
{% if user.is_staff %}
|
{% if user.is_staff %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<p>Hey, you are <strong>staff</strong>. Do you want to <a href="{% url "contest:registerRefs" %}">register people</a>?</p>
|
<div class="panel panel-primary">
|
||||||
|
<div class="panel-heading">You are staff!</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<p>
|
||||||
|
<p>Hey, you are <strong>staff</strong>. Do you want to start <a href="{% url "contest:registerRefs" %}">registering people</a>?</p>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue