mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-10 08:44:23 +01:00
* Closes #1332 * Pages by default now strip script tags and other potential XSS vectors * lxml and html5lib are now pinned dependencies * Challenge plugins rewritten to allow for better re-useability of template content and allow more control from the theme side
16 lines
462 B
HTML
16 lines
462 B
HTML
{% extends "challenge.html" %}
|
|
|
|
{% block description %}
|
|
{{ challenge.html }}
|
|
{% endblock %}
|
|
|
|
{% block input %}
|
|
<input id="challenge-id" class="challenge-id" type="hidden" value="{{ challenge.id }}">
|
|
<input id="challenge-input" class="challenge-input" type="text" name="answer" placeholder="Flag"/>
|
|
{% endblock %}
|
|
|
|
{% block submit %}
|
|
<button id="challenge-submit" class="challenge-submit" type="submit">
|
|
Submit
|
|
</button>
|
|
{% endblock %} |