main
|
Last change
on this file since 7bc636b was 7bc636b, checked in by Robin <robin@…>, 4 months ago |
|
Initial commit — PrutFolio v1 source (pulled from Hetzner /srv/prutfolio)
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | <div class="container auth-page">
|
|---|
| 2 | <h1>Login</h1>
|
|---|
| 3 | <% if (typeof success !== 'undefined' && success) { %><div class="alert alert-success"><%= success %></div><% } %>
|
|---|
| 4 | <% if (error) { %><div class="alert alert-error"><%= error %></div><% } %>
|
|---|
| 5 | <form method="post" action="/auth/login" class="auth-form">
|
|---|
| 6 | <% if (typeof next !== 'undefined' && next) { %>
|
|---|
| 7 | <input type="hidden" name="next" value="<%= next %>">
|
|---|
| 8 | <% } %>
|
|---|
| 9 | <label>
|
|---|
| 10 | <span>Username or email</span>
|
|---|
| 11 | <input type="text" name="username" value="<%= username %>" required autofocus autocomplete="username">
|
|---|
| 12 | </label>
|
|---|
| 13 | <label>
|
|---|
| 14 | <span>Password</span>
|
|---|
| 15 | <input type="password" name="password" required autocomplete="current-password">
|
|---|
| 16 | </label>
|
|---|
| 17 | <button type="submit" class="btn btn-primary">Login</button>
|
|---|
| 18 | <p class="auth-link">No account?
|
|---|
| 19 | <a href="/auth/register<%= (typeof next !== 'undefined' && next) ? '?next=' + encodeURIComponent(next) : '' %>">Register</a>
|
|---|
| 20 | </p>
|
|---|
| 21 | <p class="auth-link auth-link-muted"><a href="/auth/reset-request">Forgot password?</a></p>
|
|---|
| 22 | </form>
|
|---|
| 23 | </div>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.