mirror of
https://codeberg.org/kirche-im-netz/Startodon-Hub.git
synced 2025-08-06 03:04:46 +02:00
StarterPack Formular WIP
This commit is contained in:
parent
0b90f1c60c
commit
f3d11d02ff
5 changed files with 270 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
import { createStarterKitElement, enhanceStarterKits } from './utils/starterkit-utils.js';
|
||||
import { seededShuffleChildren } from './utils/shuffle-utils.js';
|
||||
import { initializeCreateStarterKitPopup } from './utils/create-starterkit.js';
|
||||
|
||||
|
||||
let userConsent = null;
|
||||
export { userConsent };
|
||||
|
@ -17,6 +19,8 @@ async function loadTemplates() {
|
|||
document.addEventListener('DOMContentLoaded', async function () {
|
||||
await loadTemplates(); // Templates laden
|
||||
|
||||
initializeCreateStarterKitPopup();
|
||||
|
||||
const container = document.getElementById('starterkit-container');
|
||||
const shuffleContainers = document.querySelectorAll('.shuffle-container');
|
||||
const seed = Date.now();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue