Skip to content

ComSSA/atr25-theme

 
 

Repository files navigation

core-beta

Rewritten version of the CTFd core theme to use Bootstrap 5, Alpine.js, and vite to improve upon the existing CTFd theme structure.

Subtree Installation

Add repo to themes folder

git subtree add --prefix CTFd/themes/core-beta [email protected]:CTFd/core-beta.git main --squash

Pull latest changes to subtree

git subtree pull --prefix CTFd/themes/core-beta [email protected]:CTFd/core-beta.git main --squash

Subtree Gotcha

Make sure to use Merge Commits when dealing with the subtree here. For some reason Github's squash and commit uses the wrong line ending which causes issues with the subtree script: https://stackoverflow.com/a/47190256.

Todo

  • Document how we are using Vite
  • Create a cookie cutter template package to use with Vite

Map

Uses tags as options for the map.

  • x:int - x coordinate on canvas
  • y:int - y coordinate on canvas
  • c:0 - if set, hide category in tooltip

Requires https://github.com/s3ansh33p/ctfd-event-countdown to be installed in plugins

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 60.3%
  • JavaScript 32.2%
  • SCSS 7.5%