xziino d792d5b718 Initial commit: FFLogs mitigation analyzer
Two-tab app: report viewer + analysis tab with AoE timeline,
per-player mitigation icons (local XIVAPI PNGs), and fight-wide
buff/debuff window tracking.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 10:42:38 +02:00

34 lines
1.3 KiB
PHP

<div id="login-overlay">
<div class="login-card">
<div class="login-logo">REPORT VIEWER <span>Final Fantasy XIV</span></div>
<?php if ($errorText): ?>
<div class="error"><?= htmlspecialchars($errorText) ?></div>
<?php endif; ?>
<?php if ($tokenDebug): ?>
<div class="error" style="text-align:left">
<strong>Debug — FFLogs Token Response:</strong><br>
HTTP <?= (int)$tokenDebug['http_status'] ?><?= $tokenDebug['curl_error'] ? ' | curl: ' . htmlspecialchars($tokenDebug['curl_error']) : '' ?><br>
<pre style="margin-top:0.5rem;white-space:pre-wrap;font-size:0.8rem;"><?= htmlspecialchars($tokenDebug['response_body'] ?? '(empty)') ?></pre>
</div>
<?php endif; ?>
<p class="login-desc">
<?php if ($tokenExpired): ?>
Session abgelaufen — bitte erneut mit FFLogs verbinden.
<?php else: ?>
Verbinde deinen FFLogs-Account, um Report-Daten abzurufen und zu analysieren.
<?php endif; ?>
</p>
<a href="auth/start.php" class="btn btn-gold btn-login">
<?= $tokenExpired ? 'Reconnect to FFLogs' : 'Connect to FFLogs' ?>
</a>
<p class="login-hint">
Du wirst zu FFLogs weitergeleitet, um den Zugriff zu autorisieren.<br>
Deine Zugangsdaten werden niemals an diese App übermittelt.
</p>
</div>
</div>