LuminaWebsite/assets/map/index.html
Maaxxs c4f94bf84a Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes
- Raids: "Max. Spieler" only whole numbers up to groups x 5 (max. 10 groups / 50), gearscore only a number; fixed +1 Lumipunkt per participation, other values only with the new raids.points permission; pick an existing premade per group when creating a raid; unchanged legacy values no longer block editing
- Raid page updates itself every 15 s while visible (raids_live.php, cards rendered by includes/raid_card.php), open editors and confirm dialogs are kept
- Restore takes the new raid_id from the bot (archived messages are now deleted in Discord) and moves settings, attendance and awards; website signups send the server display name
- Premades: dissolve by leadership needs a reason, lead gets DMs on join/assign/decline/remove (source/actor_id sent to the bot), transfer picker skips players who already lead a group, website accept keeps the one-group rule, no commas in names
- Site-wide Lumina dialog (assets/js/confirm-dialog.js) replaces confirm/prompt/alert via data-confirm; error flashes are a dialog you confirm with OK
- Calendar: audience per entry (all / leadership takes part / internal) with the new calendar.leadership permission; day cells list all entries and scroll
- Gear planner: main-hand picker filtered by the set's class, mismatches marked, "keine Klasse" option, link to an external skill/Daevanion plan per set
- Map: correct kisk icons (Elyos on Verteron/Abyss, Altgard fixed), per-map max zoom and bounded panning, German texts, data source note
- Tactics: toolbar as a uniform grid, whole-tactic copy, automatic versions with restore and a 90-day trash, official tactics protected
- Global thin gold scrollbars, readable hover colours, "Sedes Luminis" spelling, patch notes and README, schema version 34

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:12:18 +02:00

