Simplify view.html in provided challenge types to support core-beta (#1969)

* Simplify view.html in the provided challenge plugins to better support the eventual core-beta theme
This commit is contained in:
Kevin Chung
2021-08-03 12:06:59 -04:00
committed by GitHub
parent 630fbe4dab
commit e4e511fa6f
2 changed files with 2 additions and 32 deletions

View File

@@ -1,16 +1 @@
{% 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 %}
{% extends "challenge.html" %}

View File

@@ -1,16 +1 @@
{% 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 %}
{% extends "challenge.html" %}