mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-01 04:14:25 +01:00
5ce3003b Merge pull request #47 from aCursedComrade/patch-1 c9887cb1 Fix team template git-subtree-dir: CTFd/themes/core-beta git-subtree-split: 5ce3003b4d68352e629ee2d390bc999e7d6b071e
36 lines
745 B
JavaScript
36 lines
745 B
JavaScript
import CTFd from "@ctfdio/ctfd-js";
|
|
|
|
import dayjs from "dayjs";
|
|
import advancedFormat from "dayjs/plugin/advancedFormat";
|
|
|
|
import times from "./theme/times";
|
|
import styles from "./theme/styles";
|
|
import highlight from "./theme/highlight";
|
|
|
|
import alerts from "./utils/alerts";
|
|
import tooltips from "./utils/tooltips";
|
|
import collapse from "./utils/collapse";
|
|
|
|
import eventAlerts from "./utils/notifications/alerts";
|
|
import eventToasts from "./utils/notifications/toasts";
|
|
import eventRead from "./utils/notifications/read";
|
|
|
|
dayjs.extend(advancedFormat);
|
|
CTFd.init(window.init);
|
|
|
|
(() => {
|
|
styles();
|
|
times();
|
|
highlight();
|
|
|
|
alerts();
|
|
tooltips();
|
|
collapse();
|
|
|
|
eventRead();
|
|
eventAlerts();
|
|
eventToasts();
|
|
})();
|
|
|
|
export default CTFd;
|