add delete buttons to editor
Sonarqube Scanner / Build and analyze (push) Successful in 1m4s

This commit is contained in:
Florian Zumpe
2026-09-27 17:59:09 +02:00
parent 6b3f228ad8
commit becd48b487
4 changed files with 504 additions and 63 deletions
+11 -10
View File
@@ -391,15 +391,9 @@
<label for="editor-poi-description">Text</label>
<textarea id="editor-poi-description" rows="6"></textarea>
<div class="editor-coordinate-grid">
<label for="editor-poi-lat">Breite</label>
<input id="editor-poi-lat" type="number" inputmode="decimal" step="0.000001" required>
<label for="editor-poi-lon">Länge</label>
<input id="editor-poi-lon" type="number" inputmode="decimal" step="0.000001" required>
<label for="editor-poi-radius">Auslöseradius in Metern</label>
<input id="editor-poi-radius" type="number" inputmode="numeric" min="1" step="1" value="25">
</div>
<input id="editor-poi-lat" type="hidden">
<input id="editor-poi-lon" type="hidden">
<input id="editor-poi-radius" type="hidden" value="25">
<div class="editor-media-actions" aria-label="Medien zur Station hinzufügen">
<button id="editor-poi-audio-add" class="editor-media-button" type="button" title="Audio hinzufügen">
@@ -420,9 +414,16 @@
</div>
<input id="editor-poi-audio" type="file" accept="audio/*" hidden>
<input id="editor-poi-images" type="file" accept="image/*" multiple hidden>
<div id="editor-poi-media-preview" class="editor-media-preview" aria-label="Medienvorschau"></div>
<p id="editor-poi-media-status" class="editor-muted" aria-live="polite"></p>
<button id="editor-poi-save" class="editor-primary-button" type="submit">Station speichern</button>
<div class="editor-form-actions">
<button id="editor-poi-save" class="editor-primary-button" type="submit">Station speichern</button>
<button id="editor-poi-delete" class="editor-danger-button" type="button" hidden>
<span class="editor-danger-icon" aria-hidden="true">−</span>
<span>POI entfernen</span>
</button>
</div>
</form>
</section>
</div>