ctfd-event-countdown
ctfd-event-countdown copied to clipboard
Plugin for CTFd which shows a countdown until the start of the event and then until the end of the event.
ctfd-event-countdown
Plugin for CTFd which shows a countdown until the start of the event and then until the end of the event.
Screenshot

Install
- Clone this repository to your CTFd installation under
CTFd/plugins/. - Add to your base template (
themes/core/templates/base.htmlif you are using the default theme):
<meta name="start_in" content="{{ ctf_starts_in() }}">
<meta name="ends_in" content="{{ ctf_ends_in() }}">
- Add
<p class="ctfd-event-countdown"> </p>where you want the countdown to appear. - Set an event start or end time in Admin -> Config.