akf-forum/views/login.ejs
2022-08-11 00:38:44 +03:00

26 lines
706 B
Text

<!DOCTYPE html>
<html lang="en">
<%- include("extra/header", {title: "Login page!" }) %>
<body>
<!-- Navbar: -->
<a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
<br>
<button class="buyuk" onclick="window.location.href = '/register'">REGISTER SECTION</button>
<hr>
<h1>Login</h1>
<hr>
<form action="/login?redirect=<%= redirect %>" method="post">
<input type="text" name="username" placeholder="Username" id="username" required>
<input type="password" name="password" placeholder="Password" id="password" required>
<input type="submit" value="Login">
</form>
<%- include("extra/footer") %>
</body>
</html>