97 lines
4 KiB
HTML
97 lines
4 KiB
HTML
<!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>
|
||
<!-- 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>
|
||
<div class="header-controls">
|
||
<button id="openStellingkast" class="btn btn-secondary">📚 Stellingkast</button>
|
||
<span id="statementCount" class="count-badge">0 stellingen</span>
|
||
</div>
|
||
</div>
|
||
|
||
<div id="statementsList" class="statements-list">
|
||
<!-- Stellingen worden hier dynamisch toegevoegd -->
|
||
</div>
|
||
|
||
<button id="addStatement" class="btn btn-add">
|
||
+ Nieuwe Stelling
|
||
</button>
|
||
</section>
|
||
|
||
<!-- 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>
|
||
|
||
<!-- 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>
|