add scene management (create/delete)

This commit is contained in:
Rusty Striker 2025-07-28 18:57:20 +03:00
parent e730f9a870
commit 8f5f82ff31
Signed by: RustyStriker
GPG key ID: 87E4D691632DFF15
6 changed files with 58 additions and 0 deletions

View file

@ -69,6 +69,24 @@
</div>
</div>
</div>
<div id="create-scene-popup"
style="display:none; justify-content: center; width: 100%; height: 100%; background-color: transparent; position: absolute; z-index: 10; top: 0px; left: 0px">
<div style="display:flex; width: auto; justify-content: center; flex-direction: column;">
<div
style="display: flex; height: fit-content; flex-direction: column; background-color: #ffffd6; color: black; border: black solid 1px; padding: 8px; border-radius: 8px;">
<h3 id="dice-roll-title" style="align-self: center;">
Create scene
</h3>
<div style="display: grid; grid-template-columns: auto auto; gap: 16px; margin-top: 8px;">
<p>Title:</p>
<input type="text" id="create-scene-title">
<button
onclick="document.getElementById('create-scene-popup').style.display = 'none'">Cancel</button>
<button onclick="createSceneAndHidePopup()">Create</button>
</div>
</div>
</div>
</div>
<div
style="position: absolute; top: 10px; right: 10px; color: black; z-index: 5; display: flex; flex-direction: row; gap: 4px;">
<button style="background-color: #ffffd6;" onclick="showHideDiv('settings-window')"><b>s</b></button>