2022-03-13 16:16:46 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
2022-08-26 19:39:25 +03:00
|
|
|
<%- include("extra/meta", {title: "Log in!" }) %>
|
2022-03-13 16:16:46 +03:00
|
|
|
|
2022-08-26 19:39:25 +03:00
|
|
|
<body style="text-align: center;">
|
2022-08-26 22:09:02 +03:00
|
|
|
<link rel="stylesheet" href="/css/login.css" />
|
|
|
|
|
2022-09-01 14:02:47 +03:00
|
|
|
<%- include("extra/navbar") %>
|
2022-09-17 21:36:33 +03:00
|
|
|
<% if(discord) { %>
|
2022-09-17 19:33:51 +03:00
|
|
|
<a href="<%=discord%>" class="btn-outline-primary">Login with discord</a>
|
2022-09-17 21:36:33 +03:00
|
|
|
<% } %>
|
2022-09-01 14:02:47 +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">
|
2022-09-01 14:02:47 +03:00
|
|
|
|
2022-09-23 23:10:13 +03:00
|
|
|
<input type="text" name="name" placeholder="Username" class="input" required>
|
2022-09-01 14:02:47 +03:00
|
|
|
<input type="password" name="password" placeholder="Password" class="input" required>
|
|
|
|
<input type="submit" style="width:100%" class="btn-primary" value="Login">
|
2022-08-26 19:39:25 +03:00
|
|
|
</form>
|
2022-03-13 16:16:46 +03:00
|
|
|
|
2022-09-17 00:51:52 +03:00
|
|
|
<%- include("extra/footer") %>
|
2022-09-01 14:02:47 +03:00
|
|
|
|
2022-03-13 16:16:46 +03:00
|
|
|
</body>
|
|
|
|
|
2022-09-01 14:02:47 +03:00
|
|
|
</html>
|