Added style to login.html, added place for username input

Created src/login.css
Modified src/login.html
Added username input
This commit is contained in:
ShakedAp
2023-06-25 11:39:16 +03:00
parent 5e750aedc9
commit 1e6a3f87c2
3 changed files with 106 additions and 7 deletions

View File

@@ -3,12 +3,20 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="login.css">
<title>Login Page</title>
</head>
<body>
<form action="/login" method="post">
<input name="password" type="password" id="password">
<button type="submit">Log In</button>
</form>
<div class="login-page">
<h1> Login To Watch-Together Server</h1>
<div class="form">
<form action="/login" method="post" class="login-form">
<input type="text" placeholder="username" name="username"/>
<input type="password" placeholder="password" name="password"/>
<button>login</button>
</form>
</div>
</div>
</body>
</html>