From ae092652c6673e10cd6e69f146bc9d1288fd8ecf Mon Sep 17 00:00:00 2001 From: FaultyMach1ine Date: Wed, 2 Jan 2019 08:11:45 +0800 Subject: [PATCH] Update dynamic_challenges plugin ui to disable modification of current_value items (#811) * Disable the `value` input on dynamic challenges because it is unused * Fix some lint issues in templates --- CTFd/plugins/dynamic_challenges/assets/update.html | 2 +- CTFd/themes/admin/templates/base.html | 2 +- CTFd/themes/core/templates/base.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CTFd/plugins/dynamic_challenges/assets/update.html b/CTFd/plugins/dynamic_challenges/assets/update.html index ce463172..06d315c5 100644 --- a/CTFd/plugins/dynamic_challenges/assets/update.html +++ b/CTFd/plugins/dynamic_challenges/assets/update.html @@ -52,7 +52,7 @@ This is how many points the challenge is worth right now. - +
diff --git a/CTFd/themes/admin/templates/base.html b/CTFd/themes/admin/templates/base.html index 4d8cd56a..3c9e4211 100644 --- a/CTFd/themes/admin/templates/base.html +++ b/CTFd/themes/admin/templates/base.html @@ -10,7 +10,7 @@ - + diff --git a/CTFd/themes/core/templates/base.html b/CTFd/themes/core/templates/base.html index 01ca27dc..cb73b7e7 100644 --- a/CTFd/themes/core/templates/base.html +++ b/CTFd/themes/core/templates/base.html @@ -9,7 +9,7 @@ - +