summaryrefslogtreecommitdiff
path: root/internal/auth/login/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/auth/login/index.html')
-rw-r--r--internal/auth/login/index.html123
1 files changed, 123 insertions, 0 deletions
diff --git a/internal/auth/login/index.html b/internal/auth/login/index.html
new file mode 100644
index 0000000..a42aef7
--- /dev/null
+++ b/internal/auth/login/index.html
@@ -0,0 +1,123 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Login</title>
+ <link
+ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap"
+ rel="stylesheet"
+ />
+ <style>
+ body {
+ margin: 0;
+ font-family: "Inter", sans-serif;
+ background: linear-gradient(135deg, #667eea, #764ba2);
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 100vh;
+ }
+
+ .login-card {
+ background: #fff;
+ padding: 2rem;
+ border-radius: 16px;
+ box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
+ max-width: 400px;
+ width: 100%;
+ box-sizing: border-box;
+ animation: fadeIn 0.5s ease-in-out;
+ }
+
+ .login-card h2 {
+ margin-top: 0;
+ margin-bottom: 1.5rem;
+ font-size: 1.75rem;
+ color: #333;
+ text-align: center;
+ }
+
+ .form-group {
+ margin-bottom: 1rem;
+ }
+
+ label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: 600;
+ color: #555;
+ }
+
+ input[type="text"],
+ input[type="password"] {
+ width: 100%;
+ padding: 0.75rem;
+ border: 1px solid #ccc;
+ border-radius: 8px;
+ font-size: 1rem;
+ transition: border-color 0.2s;
+ }
+
+ input[type="text"]:focus,
+ input[type="password"]:focus {
+ border-color: #667eea;
+ outline: none;
+ }
+
+ button {
+ width: 100%;
+ padding: 0.75rem;
+ background-color: #667eea;
+ border: none;
+ border-radius: 8px;
+ color: white;
+ font-size: 1rem;
+ font-weight: 600;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+ }
+
+ button:hover {
+ background-color: #5a67d8;
+ }
+
+ .footer {
+ margin-top: 1rem;
+ text-align: center;
+ font-size: 0.9rem;
+ color: #888;
+ }
+
+ @keyframes fadeIn {
+ from {
+ opacity: 0;
+ transform: scale(0.95);
+ }
+ to {
+ opacity: 1;
+ transform: scale(1);
+ }
+ }
+ </style>
+ </head>
+ <body>
+ <div class="login-card">
+ <h2>Login</h2>
+ <form method="POST" action="/login">
+ <div class="form-group">
+ <label for="username">Username</label>
+ <input type="text" id="username" name="username" required />
+ </div>
+
+ <div class="form-group">
+ <label for="password">Password</label>
+ <input type="password" id="password" name="password" required />
+ </div>
+
+ <button type="submit">Sign In</button>
+ </form>
+ <div class="footer">&copy; Wacky404 Reverse Proxy Server</div>
+ </div>
+ </body>
+</html>