From e4e511fa6f3fc8bad4cd4d713832749901d23db4 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Tue, 3 Aug 2021 12:06:59 -0400 Subject: [PATCH] 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 --- CTFd/plugins/challenges/assets/view.html | 17 +---------------- .../plugins/dynamic_challenges/assets/view.html | 17 +---------------- 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/CTFd/plugins/challenges/assets/view.html b/CTFd/plugins/challenges/assets/view.html index 7697c259..ab623afd 100644 --- a/CTFd/plugins/challenges/assets/view.html +++ b/CTFd/plugins/challenges/assets/view.html @@ -1,16 +1 @@ -{% extends "challenge.html" %} - -{% block description %} - {{ challenge.html }} -{% endblock %} - -{% block input %} - - -{% endblock %} - -{% block submit %} - -{% endblock %} \ No newline at end of file +{% extends "challenge.html" %} \ No newline at end of file diff --git a/CTFd/plugins/dynamic_challenges/assets/view.html b/CTFd/plugins/dynamic_challenges/assets/view.html index 7697c259..ab623afd 100644 --- a/CTFd/plugins/dynamic_challenges/assets/view.html +++ b/CTFd/plugins/dynamic_challenges/assets/view.html @@ -1,16 +1 @@ -{% extends "challenge.html" %} - -{% block description %} - {{ challenge.html }} -{% endblock %} - -{% block input %} - - -{% endblock %} - -{% block submit %} - -{% endblock %} \ No newline at end of file +{% extends "challenge.html" %} \ No newline at end of file