2024-09-08 14:19:58 +02:00
|
|
|
{% extends "user:base" %}
|
2024-09-08 10:50:44 +02:00
|
|
|
{% block title %}{{ title }}{% endblock %}
|
2024-09-08 14:19:58 +02:00
|
|
|
{% block content %}
|
2024-09-08 10:50:44 +02:00
|
|
|
<h1 class="text-body-emphasis">{{title}} User Interface</h1>
|
|
|
|
<p class="fs-5 col-md-8">
|
|
|
|
You have reached the {{title}} User
|
|
|
|
Interface. This site can be used by the
|
|
|
|
contestants see the challenges and their
|
|
|
|
progress and hints for that challenge. This
|
|
|
|
site is <b>NOT</b> part of the challenge.
|
|
|
|
</p>
|
2024-09-08 03:57:42 +02:00
|
|
|
|
2024-09-08 10:50:44 +02:00
|
|
|
<hr class="mb-5">
|
2024-09-08 03:57:42 +02:00
|
|
|
|
2024-09-08 10:50:44 +02:00
|
|
|
<div class="row g-5 mb-5">
|
2024-09-08 14:19:58 +02:00
|
|
|
<h2 class="text-body-emphasis">Challenge {{ challenge.idx}} — {{ challenge.title }}</h2>
|
|
|
|
<p class="mt-1 mb-3">{{ challenge.description }}</p>
|
2024-09-08 10:50:44 +02:00
|
|
|
<div class="col mt-1">
|
|
|
|
<h3>Hints</h3>
|
|
|
|
<button class="btn btn-primary my-2" type="button" data-bs-toggle="collapse" data-bs-target="#hints"
|
|
|
|
aria-expanded="false" aria-controls="collapseExample">
|
|
|
|
Show hints
|
|
|
|
</button>
|
|
|
|
<div class="collapse" id="hints">
|
|
|
|
<ul class="list-unstyled ps-0">
|
2024-09-08 14:19:58 +02:00
|
|
|
{% for hint in challenge.hints %}
|
2024-09-08 10:50:44 +02:00
|
|
|
<li>
|
|
|
|
<p>
|
|
|
|
<svg class="bi" width="16" height="16">
|
|
|
|
<use xlink:href="#arrow-right-circle" />
|
|
|
|
</svg>
|
|
|
|
{{hint}}
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-09-08 03:57:42 +02:00
|
|
|
|
2024-09-08 10:50:44 +02:00
|
|
|
<hr class="mb-5">
|
2024-09-08 03:57:42 +02:00
|
|
|
|
2024-09-08 10:50:44 +02:00
|
|
|
<div class="row g-5">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<h2 class="text-body-emphasis">Contestants</h2>
|
|
|
|
<p>
|
|
|
|
There are cuttently {{ contestants_amount }} contestants.
|
|
|
|
These contestants currently have had at least one connection to
|
|
|
|
the challenge:
|
|
|
|
</p>
|
|
|
|
<ul class="list-unstyled ps-0">
|
|
|
|
{% for contestant in contestants %}
|
2024-09-08 03:57:42 +02:00
|
|
|
<li>
|
2024-09-08 10:50:44 +02:00
|
|
|
<a class="icon-link mb-1" href="https://whatismyipaddress.com/ip/{{ contestant.ip }}">
|
|
|
|
<svg class="bi" width="16" height="16">
|
|
|
|
<use xlink:href="#arrow-right-circle" />
|
2024-09-08 03:57:42 +02:00
|
|
|
</svg>
|
2024-09-08 10:50:44 +02:00
|
|
|
{{ contestant.ip }}
|
|
|
|
</a>
|
2024-09-08 03:57:42 +02:00
|
|
|
</li>
|
2024-09-08 10:50:44 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
<h2 class="text-body-emphasis">Winners</h2>
|
|
|
|
<p>
|
|
|
|
There are cuttently {{ winners_amount }} winners. These contestants currently have been sent the
|
|
|
|
secret:
|
|
|
|
</p>
|
|
|
|
<ul class="list-unstyled ps-0">
|
|
|
|
{% for winner in winners %}
|
2024-09-08 03:57:42 +02:00
|
|
|
<li>
|
2024-09-08 10:50:44 +02:00
|
|
|
<a class="icon-link mb-1" href="https://whatismyipaddress.com/ip/{{ winner.ip }}">
|
|
|
|
<svg class="bi" width="16" height="16">
|
|
|
|
<use xlink:href="#arrow-right-circle" />
|
2024-09-08 03:57:42 +02:00
|
|
|
</svg>
|
2024-09-08 10:50:44 +02:00
|
|
|
{{ winner.ip }}
|
|
|
|
</a>
|
2024-09-08 03:57:42 +02:00
|
|
|
</li>
|
2024-09-08 10:50:44 +02:00
|
|
|
{% endfor %}
|
2024-09-08 03:57:42 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
2024-09-08 10:50:44 +02:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|