53 lines
7.2 KiB
HTML
53 lines
7.2 KiB
HTML
<!doctype html>
|
||
<html lang="de">
|
||
<head>
|
||
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<meta name="color-scheme" content="dark">
|
||
<title>OpenGenesisLINK | Simulator Control</title>
|
||
<link rel="stylesheet" href="/style.css">
|
||
<script src="/app.js" defer></script>
|
||
</head>
|
||
<body>
|
||
<div id="login-view" class="login-screen">
|
||
<div class="login-panel">
|
||
<div class="brand-mark">O<span>G</span>L</div>
|
||
<p class="eyebrow">OPENGENESISLINK GENERATION 1</p>
|
||
<h1>Simulator Control</h1>
|
||
<p class="muted">Melde dich mit deinem Avatar-Konto an. Zugelassen sind Konten mit UserLevel größer als 0.</p>
|
||
<form id="login-form">
|
||
<label>Avatar-Name<input id="username" autocomplete="username" required placeholder="Vorname Nachname"></label>
|
||
<label>Passwort<input id="password" type="password" autocomplete="current-password" required></label>
|
||
<button type="submit" class="primary">Sicher anmelden</button>
|
||
</form>
|
||
<small class="muted">Zugang über den lokalen Simulator. Für externe Nutzung ist ein HTTPS-Reverse-Proxy erforderlich.</small>
|
||
</div>
|
||
</div>
|
||
<div id="dashboard" hidden>
|
||
<aside>
|
||
<div class="side-brand"><div class="brand-mark small">O<span>G</span>L</div><div><strong>OpenGenesisLINK</strong><small>SIMULATOR CONTROL</small></div></div>
|
||
<div class="side-label">INSTANZ</div>
|
||
<nav><a href="#overview" data-view="overview" class="active">Übersicht</a><a href="#regions" data-view="regions">Regionen & Aktionen</a><a href="#archives" data-view="archives">OAR Sicherungen</a><a href="#network" data-view="network">Netzwerk & Ports</a><a href="#logs" data-view="logs">Live-Protokoll</a><a href="#updates" data-view="updates">Updates & GitHub</a></nav>
|
||
<div class="side-footer"><span class="live-dot"></span> Simulator-Verwaltung lokal <p>Verbindung zu einem laufenden Simulatorprozess</p></div>
|
||
</aside>
|
||
<main>
|
||
<header class="topbar"><div><span class="eyebrow">ADMINISTRATIONSZENTRALE</span><h2 id="page-title">Übersicht</h2></div><div class="top-right"><span id="identity" class="pill">Administrator</span><button id="refresh" class="ghost">Aktualisieren</button><button id="logout" class="ghost">Abmelden</button></div></header>
|
||
<section id="overview" class="view">
|
||
<div class="hero"><div><span class="eyebrow">SYSTEM CONTROL</span><h2>Deine virtuelle Infrastruktur.<br><em>Alles im Blick.</em></h2><p>Status, Regionen, Speicher und Dienste deiner Simulatorinstanz – zentral verwaltet.</p></div><div class="hero-ring"><span>OGL</span><small>GEN 1</small></div></div>
|
||
<div class="stats">
|
||
<article class="stat"><p>Geladene Regionen</p><strong id="num-regions">–</strong><small>in dieser Instanz</small></article>
|
||
<article class="stat"><p>Avatare online</p><strong id="num-avatars">–</strong><small>Root-Avatare</small></article>
|
||
<article class="stat"><p>Arbeitsspeicher</p><strong id="num-memory">–</strong><small>Simulator-Prozess</small></article>
|
||
<article class="stat"><p>Instanz-Uptime</p><strong id="num-uptime">–</strong><small>seit Webmodul-Start</small></article>
|
||
</div>
|
||
<section class="panel"><div class="section-head"><div><h3>ROBUST & Grid-Dienste</h3><p>TCP-Erreichbarkeit der konfigurierten Service-Endpunkte</p></div></div><div id="services-table" class="table-wrap"></div></section><section class="panel"><div class="section-head"><div><h3>Regionen im Überblick</h3><p>Bereitschaft, aktuelle Besucher und Portkonfiguration</p></div></div><div id="overview-regions" class="table-wrap"></div></section>
|
||
</section>
|
||
<section id="regions" class="view" hidden><div class="section-head"><div><h3>Regionen & Aktionen</h3><p>Neustart ausschließlich für lokal geladene Regionen</p></div></div><div id="region-actions" class="cards"></div></section>
|
||
<section id="archives" class="view" hidden><div class="section-head"><div><h3>OAR-Archive</h3><p>Lokaler Export, Download und Import mit Statusverfolgung. Ein Import verändert Regionsinhalt.</p></div></div><div class="panel"><label>Region auswählen<select id="archive-region"></select></label><div class="button-row"><button id="oar-export" class="primary">OAR-Sicherung erstellen</button><label for="oar-file" class="filelabel">OAR-Datei auswählen<input type="file" id="oar-file" accept=".oar,application/octet-stream" hidden></label><button id="oar-import" class="danger">Ausgewählte OAR importieren</button></div><div class="muted" id="selected-file"></div></div><section class="panel"><div class="section-head"><h3>Archivaufträge</h3><button class="ghost" id="jobs-refresh">Status abfragen</button></div><div id="job-table" class="table-wrap"></div></section></section>
|
||
<section id="network" class="view" hidden><div class="section-head"><div><h3>Netzwerkdiagnose</h3><p>TCP-/UDP-Listener auf dem Simulatorhost und die konfigurierte Region-Ports</p></div></div><div class="panel notice">Lokale Listener sind keine Bestätigung der externen Erreichbarkeit: Fritz!Box-Portfreigaben, CGNAT und Firewall-Regeln müssen zusätzlich von außerhalb getestet werden.</div><div id="ports-table" class="table-wrap panel"></div></section>
|
||
<section id="logs" class="view" hidden><div class="section-head"><div><h3>Simulator-Protokoll</h3><p>Letzte 90.000 Zeichen der aktiven Logdatei</p></div><button id="logs-refresh" class="ghost">Log aktualisieren</button></div><pre id="log-text" class="terminal">Lade Protokoll …</pre></section>
|
||
<section id="updates" class="view" hidden><div class="section-head"><div><h3>GitHub & Versionskontrolle</h3><p>Commit-Stand des offiziellen OpenGenesisLINK-Repositorys</p></div><button id="updates-refresh" class="ghost">GitHub prüfen</button></div><div class="panel"><p>Installierter Commit</p><strong id="local-sha" class="mono">–</strong><p>Aktueller Main-Commit</p><strong id="remote-sha" class="mono">–</strong><div id="version-note" class="muted"></div><div class="button-row"><button class="primary" id="update-stage">Quellcode herunterladen & Konfiguration sichern</button></div></div><section class="panel"><h3>Unabhängiger Live-Updater</h3><p id="update-live-status" class="muted">Status wird geprüft ...</p><div class="button-row"><button class="danger" id="update-live-start" hidden>Update installieren (manueller Neustart danach)</button></div></section><section class="panel"><h3>Letzte Änderungen</h3><div id="commits"></div></section><div class="panel notice">Die Download-Schaltfläche bereitet ein Update nur vor: GitHub-Quellcode herunterladen, lokale Konfiguration sicher sichern und alte Backups nach Retentionsregel entfernen. Ein produktives In-place-Update kann optional an den vorhandenen, unabhängig installierten und authentifizierten OGL-Node-Updater delegiert werden. Das erfordert zwei explizite Freigaben und wird vor Start bestätigt. Danach ist ein manueller Neustart erforderlich.</div></section>
|
||
</main>
|
||
</div>
|
||
<div id="modal" class="modal" hidden><div class="dialog" role="alertdialog" aria-modal="true" aria-labelledby="modal-title"><div class="modal-icon">!</div><h3 id="modal-title">Hinweis</h3><p id="modal-message"></p><div class="button-row"><button class="primary" id="modal-ok">Verstanden</button><button class="ghost" id="modal-cancel" hidden>Abbrechen</button></div></div></div>
|
||
</body></html>
|