bornhack-website/src/tokens/templates/token_detail.html

25 lines
932 B
HTML
Raw Normal View History

2018-08-18 13:26:49 +00:00
{% extends 'base.html' %}
{% load static from staticfiles %}
{% load commonmark %}$
{% block title %}
Secret Token Found! | {{ block.super }}
{% endblock %}
{% block content %}
{% if view.older_code %}
<h3 class="text-center">It's an older code, sir, but it checks out!</h3>
<p class="lead text-center">You have tried to use an older token, so here have a token for your efforts!</p>
<pre class="lead text-center">{{ view.older_token_token }}</pre>
{% else %}
<h3 class="text-center">Secret Token Found!</h3>
<p class="lead text-center">You found a secret token:</p>
<p class="lead text-center"><span class="badge">{{ token.description }}</span></p>
<p class="lead text-center">Your visit has been registered! Keep hunting, there might be more tokens out there.</p>
<p class="lead text-center"><a href="{% url 'tokens:tokenfind_list' %}">List All Found Tokens</a></p>
{% endif %}
2018-08-18 13:26:49 +00:00
{% endblock %}