mirror of
https://github.com/tjsga/scavenger-hunt-2021.git
synced 2025-04-09 22:10:18 -04:00
remove link
This commit is contained in:
parent
5cf5b3d2c8
commit
8808018c75
|
@ -44,31 +44,29 @@
|
|||
<div id="c-{{ category.id }}" class='row'>
|
||||
{% for challenge, status in challenges.items %}
|
||||
{% if status.0.unblocked %}
|
||||
<a href="challenge/{{ status.0.id }}" class='col-lg-3 col-md-4 col-sm-6 col-xs-12'>
|
||||
<div id="box{{ status.0.id }}" class="box {% if status.1 == 'available' %}available{% elif status.1 == 'completed' %}completed{% else %}locked{% endif %} p-3">
|
||||
<div class="centered-div">
|
||||
<h4>{{ status.0.name }}</h4>
|
||||
<p>Points: {{ status.0.points }}</p>
|
||||
</div>
|
||||
<div class="{% if status.1 == 'completed' %}center{% else %}left{% endif %}-div">
|
||||
{% if status.0.exclusive %}
|
||||
<p>This challenge's points are only available to the first class to complete it.</p>
|
||||
<p>{{ status.0.short_description }}</p>
|
||||
{% elif status.1 == 'locked' %}
|
||||
<p>This challenge was exclusive and has already been completed by another class.</p>
|
||||
{% elif status.1 == 'completed' %}
|
||||
<h3>Solved!</h3>
|
||||
{% else %}
|
||||
<p>{{ status.0.short_description }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if status.1 == 'available' %}
|
||||
<hr>
|
||||
<input type="text" id="{{ status.0.id }}" placeholder="Enter the flag here"/>
|
||||
<input type="submit" value="Submit" onclick="checkFlag({{ status.0.id }})" />
|
||||
<div id="box{{ status.0.id }}" class="box {% if status.1 == 'available' %}available{% elif status.1 == 'completed' %}completed{% else %}locked{% endif %} p-3">
|
||||
<div class="centered-div">
|
||||
<h4>{{ status.0.name }}</h4>
|
||||
<p>Points: {{ status.0.points }}</p>
|
||||
</div>
|
||||
<div class="{% if status.1 == 'completed' %}center{% else %}left{% endif %}-div">
|
||||
{% if status.0.exclusive %}
|
||||
<p>This challenge's points are only available to the first class to complete it.</p>
|
||||
<p>{{ status.0.short_description }}</p>
|
||||
{% elif status.1 == 'locked' %}
|
||||
<p>This challenge was exclusive and has already been completed by another class.</p>
|
||||
{% elif status.1 == 'completed' %}
|
||||
<h3>Solved!</h3>
|
||||
{% else %}
|
||||
<p>{{ status.0.short_description }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</a>
|
||||
{% if status.1 == 'available' %}
|
||||
<hr>
|
||||
<input type="text" id="{{ status.0.id }}" placeholder="Enter the flag here"/>
|
||||
<input type="submit" value="Submit" onclick="checkFlag({{ status.0.id }})" />
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class='col-lg-3 col-md-4 col-sm-6 col-xs-12'>
|
||||
<div id="box{{ status.0.id }}" class="box locked p-3">
|
||||
|
|
Loading…
Reference in New Issue
Block a user