more admin stuff 2
This commit is contained in:
@ -23,12 +23,14 @@
|
||||
<div class="tabs" id="tabs">
|
||||
<button type="button" class="tab-btn active" data-tab="users">Benutzer</button>
|
||||
<button type="button" class="tab-btn" data-tab="groups">Benutzergruppen</button>
|
||||
<button type="button" class="tab-btn" data-tab="hosts">Hosts & Verbindungen</button>
|
||||
<button type="button" class="tab-btn" data-tab="hostgroups">Hostgruppen</button>
|
||||
<button type="button" class="tab-btn" data-tab="servers">Server</button>
|
||||
<button type="button" class="tab-btn" data-tab="credentials">Zugangsdaten</button>
|
||||
<button type="button" class="tab-btn" data-tab="roles">Rollen</button>
|
||||
<button type="button" class="tab-btn" data-tab="tokens">API-Tokens</button>
|
||||
<button type="button" class="tab-btn hidden" data-tab="tenants" id="tenants-tab-btn">Mandanten</button>
|
||||
<button type="button" class="tab-btn" data-tab="authlog">Login-Verlauf</button>
|
||||
<button type="button" class="tab-btn hidden" data-tab="sessions" id="sessions-tab-btn">Sessions</button>
|
||||
<button type="button" class="tab-btn hidden" data-tab="connlog" id="connlog-tab-btn">Verbindungslog</button>
|
||||
<button type="button" class="tab-btn" data-tab="audit">Audit-Log</button>
|
||||
</div>
|
||||
|
||||
@ -154,8 +156,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ================= Hosts & Verbindungen ================= -->
|
||||
<div class="tab-panel hidden" id="tab-hosts">
|
||||
<!-- ================= Hostgruppen ================= -->
|
||||
<div class="tab-panel hidden" id="tab-hostgroups">
|
||||
<div class="panel">
|
||||
<h2>Neue Hostgruppe anlegen</h2>
|
||||
<form id="hostgroup-create-form" class="form-grid">
|
||||
@ -196,7 +198,10 @@
|
||||
<button type="submit">Speichern</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ================= Server ================= -->
|
||||
<div class="tab-panel hidden" id="tab-servers">
|
||||
<div class="panel">
|
||||
<h2>Neue Verbindung (Host) anlegen</h2>
|
||||
<form id="host-create-form" class="form-grid">
|
||||
@ -593,20 +598,42 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ================= Login-Verlauf ================= -->
|
||||
<div class="tab-panel hidden" id="tab-authlog">
|
||||
<!-- ================= Sessions (nur Super-Admin) ================= -->
|
||||
<div class="tab-panel hidden" id="tab-sessions">
|
||||
<div class="panel">
|
||||
<h2>Login-Verlauf</h2>
|
||||
<p class="hint">Authentifizierungs-Ereignisse (Login/Logout/TOTP/Passwortwechsel), gefiltert aus dem Audit-Log dieses/dieser Mandanten.</p>
|
||||
<h2>Sitzungen</h2>
|
||||
<p class="hint">Aktive und historische SSH/RDP-Sitzungen. 'Beenden' trennt eine laufende Sitzung zwangsweise -- funktioniert nur, wenn die Sitzung auf demselben Server-Prozess laeuft, der diese Anfrage bearbeitet.</p>
|
||||
<div class="checkbox-row">
|
||||
<input type="checkbox" id="sessions-active-only" checked>
|
||||
<label for="sessions-active-only">Nur aktive Sitzungen</label>
|
||||
</div>
|
||||
<div id="session-recording-box" class="hidden"></div>
|
||||
<div class="table-wrap">
|
||||
<table class="data-table" id="authlog-table">
|
||||
<thead><tr><th>Zeit</th><th>Benutzer</th><th>IP</th><th>Ereignis</th><th>Status</th></tr></thead>
|
||||
<table class="data-table" id="sessions-table">
|
||||
<thead><tr><th>ID</th><th>Benutzer</th><th>Host</th><th>Protokoll</th><th>Start</th><th>Status</th><th>Client-IP</th><th></th></tr></thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ================= Verbindungslog (nur Super-Admin) ================= -->
|
||||
<div class="tab-panel hidden" id="tab-connlog">
|
||||
<div class="panel">
|
||||
<h2>Verbindungslog (Live)</h2>
|
||||
<p class="hint">Live-Mitschnitt der Anwendungslogs dieses Server-Prozesses, inkl. Debug-Details zu SSH/RDP-Verbindungsaufbau. Rein prozesslokal (kein Verlauf vor dem Oeffnen dieses Tabs) und nur fuer Super-Admins sichtbar.</p>
|
||||
<div class="form-grid">
|
||||
<div>
|
||||
<label for="connlog-filter">Filter (Client-seitig)</label>
|
||||
<input type="text" id="connlog-filter" placeholder="z.B. Hostname oder 'ERROR'">
|
||||
</div>
|
||||
<button type="button" class="btn-secondary" id="connlog-clear-btn">Leeren</button>
|
||||
</div>
|
||||
<p class="hint">Status: <span id="connlog-status">getrennt</span></p>
|
||||
<pre id="connlog-output" class="log-view"></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ================= Audit-Log ================= -->
|
||||
<div class="tab-panel hidden" id="tab-audit">
|
||||
<div class="panel">
|
||||
|
||||
Reference in New Issue
Block a user