Victor "Nate" Graf fd22ef98dc challenge update modal is now replaceable (#236)
* challenge update modal is now replaceable

By defining
* [type]-challenge-update.hbs
* [type]-challenge-modals.hbs
* [type]-challenge-update.js

in the /static/admin/js/templates/challenges/[type] folder the
challenge update modal will be defined for any challenges of
the given type. This allows for essentially full customizability
of how you will edit custom challenge types in the admin UI.

The reason for having two files, *update.hbs and *modals.hbs, is
that *update.hbs defines the body for the main challenge update
modal, while *modals.hbs defines any additional modals which will be
used within the main modal

There is one function which is required in *update.js is
`openchal(id)` which will be passed the id of the challenge to be
edited and should open the modal as well as load any needed data

* fixed multi-modal issues

Issues were coming from two sources:
* I had placed the modals in an indirect relationship in the DOM
  tree. They need to be siblings I now see
* There was double counting of modals within multi-modal.js. This
  only started to appear with the dynamically loaded modals. I
  fixed the script to accurately count modals each time
2017-04-08 01:20:22 -04:00
2017-03-28 21:17:56 -04:00
2017-03-28 21:17:56 -04:00
2017-03-28 21:17:56 -04:00
2017-01-24 23:06:16 -05:00
2017-01-07 02:44:31 -05:00
2017-03-10 01:17:17 -05:00
2017-03-03 01:37:46 -05:00
2016-10-14 00:54:42 -04:00
2017-01-24 23:06:16 -05:00
2017-02-24 21:46:25 -05:00
2015-09-13 22:43:23 -04:00
2017-03-12 20:14:13 -04:00
2017-03-28 21:17:56 -04:00
2017-01-07 02:44:31 -05:00
2017-01-10 03:35:48 -05:00

Build Status CTFd Slack

CTFd is a CTF in a can. Easily modifiable and has everything you need to run a jeopardy style CTF.

Install:

  1. ./prepare.sh to install dependencies using apt.
  2. Modify CTFd/config.py to your liking.
  3. Use python serve.py in a terminal to drop into debug mode.
  4. Here are some deployment options

Live Demo: https://demo.ctfd.io/

Reverse Engineering Module: https://reversing.ctfd.io/

Logo by Laura Barbera

Theme by Christopher Thompson

Description
No description provided
Readme Apache-2.0 34 MiB
Languages
JavaScript 87.1%
Python 9%
HTML 3%
Vue 0.6%
SCSS 0.3%