27 lines
No EOL
1.1 KiB
Text
27 lines
No EOL
1.1 KiB
Text
<%- include("../base/header", { title: "Login", session }) %>
|
|
|
|
<div class="d-flex justify-content-center">
|
|
<div class="card my-auto" style="width: 25rem;">
|
|
<div class="card-body">
|
|
<h4 class="card-title text-center">EUS Login</h5>
|
|
<% if (typeof(message) === "string") { %>
|
|
<div class="alert alert-danger text-center" role="alert"><%= message %></div>
|
|
<% } %>
|
|
<form action="/account/login" method="POST">
|
|
<input type="hidden" name="returnTo" value="<%= typeof(returnTo) === "undefined" ? "" : returnTo %>" >
|
|
<input class="form-control mt-3 mb-2" name="username" placeholder="Username" value="<%= typeof(username) === "undefined" ? "" : username %>" required />
|
|
<input class="form-control mb-3" name="password" type="password" placeholder="Password" required />
|
|
<div class="row">
|
|
<div class="col d-flex justify-content-center">
|
|
<a class="align-self-center" href="/account/register">I don't have an account.</a>
|
|
</div>
|
|
<div class="col-auto me-3">
|
|
<input class="btn btn-primary mx-auto d-block" type="submit" value="Login" />
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<%- include("../base/footer") %> |