mirror of
https://github.com/DerTyp7/shop-ejs-expressjs.git
synced 2025-10-30 12:57:10 +01:00
Initial commit
This commit is contained in:
19
views/login.ejs
Normal file
19
views/login.ejs
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<%- include('partials/head'); %>
|
||||
<link rel="stylesheet" href="/auth.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Login</h1>
|
||||
|
||||
<form action="/auth/login" method="POST">
|
||||
<p style="text-align:center;"><%- error %></p>
|
||||
|
||||
<input required type="text" name="username" id="usernameInput" placeholder="Enter your username">
|
||||
<input required type="password" name="password" id="passwordInput" placeholder="Enter your password">
|
||||
|
||||
<input style="width: 40%;cursor:pointer;" type="submit" value="Login">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user