Add per-map editable markers and backups

This commit is contained in:
lucio committed 2026-08-08 22:03:49 -07:00
1 parent e71447da5d
commit bbb4cadddd
23 files changed
+11090 -129

No files matched your search

+27
View File
@@ -17,10 +17,15 @@
<section id="placement-tools">
<div class="layer-actions">
<button id="toggle-markers" type="button" aria-pressed="true">Markers</button>
<details id="marker-settings">
<summary>Marker categories</summary>
<div id="marker-categories"></div>
</details>
</div>
<div class="editor-mode-actions">
<button id="edit-placement" type="button" disabled>Placement</button>
<button id="edit-trim" type="button" disabled>Trim area</button>
<button id="edit-markers" type="button" disabled>Marker edit</button>
</div>
<div id="placement-editor" hidden>
<strong id="placement-name"></strong>
@@ -56,6 +61,28 @@
<button id="trim-save" type="button">Save trim</button>
<output id="trim-status" role="status"></output>
</div>
<div id="marker-editor" hidden>
<strong id="marker-editor-name"></strong>
<p>Click a marker to edit it, or drag it to save a new position.</p>
<button id="marker-drop" type="button" aria-pressed="false">Drop new marker</button>
<div id="marker-fields" hidden>
<label class="marker-field">
Name
<input id="marker-label" type="text" maxlength="160" autocomplete="off">
</label>
<label class="marker-field">
Category
<select id="marker-category"></select>
</label>
<output id="marker-map-name"></output>
<div class="placement-actions">
<button id="marker-delete" type="button">Delete</button>
<button id="marker-cancel" type="button">Cancel</button>
<button id="marker-save" type="button">Save marker</button>
</div>
</div>
<output id="marker-edit-status" role="status"></output>
</div>
</section>
</details>