akf-forum/views/login.ejs

24 lines
627 B
Text
Raw Normal View History

</html>
2022-03-13 16:16:46 +03:00
<!DOCTYPE html>
<html lang="en">
<%- include("extra/meta", {title: "Log in!" }) %>
2022-03-13 16:16:46 +03:00
<body style="text-align: center;">
<link rel="stylesheet" href="/css/login.css" />
<%- include("extra/navbar") %>
2022-03-13 16:16:46 +03:00
<h1 class="title">Login</h1>
2022-03-13 16:16:46 +03:00
2022-08-26 20:39:25 +03:00
<form action="/login?redirect=<%= redirect !== "/register" ? redirect : "/" %>" method="post">
<input type="text" name="username" placeholder="Username" class="input" required>
<input type="password" name="password" placeholder="Password" class="input" required>
<input type="submit" style="width:100%" class="btn-primary" value="Login">
</form>
2022-03-13 16:16:46 +03:00
2022-03-13 16:16:46 +03:00
</body>
</html>