185 lines
No EOL
10 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Aion 2 – Interaktive Karte</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Main map container -->
<div id="map-container">
<canvas id="map-canvas"></canvas>
<!-- Loading overlay -->
<div id="loading-overlay" class="hidden">
<div class="spinner"></div>
<p>Karte wird geladen …</p>
</div>
<!-- UI Overlay -->
<div id="ui-overlay">
<!-- Kartenwahl: Knopf mit aktueller Karte, oeffnet die Auswahl mit Vorschaubildern -->
<header id="title-bar" class="panel">
<button type="button" id="map-picker-btn" aria-haspopup="dialog" title="Karte wechseln">
<span class="map-picker-label">Karte</span>
<strong id="map-current-name">Lädt …</strong>
<span class="map-picker-chevron" aria-hidden="true">▾</span>
</button>
<div id="map-unavailable" class="hidden">⚠️ Diese Karte ist auf unserem Patch noch nicht verfügbar.</div>
</header>
<!-- Zoom controls -->
<aside id="zoom-controls" class="panel">
<button id="btn-toggle-ui" title="Fenster aus-/einblenden (H)" aria-pressed="false">👁</button>
<button id="btn-zoom-in" title="Hineinzoomen (+)">+</button>
<button id="btn-zoom-out" title="Herauszoomen (-)">−</button>
<button id="btn-reset-view" title="Ansicht zurücksetzen (0)">⟲</button>
</aside>
<!-- Category filter panel -->
<aside id="category-panel" class="panel">
<div class="tp-head">
<button type="button" class="tp-collapse" id="cp-collapse" title="Ein-/Ausklappen" aria-expanded="true">▾</button>
<h3>Kategorien</h3>
</div>
<div class="cp-body">
<div class="category-bulk">
<button type="button" id="btn-show-all">Alle anzeigen</button>
<button type="button" id="btn-hide-all">Alle verstecken</button>
</div>
<div id="categories-list"></div>
</div>
</aside>
<!-- Taktiken: Liste, Schritte der gewaehlten Taktik -->
<aside id="tactic-panel" class="panel hidden">
<div class="tp-head">
<button type="button" class="tp-collapse" id="tp-collapse" title="Ein-/Ausklappen" aria-expanded="true">▾</button>
<h3>Taktiken</h3>
<!-- Papierkorb: nur sichtbar, wenn es hier etwas gibt, das man wiederherstellen darf -->
<button type="button" class="tp-btn hidden" id="tp-trash" title="Gelöschte Taktiken wiederherstellen">Gelöschte</button>
<button type="button" class="tp-btn hidden" id="tp-new">+ Neu</button>
</div>
<!-- Zeichenwerkzeuge (eigene Taktiken; fremde oeffentliche mit map.tactics, offizielle mit map.tactics.highlight) -->
<div id="tactic-toolbar" class="hidden">
<button type="button" class="tool active" data-tool="pan" title="Karte verschieben (Esc)">✋</button>
<button type="button" class="tool" data-tool="pen" title="Stift: frei zeichnen">✏️</button>
<button type="button" class="tool" data-tool="arrow" title="Pfeil: ziehen">➜</button>
<button type="button" class="tool" data-tool="line" title="Linie: ziehen">╱</button>
<button type="button" class="tool" data-tool="area" title="Fläche: Eckpunkte klicken, Doppelklick oder Enter schließt ab">⬠</button>
<button type="button" class="tool" data-tool="circle" title="Kreis: von der Mitte aus ziehen">◯</button>
<button type="button" class="tool" data-tool="point" title="Punkt mit Beschriftung setzen">📍</button>
<button type="button" class="tool" data-tool="text" title="Text setzen">T</button>
<button type="button" class="tool" data-tool="eraser" title="Radierer: Zeichnung anklicken">⌫</button>
<button type="button" class="tool" id="tool-undo" title="Letzte eigene Zeichnung in diesem Schritt entfernen (Strg+Z)">↶</button>
<input type="color" id="tool-color" value="#ffd700" title="Farbe">
<select id="tool-width" title="Strichstärke">
<option value="2">dünn</option>
<option value="4" selected>mittel</option>
<option value="7">dick</option>
<option value="12">sehr dick</option>
</select>
</div>
<div class="tp-body" id="tp-body">
<div id="tp-list"></div>
<p class="tp-message hidden" id="tp-message"></p>
<div class="tp-detail hidden" id="tp-detail">
<div class="tp-detail-head">
<strong id="tp-name"></strong>
<span class="tp-head-tools">
<!-- Kopieren darf jeder, der die Taktik sieht -->
<button type="button" class="tp-icon" id="tp-copy" title="Ganze Taktik als eigene Kopie anlegen">⧉</button>
<span class="tp-edit-only">
<button type="button" class="tp-icon" id="tp-history" title="Verlauf: früheren Stand wiederherstellen">🕘</button>
<button type="button" class="tp-icon" id="tp-edit" title="Taktik umbenennen/beschreiben">✎</button>
<button type="button" class="tp-icon tp-danger" id="tp-delete" title="Taktik löschen">🗑</button>
</span>
</span>
</div>
<p class="tp-meta" id="tp-meta"></p>
<label class="tp-highlight hidden" id="tp-highlight">
Hervorhebung
<select id="tp-highlight-select">
<option value="none">keine</option>
<option value="recommended">👍 Empfohlen</option>
<option value="official">★ Offiziell</option>
</select>
</label>
<p class="tp-desc" id="tp-desc"></p>
<h4>Schritte</h4>
<ol class="tp-steps" id="tp-steps"></ol>
<div class="tp-step-actions tp-edit-only">
<button type="button" class="tp-btn" id="tp-step-add" title="Leeren Schritt am Ende anlegen">+ Schritt</button>
<button type="button" class="tp-btn" id="tp-step-copy" title="Neuen Schritt mit den Zeichnungen des aktuellen Schritts anlegen">+ Kopie dieses Schritts</button>
</div>
<label class="tp-check">
<input type="checkbox" id="tp-ghosts">
Vorherige Schritte blass zeigen
</label>
</div>
</div>
</aside>
<!-- Schritt-Leiste der gewaehlten Taktik -->
<div id="step-bar" class="panel hidden">
<button type="button" id="sb-prev" title="Vorheriger Schritt (←)">◀</button>
<div class="sb-text">
<div class="sb-title" id="sb-title"></div>
<div class="sb-desc" id="sb-desc"></div>
</div>
<button type="button" id="sb-next" title="Nächster Schritt (→)">▶</button>
</div>
<!-- Zoom level indicator -->
<footer id="zoom-indicator" class="panel">
Zoom: <span id="zoom-level">2</span>
</footer>
</div>
<!-- Tooltip for marker hover -->
<div id="tooltip" class="hidden">
<div class="name"></div>
<div class="category"></div>
</div>
<!-- Kartenauswahl mit Vorschaubildern (data/previews, nur die Karte ohne Markierungen) -->
<div id="map-picker" class="hidden" role="dialog" aria-modal="true" aria-labelledby="map-picker-title">
<div class="map-picker-panel panel">
<div class="map-picker-head">
<h2 id="map-picker-title">Karte wählen</h2>
<button type="button" id="map-picker-close" aria-label="Schließen">✕</button>
</div>
<div id="map-picker-list"></div>
</div>
</div>
<!-- Eingabedialog fuer Namen, Beschreibungen und Beschriftungen -->
<div id="tactic-dialog" class="hidden">
<form class="panel" id="td-form">
<h3 id="td-title"></h3>
<div id="td-fields"></div>
<div class="td-actions">
<button type="submit" id="td-submit">Speichern</button>
<button type="button" id="td-cancel">Abbrechen</button>
</div>
</form>
</div>
<div id="toast" class="hidden"></div>
</div>
<!-- Application scripts -->
<script src="js/config.js"></script>
<script src="js/models/MapData.js"></script>
<script src="js/services/TileService.js"></script>
<script src="js/services/MarkerService.js"></script>
<script src="js/views/MapView.js"></script>
<script src="js/controllers/MapController.js"></script>
<script src="js/services/TacticService.js"></script>
<script src="js/views/TacticLayer.js"></script>
<script src="js/controllers/TacticController.js"></script>
<script src="js/controllers/LocationController.js"></script>
<script src="app.js"></script>
</body>
</html>