ff14-mitigator/templates/tab-analysis.php
xziino 76c5d80cc2 Add cross-report comparison and fix delta/filter bugs
- Cross-report comparison: toggle panel to load fights from a second
  report code, select a fight to use as reference (mutually exclusive
  with same-report ref dropdown)
- Fix ref-row player filter: use hiddenPlayerNames (name-based) so
  ext-report targets with different actor IDs are correctly hidden
- Fix negative delta formatting: pass Math.abs(diff) to fmtDmg so
  negative values are abbreviated the same way as positive ones

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 16:18:43 +02:00

43 lines
1.5 KiB
PHP

<div id="analysis-loading" class="loading" style="display:none">
<div class="spinner"></div>
<span>Analysiere Fight-Daten...</span>
</div>
<div id="analysis-empty" class="empty">
<div class="empty-icon">📊</div>
<h3 id="analysis-empty-msg">Bitte zuerst einen Fight im Report-Tab auswählen</h3>
</div>
<div id="analysis-content" style="display:none">
<div class="card section-gap">
<div class="card-title-row">
<div class="card-title">Spieler</div>
<select id="ref-fight-select" class="filter-input" style="display:none">
<option value="">Kein Vergleich</option>
</select>
</div>
<div id="player-grid" class="player-grid"></div>
<div class="ref-ext-row">
<button id="ref-ext-toggle" class="btn btn-sm">+ Anderer Report</button>
<div id="ref-ext-panel" style="display:none">
<input type="text" id="ref-report-input" class="ref-report-input" placeholder="Report-Code">
<button id="ref-report-load" class="btn btn-sm">Laden</button>
<select id="ref-ext-fight-select" class="filter-input" style="display:none">
<option value=""> Fight auswählen </option>
</select>
</div>
</div>
</div>
<div class="card">
<div class="card-title-row">
<div class="card-title">AoE Timeline</div>
<select id="phase-select" class="filter-input" style="display:none"></select>
<input type="text" id="player-filter" class="filter-input" placeholder="Spieler filtern…">
</div>
<div id="aoe-timeline"></div>
</div>
</div>