source: Klonkt/src/views/pages/auth-reset-request.ejs@ 01e3678

main
Last change on this file since 01e3678 was 4885eab, checked in by roboburr <roboburr@…>, 3 months ago

feat(i18n phase 6): remaining public + other pages translated (NL/EN/DE)

post-edit, account, newsletter, download, press kit /pers, fan-gate, link-in-bio,
my-site, password-reset (2), artists directory, auth-login Google error map,
user/hub-home/circle-feed+post/viewer-blocked/home/favourites/changelog/404/
type/tag/archive/prutter (inbox+conversation). embed-player skipped (no t
in that standalone route). 1026 view-keys cross-checked → 0 missing.

Co-Authored-By: Claude <noreply@…>

  • Property mode set to 100644
File size: 1.6 KB
Line 
1<div class="container auth-page">
2 <h1><%= t('arrq.title') %></h1>
3
4 <% if (sent) { %>
5 <div class="alert alert-success">
6 <%= t('arrq.sent') %>
7 </div>
8 <% if (devResetUrl) { %>
9 <div class="alert alert-info">
10 <%- t('arrq.no_mailserver') %>
11 <p style="margin: 0.5rem 0 0; word-break: break-all;">
12 <a href="<%= devResetUrl %>"><%= devResetUrl %></a>
13 </p>
14 </div>
15 <% } %>
16 <% if (typeof mailer !== 'undefined' && !mailer) { %>
17 <p class="auth-link-muted"><%- t('arrq.no_mail_cli') %></p>
18 <% } %>
19 <p class="auth-link"><a href="/auth/login"><%= t('arrq.back_login') %></a></p>
20 <% } else { %>
21 <p class="auth-tagline"><%= t('arrq.tagline') %></p>
22
23 <% if (error) { %><div class="alert alert-error"><%= error %></div><% } %>
24
25 <form method="post" action="/auth/reset-request" class="auth-form">
26 <label>
27 <span><%= t('arrq.email') %></span>
28 <input type="email" name="email" required autofocus autocomplete="email">
29 </label>
30 <button type="submit" class="btn btn-primary"><%= t('arrq.submit') %></button>
31 <p class="auth-link"><a href="/auth/login"><%= t('arrq.back_login') %></a></p>
32 </form>
33 <% } %>
34</div>
35
36<style>
37.auth-tagline { text-align: center; color: var(--ink-muted, var(--ink-soft)); margin-bottom: 1.5rem; }
38.alert-info { background: var(--paper-2); color: var(--ink); border: 1px solid var(--accent); border-radius: 5px; padding: 0.75rem 1rem; margin-bottom: 1rem; }
39.auth-link-muted { font-size: 0.85rem; color: var(--ink-muted, var(--ink-soft)); }
40</style>
Note: See TracBrowser for help on using the repository browser.