2025-11-03 15:23:11 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
<html lang="nl">
|
|
|
|
|
|
<head>
|
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
|
<title>Stellingen Editor - IJsbreker</title>
|
|
|
|
|
|
<link rel="stylesheet" href="editor.css">
|
|
|
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
<header>
|
|
|
|
|
|
<h1>🎯 Sessie IJsbreker - Stellingen Editor</h1>
|
|
|
|
|
|
<div class="header-actions">
|
|
|
|
|
|
<a href="/" class="btn btn-secondary">← Terug naar Spel</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
|
|
<main>
|
2025-12-16 06:36:55 +00:00
|
|
|
|
<!-- Workshop Sets -->
|
|
|
|
|
|
<section class="sets-section">
|
|
|
|
|
|
<h2>📂 Workshop Sets</h2>
|
|
|
|
|
|
<div class="sets-controls">
|
|
|
|
|
|
<div class="set-selector-group">
|
|
|
|
|
|
<label for="setSelector">Actieve Set:</label>
|
|
|
|
|
|
<select id="setSelector" class="set-select">
|
|
|
|
|
|
<option value="">Laden...</option>
|
|
|
|
|
|
</select>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="set-actions">
|
|
|
|
|
|
<button id="saveAsNewSet" class="btn btn-secondary">💾 Opslaan als Nieuwe Set</button>
|
|
|
|
|
|
<button id="deleteSet" class="btn btn-danger" style="display:none;">🗑️ Verwijder Set</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
2025-11-03 15:23:11 +00:00
|
|
|
|
<!-- Basis instellingen -->
|
|
|
|
|
|
<section class="settings-section">
|
|
|
|
|
|
<h2>⚙️ Instellingen</h2>
|
|
|
|
|
|
<div class="settings-grid">
|
|
|
|
|
|
<div class="setting-item">
|
|
|
|
|
|
<label for="timer">Timer (seconden):</label>
|
|
|
|
|
|
<input type="number" id="timer" min="5" max="300" value="30">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="setting-item">
|
|
|
|
|
|
<label for="fontSize">Font grootte:</label>
|
|
|
|
|
|
<input type="text" id="fontSize" value="3rem" placeholder="3rem">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="setting-item">
|
|
|
|
|
|
<label for="buttonText">Knop tekst:</label>
|
|
|
|
|
|
<input type="text" id="buttonText" value="Volgende Stelling">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="setting-item">
|
|
|
|
|
|
<label for="finishText">Eind tekst:</label>
|
|
|
|
|
|
<input type="text" id="finishText" value="Sessie Afgelopen!">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="setting-item">
|
|
|
|
|
|
<label for="colorLeft">Kleur links:</label>
|
|
|
|
|
|
<input type="color" id="colorLeft" value="#3B82F6">
|
|
|
|
|
|
<input type="text" id="colorLeftText" value="#3B82F6">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="setting-item">
|
|
|
|
|
|
<label for="colorRight">Kleur rechts:</label>
|
|
|
|
|
|
<input type="color" id="colorRight" value="#EF4444">
|
|
|
|
|
|
<input type="text" id="colorRightText" value="#EF4444">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Stellingen -->
|
|
|
|
|
|
<section class="statements-section">
|
|
|
|
|
|
<div class="section-header">
|
|
|
|
|
|
<h2>📝 Stellingen</h2>
|
2025-12-12 07:34:45 +00:00
|
|
|
|
<div class="header-controls">
|
|
|
|
|
|
<button id="openStellingkast" class="btn btn-secondary">📚 Stellingkast</button>
|
|
|
|
|
|
<span id="statementCount" class="count-badge">0 stellingen</span>
|
|
|
|
|
|
</div>
|
2025-11-03 15:23:11 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="statementsList" class="statements-list">
|
|
|
|
|
|
<!-- Stellingen worden hier dynamisch toegevoegd -->
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<button id="addStatement" class="btn btn-add">
|
|
|
|
|
|
+ Nieuwe Stelling
|
|
|
|
|
|
</button>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
2025-12-12 07:34:45 +00:00
|
|
|
|
<!-- Stellingkast Panel -->
|
|
|
|
|
|
<div id="stellingkastPanel" class="stellingkast-panel">
|
|
|
|
|
|
<div class="panel-header">
|
|
|
|
|
|
<h2>📚 Stellingkast</h2>
|
|
|
|
|
|
<button id="closeStellingkast" class="btn-close">×</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="panel-content">
|
|
|
|
|
|
<input type="text" id="searchStellingkast" placeholder="Zoek stelling..." class="search-input">
|
|
|
|
|
|
<div id="stellingkastList" class="stellingkast-list">
|
|
|
|
|
|
<!-- Stellingen uit kast worden hier geladen -->
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
2025-11-03 15:23:11 +00:00
|
|
|
|
<!-- Opslaan -->
|
|
|
|
|
|
<section class="actions-section">
|
|
|
|
|
|
<button id="saveConfig" class="btn btn-primary">
|
|
|
|
|
|
💾 Opslaan naar Config
|
|
|
|
|
|
</button>
|
|
|
|
|
|
<div id="statusMessage" class="status-message"></div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
</main>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<script src="editor.js"></script>
|
|
|
|
|
|
</body>
|
|
|
|
|
|
</html>
|