diff --git a/CTFd/themes/core-beta/README.md b/CTFd/themes/core-beta/README.md index 3fa13b9e..17c0d870 100644 --- a/CTFd/themes/core-beta/README.md +++ b/CTFd/themes/core-beta/README.md @@ -15,6 +15,10 @@ git subtree add --prefix CTFd/themes/core-beta git@github.com:CTFd/core-beta.git 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 diff --git a/CTFd/themes/core-beta/templates/settings.html b/CTFd/themes/core-beta/templates/settings.html index d7ce93ba..3af06e0a 100644 --- a/CTFd/themes/core-beta/templates/settings.html +++ b/CTFd/themes/core-beta/templates/settings.html @@ -164,6 +164,11 @@ {{ form.expiration(class="form-control") }} +
+ {{ form.description.label(class="form-label") }} + {{ form.description(class="form-control", rows="3") }} +
+
{{ form.submit(class="btn btn-block btn-primary float-end px-4") }} @@ -218,6 +223,7 @@ {% trans %}Created{% endtrans %} {% trans %}Expiration{% endtrans %} + {% trans %}Description{% endtrans %} {% trans %}Delete{% endtrans %} @@ -230,6 +236,9 @@ + + {{ token.description | default('', true) }} + - {% trans %}User Name{% trans %} + {% trans %}User Name{% endtrans %} {% trans %}Score{% endtrans %} @@ -169,15 +169,15 @@
-
-
@@ -198,9 +198,9 @@