124 lines
3.4 KiB
HTML
124 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>HTTPS Proxy - Login</title>
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: #1a1a2e;
|
|
color: #e0e0e0;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.login-card {
|
|
background: #16213e;
|
|
border-radius: 10px;
|
|
padding: 40px;
|
|
border: 1px solid #0f3460;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
.login-card h1 {
|
|
color: #00d4ff;
|
|
font-size: 1.5em;
|
|
margin-bottom: 8px;
|
|
text-align: center;
|
|
}
|
|
.login-card .subtitle {
|
|
color: #8899aa;
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
font-size: 0.9em;
|
|
}
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
.form-group label {
|
|
font-size: 0.85em;
|
|
color: #8899aa;
|
|
margin-bottom: 5px;
|
|
display: block;
|
|
}
|
|
input {
|
|
background: #1a1a2e;
|
|
border: 1px solid #0f3460;
|
|
color: #e0e0e0;
|
|
padding: 12px 14px;
|
|
border-radius: 6px;
|
|
font-size: 0.95em;
|
|
width: 100%;
|
|
}
|
|
input:focus {
|
|
outline: none;
|
|
border-color: #00d4ff;
|
|
}
|
|
.btn {
|
|
padding: 12px 20px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.95em;
|
|
font-weight: 600;
|
|
width: 100%;
|
|
background: #00d4ff;
|
|
color: #1a1a2e;
|
|
transition: all 0.2s;
|
|
}
|
|
.btn:hover { background: #00b8d4; }
|
|
.error {
|
|
background: rgba(231, 76, 60, 0.2);
|
|
border: 1px solid #e74c3c;
|
|
color: #e74c3c;
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
font-size: 0.9em;
|
|
}
|
|
.ca-link {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #0f3460;
|
|
}
|
|
.ca-link a {
|
|
color: #00d4ff;
|
|
text-decoration: none;
|
|
font-size: 0.85em;
|
|
}
|
|
.ca-link a:hover { text-decoration: underline; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="login-card">
|
|
<h1>HTTPS Reverse Proxy</h1>
|
|
<p class="subtitle">Anmeldung erforderlich</p>
|
|
|
|
{% if error %}
|
|
<div class="error">{{ error }}</div>
|
|
{% endif %}
|
|
|
|
<form method="POST">
|
|
<div class="form-group">
|
|
<label>Benutzername</label>
|
|
<input type="text" name="username" autofocus required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Passwort</label>
|
|
<input type="password" name="password" required>
|
|
</div>
|
|
<button type="submit" class="btn">Anmelden</button>
|
|
</form>
|
|
|
|
<div class="ca-link">
|
|
<a href="/ca.crt">CA-Zertifikat herunterladen</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|