source: Klonkt/src/views/pages/admin-help.ejs@ 2fbced5

main
Last change on this file since 2fbced5 was 2fbced5, checked in by Robin <roboburr@…>, 3 weeks ago

Help guide: how to reset a forgotten password

The break-glass path is scripts/reset-admin.mjs, but nothing in the app
said so — the only visible route was /auth/reset-request, which silently
does nothing when SMTP is not configured. Added an entry in NL, EN and DE
that leads with the command line and mentions the mail link as the
conditional one.

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

  • Property mode set to 100644
File size: 5.5 KB
Line 
1<div class="container admin-page hb">
2 <p><a href="/admin" class="btn">&larr; <%= t('ahelp.back') %></a></p>
3 <h1><%= t('ahelp.title') %></h1>
4 <p class="hb-intro"><%= t('ahelp.intro') %></p>
5
6 <div class="hb-search">
7 <input type="search" id="hb-q" placeholder="<%= t('ahelp.search_placeholder') %>" autocomplete="off" aria-label="<%= t('ahelp.search_aria') %>">
8 </div>
9 <p class="hb-count" id="hb-count" aria-live="polite"></p>
10
11 <div class="hb-list">
12
13 <section class="hb-item">
14 <h2>✍️ <%= t('ahelp.s_newpost_h') %></h2>
15 <p><%- t('ahelp.s_newpost_b') %></p>
16 </section>
17
18 <section class="hb-item">
19 <h2>📝 <%= t('ahelp.s_excerpt_h') %></h2>
20 <p><%- t('ahelp.s_excerpt_b') %></p>
21 </section>
22
23 <section class="hb-item">
24 <h2>📌 <%= t('ahelp.s_pin_h') %></h2>
25 <p><%- t('ahelp.s_pin_b') %></p>
26 </section>
27
28 <section class="hb-item">
29 <h2>🗓️ <%= t('ahelp.s_schedule_h') %> <small>(<%= t('ahelp.premium') %>)</small></h2>
30 <p><%- t('ahelp.s_schedule_b') %></p>
31 </section>
32
33 <section class="hb-item">
34 <h2>🖼️ <%= t('ahelp.s_images_h') %></h2>
35 <p><%- t('ahelp.s_images_b') %></p>
36 </section>
37
38 <section class="hb-item">
39 <h2>🎵 <%= t('ahelp.s_audio_h') %></h2>
40 <p><%- t('ahelp.s_audio_b') %></p>
41 </section>
42
43 <section class="hb-item">
44 <h2>© <%= t('ahelp.s_credit_h') %></h2>
45 <p><%- t('ahelp.s_credit_b') %></p>
46 </section>
47
48 <section class="hb-item">
49 <h2>⬇ <%= t('ahelp.s_downloads_h') %> <small>(<%= t('ahelp.premium') %>)</small></h2>
50 <p><%- t('ahelp.s_downloads_b') %></p>
51 </section>
52
53 <section class="hb-item">
54 <h2>📃 <%= t('ahelp.s_albums_h') %></h2>
55 <p><%- t('ahelp.s_albums_b') %></p>
56 </section>
57
58 <section class="hb-item">
59 <h2>📅 <%= t('ahelp.s_agenda_h') %> <small>(<%= t('ahelp.premium') %>)</small></h2>
60 <p><%- t('ahelp.s_agenda_b') %></p>
61 </section>
62
63 <section class="hb-item">
64 <h2>📰 <%= t('ahelp.s_presskit_h') %> <small>(<%= t('ahelp.premium') %>)</small></h2>
65 <p><%- t('ahelp.s_presskit_b') %></p>
66 </section>
67
68 <section class="hb-item">
69 <h2>🔗 <%= t('ahelp.s_circles_h') %></h2>
70 <p><%- t('ahelp.s_circles_b') %></p>
71 </section>
72
73 <section class="hb-item">
74 <h2>🌐 <%= t('ahelp.s_fedi_h') %></h2>
75 <p><%- t('ahelp.s_fedi_b') %></p>
76 </section>
77
78 <section class="hb-item">
79 <h2>📊 <%= t('ahelp.s_stats_h') %> <small>(<%= t('ahelp.premium') %>)</small></h2>
80 <p><%- t('ahelp.s_stats_b') %></p>
81 </section>
82
83 <section class="hb-item">
84 <h2>✉️ <%= t('ahelp.s_newsletter_h') %> <small>(<%= t('ahelp.premium') %>)</small></h2>
85 <p><%- t('ahelp.s_newsletter_b') %></p>
86 </section>
87
88 <section class="hb-item">
89 <h2>🔗 <%= t('ahelp.s_linkbio_h') %> <small>(<%= t('ahelp.premium') %>)</small></h2>
90 <p><%- t('ahelp.s_linkbio_b') %></p>
91 </section>
92
93 <section class="hb-item">
94 <h2>▶️ <%= t('ahelp.s_embed_h') %> <small>(<%= t('ahelp.premium') %>)</small></h2>
95 <p><%- t('ahelp.s_embed_b') %></p>
96 </section>
97
98 <section class="hb-item">
99 <h2>🎨 <%= t('ahelp.s_appearance_h') %></h2>
100 <p><%- t('ahelp.s_appearance_b') %></p>
101 </section>
102
103 <section class="hb-item">
104 <h2>👥 <%= t('ahelp.s_tenancy_h') %></h2>
105 <p><%- t('ahelp.s_tenancy_b') %></p>
106 </section>
107
108 <section class="hb-item">
109 <h2>⭐ <%= t('ahelp.s_premium_h') %></h2>
110 <p><%- t('ahelp.s_premium_b') %></p>
111 </section>
112
113
114 <section class="hb-item">
115 <h2>🔑 <%= t('ahelp.s_password_h') %></h2>
116 <p><%- t('ahelp.s_password_b') %></p>
117 </section>
118
119 <section class="hb-item">
120 <h2>🔄 <%= t('ahelp.s_updates_h') %></h2>
121 <p><%- t('ahelp.s_updates_b') %></p>
122 </section>
123
124 </div>
125
126 <p class="hb-empty" id="hb-empty" hidden><%= t('ahelp.empty') %></p>
127</div>
128
129<style>
130 .hb { max-width: 760px; }
131 .hb h1 { margin-bottom: .25rem; }
132 .hb-intro { color: var(--ink-muted, var(--ink-soft)); margin: 0 0 1rem; }
133 .hb-search input {
134 width: 100%; box-sizing: border-box;
135 padding: 0.7rem 0.9rem; font-size: 1rem;
136 border: 1px solid var(--rule); border-radius: 999px;
137 background: var(--paper); color: var(--ink);
138 -webkit-appearance: none; appearance: none;
139 }
140 .hb-search input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
141 .hb-count { color: var(--ink-muted, var(--ink-soft)); font-size: .82rem; margin: .5rem 0 1rem; min-height: 1em; }
142 .hb-list { display: flex; flex-direction: column; gap: .75rem; }
143 .hb-item { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 12px; padding: 1rem 1.1rem; }
144 .hb-item h2 { font-family: var(--font-display, serif); font-size: 1.15rem; margin: 0 0 .4rem; }
145 .hb-item h2 small { font-weight: 400; font-size: .72rem; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 999px; padding: .05rem .45rem; margin-left: .35rem; vertical-align: middle; }
146 .hb-item p { margin: 0; line-height: 1.55; color: var(--ink); }
147 .hb-item code { background: var(--paper); padding: .08rem .35rem; border-radius: 4px; font-size: .88em; }
148 .hb-item.hb-hidden { display: none; }
149 .hb-item mark { background: color-mix(in srgb, var(--accent) 35%, transparent); color: inherit; border-radius: 2px; }
150 .hb-empty { color: var(--ink-muted, var(--ink-soft)); padding: 1rem; text-align: center; }
151</style>
152<%# Het script van deze pagina staat in assets/js/mod/admin-help.js (shaer-bqr). %>
Note: See TracBrowser for help on using the repository browser.