Kevin Chung 6e0072b902 Squashed 'CTFd/themes/core-beta/' changes from 5ce3003b..bb4edfb6
bb4edfb6 Add description to TokensForm
50070166 Fix issue with missing endtrans tag
34c58129 Update README.md

git-subtree-dir: CTFd/themes/core-beta
git-subtree-split: bb4edfb6d4535406f7038099501d144d0cc998da
2023-06-22 00:24:12 -04:00

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 git@github.com:CTFd/core-beta.git main --squash

Pull latest changes to subtree

git subtree pull --prefix CTFd/themes/core-beta git@github.com: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
Description
No description provided
Readme Apache-2.0 34 MiB
Languages
JavaScript 87.1%
Python 9%
HTML 3%
Vue 0.6%
SCSS 0.3%