Changes to login

This commit is contained in:
2025-11-17 12:59:25 +01:00
parent 67c0d0124b
commit 883439e66f

View File

@@ -1,31 +1,16 @@
<!DOCTYPE html> {% extends "base.html" %}
<html lang="en">
<head> {% block title %}Login - MultiChat Overlay{% endblock %}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> {% block content %}
<title>Login - MultiChat Overlay</title> <div class="login-container">
<link rel="stylesheet" href="/static/css/main.css"> <div class="login-box">
</head> <h1>MultiChat Overlay</h1>
<body> <p>Connect your streaming accounts to get started.</p>
<div class="login-container"> <a href="/login/twitch" class="btn-primary twitch-btn">
<div class="login-box"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style="margin-right: 10px;"><path d="M11.571 4.714h1.715v5.143H11.57zm4.715 0h1.714v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0H6zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714v9.429z"></path></svg>
<h1>Welcome Back</h1> Login with Twitch
<p>Please sign in to continue</p> </a>
<form action="/login" method="post">
<div class="input-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" required>
</div>
<div class="input-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
</div>
<button type="submit" class="btn-primary">Sign In</button>
</form>
<div class="login-footer">
<a href="#">Forgot Password?</a>
</div>
</div>
</div> </div>
</body> </div>
</html> {% endblock %}