fix: clean up bad links and old html

This commit is contained in:
Christoph J. Scherr 2024-09-08 14:24:19 +02:00
parent 546b6e5908
commit baa1fb568e
4 changed files with 2 additions and 23 deletions

View File

@ -1,15 +1,5 @@
{% extends "admin:base" %}
{% block content %}
<h1 class="text-body-emphasis">{{title}}</h1>
<p class="fs-5 col-md-8">
You have reached the {{title}}. This site can be used by
the host of the challenge to see the challenge progress, solution, and
hints for that challenge. This site is <b>NOT</b> part of the
challenge.
</p>
<hr class="mb-5">
<div class="row g-5 mb-5">
<h2 class="text-body-emphasis">Challenge {{ challenge.id }} &mdash; {{ challenge.title }}</h2>
<p class="mt-1 mb-3">{{ challenge.description }}</p>

View File

@ -10,7 +10,7 @@
<ul class="list-unstyled ps-0">
{% for challenge in challenges %}
<li>
<a class="icon-link mb-1" href="challenge/{{ challenge.id }}">
<a class="icon-link mb-1" href="/admin/challenge/{{ challenge.id }}">
<svg class="bi" width="16" height="16">
<use xlink:href="#arrow-right-circle" />
</svg>

View File

@ -1,17 +1,6 @@
{% extends "user:base" %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<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>
<hr class="mb-5">
<div class="row g-5 mb-5">
<h2 class="text-body-emphasis">Challenge {{ challenge.idx}} &mdash; {{ challenge.title }}</h2>
<p class="mt-1 mb-3">{{ challenge.description }}</p>

View File

@ -10,7 +10,7 @@
<ul class="list-unstyled ps-0">
{% for challenge in challenges %}
<li>
<a class="icon-link mb-1" href="challenge/{{ challenge.id }}">
<a class="icon-link mb-1" href="/challenge/{{ challenge.id }}">
<svg class="bi" width="16" height="16">
<use xlink:href="#arrow-right-circle" />
</svg>