This commit is contained in:
2026-08-20 09:39:20 +02:00
parent 13547fb083
commit 7108d446d8
8 changed files with 137 additions and 16 deletions

View File

@ -19,18 +19,18 @@
<input type="password" id="password" autocomplete="current-password" required>
</div>
<div id="totp-fields" style="display:none">
<div id="totp-fields" class="hidden">
<label for="totp-code">Code aus der Authenticator-App</label>
<input type="text" id="totp-code" inputmode="numeric" pattern="[0-9]*" autocomplete="one-time-code">
<p class="hint">Bei erstmaliger Anmeldung: Secret unten scannen, danach den 6-stelligen Code eingeben.</p>
</div>
<div id="enroll-box" style="display:none">
<div id="enroll-box" class="hidden">
<img id="qr-img" class="qr" alt="TOTP QR-Code" width="180" height="180">
<p class="hint">Mit einer Authenticator-App (z.B. Aegis, FreeOTP) scannen.</p>
</div>
<div id="recovery-box" style="display:none">
<div id="recovery-box" class="hidden">
<p class="hint">Recovery-Codes -- jetzt sicher speichern, werden nicht erneut angezeigt:</p>
<div id="recovery-codes" class="recovery-codes"></div>
</div>

View File

@ -7,7 +7,7 @@
<link rel="stylesheet" href="/static/css/app.css">
</head>
<body>
<div class="session-shell" id="session-shell">
<div class="session-shell" id="session-shell" data-host-id="{{ host_id }}">
<div class="session-toolbar">
<button id="fullscreen-btn">Vollbild</button>
<span class="spacer"></span>
@ -17,7 +17,6 @@
</div>
<script src="/static/js/vendor/guacamole-common.js"></script>
<script>window.JUMPHOST_HOST_ID = {{ host_id }};</script>
<script src="/static/js/rdp.js"></script>
</body>
</html>

View File

@ -8,11 +8,11 @@
<link rel="stylesheet" href="/static/js/vendor/xterm.css">
</head>
<body>
<div class="session-shell" id="session-shell">
<div class="session-shell" id="session-shell" data-host-id="{{ host_id }}">
<div class="session-toolbar">
<button id="fullscreen-btn">Vollbild</button>
<button id="upload-btn">Datei hochladen</button>
<input type="file" id="file-input" style="display:none">
<input type="file" id="file-input" class="hidden">
<span class="spacer"></span>
<span class="status" id="status">Verbinde ...</span>
</div>
@ -21,7 +21,6 @@
<script src="/static/js/vendor/xterm.js"></script>
<script src="/static/js/vendor/xterm-addon-fit.js"></script>
<script>window.JUMPHOST_HOST_ID = {{ host_id }};</script>
<script src="/static/js/terminal.js"></script>
</body>
</html>